|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.jmlspecs.models.JMLFloat_JML_TestData
org.jmlspecs.models.JMLFloat_JML_Test
Automatically-generated test driver for JML and JUnit based testing of JMLFloat. The superclass of this class should be edited to supply test data. However it's best not to edit this class directly; instead use the command
jmlunit JMLFloat.javato regenerate this class whenever JMLFloat.java changes.
| Nested Class Summary | |
protected static class |
JMLFloat_JML_Test.OneTest
A JUnit test object that can run a single test method. |
protected static class |
JMLFloat_JML_Test.TestApproximatelyEqualTo
Test for the approximatelyEqualTo method. |
protected static class |
JMLFloat_JML_Test.TestClone
Test for the clone method. |
protected static class |
JMLFloat_JML_Test.TestCompareTo
Test for the compareTo method. |
protected static class |
JMLFloat_JML_Test.TestDividedBy
Test for the dividedBy method. |
protected static class |
JMLFloat_JML_Test.TestEquals
Test for the equals method. |
protected static class |
JMLFloat_JML_Test.TestFloatValue
Test for the floatValue method. |
protected static class |
JMLFloat_JML_Test.TestGetFloat
Test for the getFloat method. |
protected static class |
JMLFloat_JML_Test.TestGreaterThan
Test for the greaterThan method. |
protected static class |
JMLFloat_JML_Test.TestGreaterThanOrEqualTo
Test for the greaterThanOrEqualTo method. |
protected static class |
JMLFloat_JML_Test.TestHashCode
Test for the hashCode method. |
protected static class |
JMLFloat_JML_Test.TestIsInfinite
Test for the isInfinite method. |
protected static class |
JMLFloat_JML_Test.TestIsNaN
Test for the isNaN method. |
protected static class |
JMLFloat_JML_Test.TestIsZero
Test for the isZero method. |
protected static class |
JMLFloat_JML_Test.TestJMLFloat
Test for the JMLFloat contructor. |
protected static class |
JMLFloat_JML_Test.TestLessThan
Test for the lessThan method. |
protected static class |
JMLFloat_JML_Test.TestLessThanOrEqualTo
Test for the lessThanOrEqualTo method. |
protected static class |
JMLFloat_JML_Test.TestMinus
Test for the minus method. |
protected static class |
JMLFloat_JML_Test.TestNegated
Test for the negated method. |
protected static class |
JMLFloat_JML_Test.TestPlus
Test for the plus method. |
protected static class |
JMLFloat_JML_Test.TestRemainderBy
Test for the remainderBy method. |
protected static class |
JMLFloat_JML_Test.TestTimes
Test for the times method. |
protected static class |
JMLFloat_JML_Test.TestToString
Test for the toString method. |
protected static class |
JMLFloat_JML_Test.TestWithinEpsilonOf
Test for the withinEpsilonOf method. |
| Field Summary |
| Fields inherited from class org.jmlspecs.models.JMLFloat_JML_TestData |
|
| Fields inherited from class junit.framework.TestCase |
|
| Constructor Summary | |
JMLFloat_JML_Test(String name)
Initialize this class. |
|
| Method Summary | |
void |
addTestSuiteForEachMethod(junit.framework.TestSuite overallTestSuite$)
Create the tests that are to be run for testing the class JMLFloat. |
static String |
charToString(char c)
Converts a char to a printable String for display |
private void |
check_has_data(IndefiniteIterator iter,
String call)
Check that the iterator is non-null and not empty. |
static void |
main(String[] args)
Run the tests. |
static junit.framework.Test |
suite()
Return the test suite for this test class. |
| Methods inherited from class org.jmlspecs.models.JMLFloat_JML_TestData |
emptyTestSuiteFor, overallTestSuite, vfloatIter, vintIter, vjava_lang_FloatIter, vjava_lang_ObjectIter, vjava_lang_StringIter, vorg_jmlspecs_models_JMLFloatIter |
| 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 JMLFloat_JML_Test(String name)
| Method Detail |
public static void main(String[] args)
public static junit.framework.Test suite()
public void addTestSuiteForEachMethod(junit.framework.TestSuite overallTestSuite$)
overallTestSuite$ - The suite accumulating all of the tests
for this driver class.
private void check_has_data(IndefiniteIterator iter,
String call)
public static String charToString(char c)
|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||