JML

org.jmlspecs.models
Class JMLListValueNode_JML_Test.TestCons

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.jmlspecs.models.JMLListValueNode_JML_TestData
              extended byorg.jmlspecs.models.JMLListValueNode_JML_Test
                  extended byorg.jmlspecs.models.JMLListValueNode_JML_Test.OneTest
                      extended byorg.jmlspecs.models.JMLListValueNode_JML_Test.TestCons
All Implemented Interfaces:
junit.framework.Test
Enclosing class:
JMLListValueNode_JML_Test

protected static class JMLListValueNode_JML_Test.TestCons
extends JMLListValueNode_JML_Test.OneTest

Test for the cons method.


Nested Class Summary
 
Nested classes inherited from class org.jmlspecs.models.JMLListValueNode_JML_Test
JMLListValueNode_JML_Test.OneTest, JMLListValueNode_JML_Test.TestAppend, JMLListValueNode_JML_Test.TestClone, JMLListValueNode_JML_Test.TestConcat, JMLListValueNode_JML_Test.TestCons, JMLListValueNode_JML_Test.TestEquals, JMLListValueNode_JML_Test.TestGetItem, JMLListValueNode_JML_Test.TestHas, JMLListValueNode_JML_Test.TestHashCode, JMLListValueNode_JML_Test.TestHead, JMLListValueNode_JML_Test.TestHeadEquals, JMLListValueNode_JML_Test.TestIndexOf, JMLListValueNode_JML_Test.TestInsertBefore, JMLListValueNode_JML_Test.TestInt_length, JMLListValueNode_JML_Test.TestInt_size, JMLListValueNode_JML_Test.TestIsPrefixOf, JMLListValueNode_JML_Test.TestItemAt, JMLListValueNode_JML_Test.TestJMLListValueNode, JMLListValueNode_JML_Test.TestLast, JMLListValueNode_JML_Test.TestPrefix, JMLListValueNode_JML_Test.TestPrepend, JMLListValueNode_JML_Test.TestRemove, JMLListValueNode_JML_Test.TestRemoveItemAt, JMLListValueNode_JML_Test.TestRemoveLast, JMLListValueNode_JML_Test.TestRemovePrefix, JMLListValueNode_JML_Test.TestReplaceItemAt, JMLListValueNode_JML_Test.TestReverse, JMLListValueNode_JML_Test.TestToString
 
Field Summary
private  JMLType hd
          Argument hd
private  JMLListValueNode tl
          Argument tl
 
Fields inherited from class org.jmlspecs.models.JMLListValueNode_JML_Test.OneTest
result
 
Fields inherited from class org.jmlspecs.models.JMLListValueNode_JML_TestData
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
JMLListValueNode_JML_Test.TestCons(JMLType hd, JMLListValueNode tl)
          Initialize this instance.
 
Method Summary
protected  void doCall()
           
protected  String failMessage(JMLAssertionError e$)
           
 
Methods inherited from class org.jmlspecs.models.JMLListValueNode_JML_Test.OneTest
run, runTest
 
Methods inherited from class org.jmlspecs.models.JMLListValueNode_JML_Test
addTestSuiteForEachMethod, charToString, main, suite
 
Methods inherited from class org.jmlspecs.models.JMLListValueNode_JML_TestData
emptyTestSuiteFor, overallTestSuite, vintIter, vjava_lang_ObjectIter, vorg_jmlspecs_models_JMLListValueNodeIter, vorg_jmlspecs_models_JMLTypeIter
 
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

hd

private JMLType hd
Argument hd


tl

private JMLListValueNode tl
Argument tl

Constructor Detail

JMLListValueNode_JML_Test.TestCons

public JMLListValueNode_JML_Test.TestCons(JMLType hd,
                                          JMLListValueNode tl)
Initialize this instance.

Method Detail

doCall

protected void doCall()
               throws Throwable
Description copied from class: JMLListValueNode_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: JMLListValueNode_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.