public static class BevoTest.Test extends java.lang.Object implements java.lang.Iterable<BevoTest.TestCase<?,?>>
Test is a named collection of test procedures. A
Test may be run, given a log to record test results into.| Constructor and Description |
|---|
Test(java.lang.String testName)
Constructs a new Test, i.e., a collection of test procedures.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getTestName() |
java.util.Iterator<BevoTest.TestCase<?,?>> |
iterator() |
void |
run(BevoTest.TestLog log)
Execute this test's test procedures.
|
int |
size() |
java.lang.String |
toString() |
public Test(java.lang.String testName)
testName - the name of the test, such as "Acme project 123
qualification test"public java.lang.String getTestName()
public int size()
public java.util.Iterator<BevoTest.TestCase<?,?>> iterator()
iterator in interface java.lang.Iterable<BevoTest.TestCase<?,?>>Iterator over this test's test casespublic void run(BevoTest.TestLog log) throws java.lang.InterruptedException
log - the TestLog in which the test results will
be recordedjava.lang.InterruptedException - if the test framework thread is
interrupted. The interrupted
status of the current thread is
cleared when this exception is
thrown.public java.lang.String toString()
toString in class java.lang.Object