|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjunit.framework.TestSuite
org.jmlspecs.jmlunit.strategies.LimitedTestSuite
A kind of test suite that only allows the first n tests to be added, and ignores the rest.
TestSuite| Field Summary | |
protected int |
limit
|
| Fields inherited from class junit.framework.TestSuite |
|
| Constructor Summary | |
LimitedTestSuite(int n)
Initialize this LimitedTestSuite to have the given limit. |
|
LimitedTestSuite(String name,
int n)
Initialize this LimitedTestSuite to have the given limit. |
|
| Method Summary | |
void |
addTest(junit.framework.Test test)
Add a test to this test suite, or throw a TestSuiteFullException if this test suite is already full. |
| Methods inherited from class junit.framework.TestSuite |
addTestSuite, countTestCases, createTest, getName, getTestConstructor, run, runTest, setName, testAt, testCount, tests, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected int limit
| Constructor Detail |
public LimitedTestSuite(int n)
public LimitedTestSuite(String name,
int n)
| Method Detail |
public void addTest(junit.framework.Test test)
addTest in class junit.framework.TestSuite
|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||