|
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.resolve.StringOfObject_JML_TestData
org.jmlspecs.models.resolve.StringOfObject_JML_Test
Automatically-generated test driver for JML and JUnit based testing of StringOfObject. 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 StringOfObject.javato regenerate this class whenever StringOfObject.java changes.
| Nested Class Summary | |
protected static class |
StringOfObject_JML_Test.OneTest
A JUnit test object that can run a single test method. |
protected static class |
StringOfObject_JML_Test.TestAdd
Test for the add method. |
protected static class |
StringOfObject_JML_Test.TestAddAfterIndex
Test for the addAfterIndex method. |
protected static class |
StringOfObject_JML_Test.TestAddAll
Test for the addAll method. |
protected static class |
StringOfObject_JML_Test.TestAddBeforeIndex
Test for the addBeforeIndex method. |
protected static class |
StringOfObject_JML_Test.TestAddFront
Test for the addFront method. |
protected static class |
StringOfObject_JML_Test.TestClone
Test for the clone method. |
protected static class |
StringOfObject_JML_Test.TestComposedWith
Test for the composedWith method. |
protected static class |
StringOfObject_JML_Test.TestConcat
Test for the concat method. |
protected static class |
StringOfObject_JML_Test.TestElements
Test for the elements method. |
protected static class |
StringOfObject_JML_Test.TestEquals
Test for the equals method. |
protected static class |
StringOfObject_JML_Test.TestExt
Test for the ext method. |
protected static class |
StringOfObject_JML_Test.TestFrom
Test for the from method. |
protected static class |
StringOfObject_JML_Test.TestGet
Test for the get method. |
protected static class |
StringOfObject_JML_Test.TestHas
Test for the has method. |
protected static class |
StringOfObject_JML_Test.TestHashCode
Test for the hashCode method. |
protected static class |
StringOfObject_JML_Test.TestInt_size
Test for the int_size method. |
protected static class |
StringOfObject_JML_Test.TestIsEmpty
Test for the isEmpty method. |
protected static class |
StringOfObject_JML_Test.TestIsPrefix
Test for the isPrefix method. |
protected static class |
StringOfObject_JML_Test.TestIsProperPrefix
Test for the isProperPrefix method. |
protected static class |
StringOfObject_JML_Test.TestIsProperSuffix
Test for the isProperSuffix method. |
protected static class |
StringOfObject_JML_Test.TestIsSuffix
Test for the isSuffix method. |
protected static class |
StringOfObject_JML_Test.TestIterator
Test for the iterator method. |
protected static class |
StringOfObject_JML_Test.TestLength
Test for the length method. |
protected static class |
StringOfObject_JML_Test.TestOccurs_ct
Test for the occurs_ct method. |
protected static class |
StringOfObject_JML_Test.TestPow
Test for the pow method. |
protected static class |
StringOfObject_JML_Test.TestProduct
Test for the product method. |
protected static class |
StringOfObject_JML_Test.TestProductFrom
Test for the productFrom method. |
protected static class |
StringOfObject_JML_Test.TestProductFromTo
Test for the productFromTo method. |
protected static class |
StringOfObject_JML_Test.TestRev
Test for the rev method. |
protected static class |
StringOfObject_JML_Test.TestReverse
Test for the reverse method. |
protected static class |
StringOfObject_JML_Test.TestSingleton
Test for the singleton method. |
protected static class |
StringOfObject_JML_Test.TestStringOfObject
Test for the StringOfObject contructor. |
protected static class |
StringOfObject_JML_Test.TestToString
Test for the toString method. |
| Field Summary |
| Fields inherited from class org.jmlspecs.models.resolve.StringOfObject_JML_TestData |
|
| Fields inherited from class junit.framework.TestCase |
|
| Constructor Summary | |
StringOfObject_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 StringOfObject. |
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.resolve.StringOfObject_JML_TestData |
emptyTestSuiteFor, overallTestSuite, vintIter, vjava_lang_ObjectIter, vjava_util_CollectionIter, vorg_jmlspecs_models_resolve_StringOfObjectIter |
| 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 StringOfObject_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 | ||||||||||