|
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.samples.list.list1.DLList_JML_TestData
org.jmlspecs.samples.list.list1.DLList_JML_Test
Automatically-generated test driver for JML and JUnit based testing of DLList. 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 DLList.javato regenerate this class whenever DLList.java changes.
| Nested Class Summary | |
protected static class |
DLList_JML_Test.OneTest
A JUnit test object that can run a single test method. |
protected static class |
DLList_JML_Test.TestAppend
Test for the append method. |
protected static class |
DLList_JML_Test.TestClone
Test for the clone method. |
protected static class |
DLList_JML_Test.TestCreateIterator
Test for the createIterator method. |
protected static class |
DLList_JML_Test.TestDecrementCursor
Test for the decrementCursor method. |
protected static class |
DLList_JML_Test.TestDLList
Test for the DLList contructor. |
protected static class |
DLList_JML_Test.TestFirstEntry
Test for the firstEntry method. |
protected static class |
DLList_JML_Test.TestGetEntry
Test for the getEntry method. |
protected static class |
DLList_JML_Test.TestIncrementCursor
Test for the incrementCursor method. |
protected static class |
DLList_JML_Test.TestInsertAfterCursor
Test for the insertAfterCursor method. |
protected static class |
DLList_JML_Test.TestInsertBeforeCursor
Test for the insertBeforeCursor method. |
protected static class |
DLList_JML_Test.TestIsEmpty
Test for the isEmpty method. |
protected static class |
DLList_JML_Test.TestIsOffEnd
Test for the isOffEnd method. |
protected static class |
DLList_JML_Test.TestIsOffFront
Test for the isOffFront method. |
protected static class |
DLList_JML_Test.TestLastEntry
Test for the lastEntry method. |
protected static class |
DLList_JML_Test.TestLength
Test for the length method. |
protected static class |
DLList_JML_Test.TestRemoveAllEntries
Test for the removeAllEntries method. |
protected static class |
DLList_JML_Test.TestRemoveEntry
Test for the removeEntry method. |
protected static class |
DLList_JML_Test.TestReplaceEntry
Test for the replaceEntry method. |
protected static class |
DLList_JML_Test.TestToString
Test for the toString method. |
| Field Summary |
| Fields inherited from class org.jmlspecs.samples.list.list1.DLList_JML_TestData |
first, fourth, second, third |
| Fields inherited from class junit.framework.TestCase |
|
| Constructor Summary | |
DLList_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 DLList. |
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.samples.list.list1.DLList_JML_TestData |
emptyTestSuiteFor, overallTestSuite, vjava_lang_ObjectIter, vorg_jmlspecs_samples_list_list1_DLListIter |
| 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 DLList_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 | ||||||||||