All Methods Static Methods Instance Methods Concrete Methods
| Modifier and Type |
Method and Description |
static <T extends TestClass> junit.framework.Test |
_suite(Class<T> clazz) |
protected void |
addMetadata(Collection<TestMetadata> metadata) |
void |
afterTestClass() |
void |
afterTestMethod(Throwable possibleException) |
static void |
assertArrayEquals(Object[] expected,
Object[] got) |
static void |
assertArrayEquals(Object[] expected,
Object[] got,
TestClass.EqualityTester tester)
Verifies that all elements in the first array are present in the second
array and match the elements in the first array.
|
static void |
assertArrayEquals(String message,
byte[] expected,
byte[] actual)
Compare two byte arrays, first the size then each byte.
|
static void |
assertArrayEquals(String message,
Object[] o1,
Object[] o2) |
static void |
assertCausesException(Runnable r,
Class<? extends Throwable> c) |
static void |
assertCollectionEquals(Collection o1,
Collection o2) |
static void |
assertCollectionEquals(Collection o1,
Collection o2,
Comparator c) |
static void |
assertIterableEquals(Iterable o1,
Iterable o2) |
static void |
assertIterableEquals(Iterable o1,
Iterable o2,
Comparator c) |
static void |
assertIterableEqualsIgnoreOrder(Iterable i1,
Iterable i2) |
static void |
assertListEquals(List o1,
List o2) |
static void |
assertListEquals(List o1,
List o2,
Comparator c) |
static void |
assertMatchRegex(String message,
String pattern,
String result) |
static void |
assertSetsEqual(Set o1,
Set o2) |
static void |
assertZero(int i) |
static void |
assertZero(long i) |
void |
beforeTestClass() |
void |
beforeTestMethod() |
Collection<TestMetadata> |
createClassMetadata() |
TestEnvironment |
createDefaultEnvironment() |
protected Collection<TestMetadata> |
createMetadata(Annotation[] annotations) |
protected Collection<TestMetadata> |
createMetadata(List<IAnnotationInfo> annotationInfos) |
Collection<TestMetadata> |
createMethodMetadata(String method) |
static TestClass |
createTestClass(IType testType) |
protected void |
doRunTest(String name) |
String |
getClassName() |
protected TestExecutionManager |
getExecutionManager() |
protected String |
getFullClassNameInternal() |
List<TestMetadata> |
getMetadata()
Returns any applicable metadata for the tests in this class.
|
String |
getName() |
static Integer |
getNumberOfInstancesOfTestClassCreated(String typeName) |
String |
getPackageName() |
int |
getTotalNumTestMethods() |
IType |
getType() |
String |
getTypeName() |
protected void |
initInternalData() |
void |
initMetadata(String method) |
boolean |
isGosuTest() |
protected boolean |
isMetaAnnotation(Annotation ai) |
protected boolean |
isMetaAnnotationInfo(IAnnotationInfo ai) |
void |
reallyRun(junit.framework.TestResult result) |
void |
reallyRunBare() |
void |
run(junit.framework.TestResult result) |
void |
runBare() |
protected void |
runTest() |
void |
setExecutionManager(TestExecutionManager executionManager) |
void |
setGosuTest(boolean gosuTest) |
void |
setName(String name) |
protected void |
setUp() |
protected void |
tearDown() |
String |
toString() |