com.sun.maven.junit
Class Result.Failure
java.lang.Object
com.sun.maven.junit.Result.Failure
- All Implemented Interfaces:
- Serializable, junit.framework.Test
- Enclosing class:
- Result
public static class Result.Failure
- extends Object
- implements Serializable, junit.framework.Test
Represents an error or a failure.
This implements Test for masquarading as a test to TestResult.
- See Also:
- Serialized Form
name
public final String name
cause
public final Throwable cause
Result.Failure
public Result.Failure(String name,
Throwable cause)
Result.Failure
public Result.Failure(junit.framework.TestFailure f)
countTestCases
public int countTestCases()
- Specified by:
countTestCases in interface junit.framework.Test
run
public void run(junit.framework.TestResult result)
- Specified by:
run in interface junit.framework.Test
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2011. All Rights Reserved.