JML

org.jmlspecs.samples.list.list1
Class DLList_JML_Test.TestAppend

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.jmlspecs.samples.list.list1.DLList_JML_TestData
              extended byorg.jmlspecs.samples.list.list1.DLList_JML_Test
                  extended byorg.jmlspecs.samples.list.list1.DLList_JML_Test.OneTest
                      extended byorg.jmlspecs.samples.list.list1.DLList_JML_Test.TestAppend
All Implemented Interfaces:
junit.framework.Test
Enclosing class:
DLList_JML_Test

protected static class DLList_JML_Test.TestAppend
extends DLList_JML_Test.OneTest

Test for the append method.


Nested Class Summary
 
Nested classes inherited from class org.jmlspecs.samples.list.list1.DLList_JML_Test
DLList_JML_Test.OneTest, DLList_JML_Test.TestAppend, DLList_JML_Test.TestClone, DLList_JML_Test.TestCreateIterator, DLList_JML_Test.TestDecrementCursor, DLList_JML_Test.TestDLList, DLList_JML_Test.TestFirstEntry, DLList_JML_Test.TestGetEntry, DLList_JML_Test.TestIncrementCursor, DLList_JML_Test.TestInsertAfterCursor, DLList_JML_Test.TestInsertBeforeCursor, DLList_JML_Test.TestIsEmpty, DLList_JML_Test.TestIsOffEnd, DLList_JML_Test.TestIsOffFront, DLList_JML_Test.TestLastEntry, DLList_JML_Test.TestLength, DLList_JML_Test.TestRemoveAllEntries, DLList_JML_Test.TestRemoveEntry, DLList_JML_Test.TestReplaceEntry, DLList_JML_Test.TestToString
 
Field Summary
private  Object arg1
          Argument arg1
 
Fields inherited from class org.jmlspecs.samples.list.list1.DLList_JML_Test.OneTest
result
 
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.TestAppend(DLList receiver$, Object arg1)
          Initialize this instance.
 
Method Summary
protected  void doCall()
           
protected  String failMessage(JMLAssertionError e$)
           
 
Methods inherited from class org.jmlspecs.samples.list.list1.DLList_JML_Test.OneTest
run, runTest
 
Methods inherited from class org.jmlspecs.samples.list.list1.DLList_JML_Test
addTestSuiteForEachMethod, charToString, main, suite
 
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, runBare, 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
 

Field Detail

arg1

private Object arg1
Argument arg1

Constructor Detail

DLList_JML_Test.TestAppend

public DLList_JML_Test.TestAppend(DLList receiver$,
                                  Object arg1)
Initialize this instance.

Method Detail

doCall

protected void doCall()
               throws Throwable
Description copied from class: DLList_JML_Test.OneTest
Call the method to be tested with the appropriate arguments.

Throws:
Throwable

failMessage

protected String failMessage(JMLAssertionError e$)
Description copied from class: DLList_JML_Test.OneTest
Format the error message for a test failure, based on the method's arguments.


JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.