|
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| Class Specifications |
| Specifications inherited from class Object |
|
represents objectState <- org.jmlspecs.lang.JMLDataGroup.IT; public represents _getClass <- \typeof(this); |
| Model Field Summary |
| Model fields inherited from class java.lang.Object |
_getClass, objectState, theString |
| Ghost Field Summary |
| Ghost fields inherited from class java.lang.Object |
objectTimesFinalized, owner |
| Field Summary | |
[spec_public] 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. |
|
| Model Method Summary |
| Model methods inherited from class java.lang.Object |
hashValue |
| 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 | ||||||||||