|
JML | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.jmlspecs.jmlunit.strategies.DoubleStrategyTypeTest
Hand-coded JUnit test for subtypes of DoubleStrategyType.
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 |
Fields inherited from class junit.framework.TestCase |
|
Constructor Summary | |
DoubleStrategyTypeTest(String name)
Initialize this class. |
Model Method Summary |
Model methods inherited from class java.lang.Object |
hashValue |
Method Summary | |
static void |
main(String[] args)
Run the tests. |
static junit.framework.Test |
suite()
Return the test suite for this test class. |
void |
testDoubleBigStrategyContents()
Test contents of DoubleBigStrategy. |
void |
testDoubleBigStrategySize()
Test DoubleBigStrategy's size |
void |
testDoubleStrategyContents()
Test contents of DoubleStrategy. |
void |
testDoubleStrategyFreshness()
Test freshness of these strategies. |
void |
testDoubleStrategySize()
Test DoubleStrategy's size |
void |
testEmptyComposite()
Test the empty CompositeStrategy's iterator |
void |
testLargerComposite()
Test a larger CompositeStrategy's iterator |
void |
testNonNegativeStrategyDecorator()
Test DoubleNonNegativeStrategyDecorator |
void |
testPairComposite()
Test a pair CompositeStrategy's iterator |
void |
testSingletonComposite()
Test a singleton CompositeStrategy's iterator |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DoubleStrategyTypeTest(String name)
Method Detail |
public static void main(String[] args)
public static junit.framework.Test suite()
public void testDoubleStrategySize()
public void testDoubleBigStrategySize()
public void testDoubleStrategyContents()
public void testDoubleBigStrategyContents()
public void testDoubleStrategyFreshness()
public void testEmptyComposite()
public void testSingletonComposite()
public void testPairComposite()
public void testLargerComposite()
public void testNonNegativeStrategyDecorator()
|
JML | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |