JML

org.jmlspecs.models.resolve
Class StringOfObject_JML_Test.TestLength

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.jmlspecs.models.resolve.StringOfObject_JML_TestData
              extended byorg.jmlspecs.models.resolve.StringOfObject_JML_Test
                  extended byorg.jmlspecs.models.resolve.StringOfObject_JML_Test.OneTest
                      extended byorg.jmlspecs.models.resolve.StringOfObject_JML_Test.TestLength
All Implemented Interfaces:
junit.framework.Test
Enclosing class:
StringOfObject_JML_Test

protected static class StringOfObject_JML_Test.TestLength
extends StringOfObject_JML_Test.OneTest

Test for the length method.


Nested Class Summary
 
Nested classes inherited from class org.jmlspecs.models.resolve.StringOfObject_JML_Test
StringOfObject_JML_Test.OneTest, StringOfObject_JML_Test.TestAdd, StringOfObject_JML_Test.TestAddAfterIndex, StringOfObject_JML_Test.TestAddAll, StringOfObject_JML_Test.TestAddBeforeIndex, StringOfObject_JML_Test.TestAddFront, StringOfObject_JML_Test.TestClone, StringOfObject_JML_Test.TestComposedWith, StringOfObject_JML_Test.TestConcat, StringOfObject_JML_Test.TestElements, StringOfObject_JML_Test.TestEquals, StringOfObject_JML_Test.TestExt, StringOfObject_JML_Test.TestFrom, StringOfObject_JML_Test.TestGet, StringOfObject_JML_Test.TestHas, StringOfObject_JML_Test.TestHashCode, StringOfObject_JML_Test.TestInt_size, StringOfObject_JML_Test.TestIsEmpty, StringOfObject_JML_Test.TestIsPrefix, StringOfObject_JML_Test.TestIsProperPrefix, StringOfObject_JML_Test.TestIsProperSuffix, StringOfObject_JML_Test.TestIsSuffix, StringOfObject_JML_Test.TestIterator, StringOfObject_JML_Test.TestLength, StringOfObject_JML_Test.TestOccurs_ct, StringOfObject_JML_Test.TestPow, StringOfObject_JML_Test.TestProduct, StringOfObject_JML_Test.TestProductFrom, StringOfObject_JML_Test.TestProductFromTo, StringOfObject_JML_Test.TestRev, StringOfObject_JML_Test.TestReverse, StringOfObject_JML_Test.TestSingleton, StringOfObject_JML_Test.TestStringOfObject, StringOfObject_JML_Test.TestToString
 
Field Summary
 
Fields inherited from class org.jmlspecs.models.resolve.StringOfObject_JML_Test.OneTest
result
 
Fields inherited from class org.jmlspecs.models.resolve.StringOfObject_JML_TestData
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
StringOfObject_JML_Test.TestLength(StringOfObject receiver$)
          Initialize this instance.
 
Method Summary
protected  void doCall()
           
protected  String failMessage(JMLAssertionError e$)
           
 
Methods inherited from class org.jmlspecs.models.resolve.StringOfObject_JML_Test.OneTest
run, runTest
 
Methods inherited from class org.jmlspecs.models.resolve.StringOfObject_JML_Test
addTestSuiteForEachMethod, charToString, main, suite
 
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, 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
 

Constructor Detail

StringOfObject_JML_Test.TestLength

public StringOfObject_JML_Test.TestLength(StringOfObject receiver$)
Initialize this instance.

Method Detail

doCall

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