JML

org.jmlspecs.models
Class JMLObjectToObjectRelation_JML_Test.TestRestrictRangeTo

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.jmlspecs.models.JMLObjectToObjectRelation_JML_TestData
              extended byorg.jmlspecs.models.JMLObjectToObjectRelation_JML_Test
                  extended byorg.jmlspecs.models.JMLObjectToObjectRelation_JML_Test.OneTest
                      extended byorg.jmlspecs.models.JMLObjectToObjectRelation_JML_Test.TestRestrictRangeTo
All Implemented Interfaces:
junit.framework.Test
Enclosing class:
JMLObjectToObjectRelation_JML_Test

protected static class JMLObjectToObjectRelation_JML_Test.TestRestrictRangeTo
extends JMLObjectToObjectRelation_JML_Test.OneTest

Test for the restrictRangeTo method.


Nested Class Summary
 
Nested classes inherited from class org.jmlspecs.models.JMLObjectToObjectRelation_JML_Test
JMLObjectToObjectRelation_JML_Test.OneTest, JMLObjectToObjectRelation_JML_Test.TestAdd, JMLObjectToObjectRelation_JML_Test.TestAssociations, JMLObjectToObjectRelation_JML_Test.TestClone, JMLObjectToObjectRelation_JML_Test.TestCompose, JMLObjectToObjectRelation_JML_Test.TestDifference, JMLObjectToObjectRelation_JML_Test.TestDomain, JMLObjectToObjectRelation_JML_Test.TestDomainElements, JMLObjectToObjectRelation_JML_Test.TestElementImage, JMLObjectToObjectRelation_JML_Test.TestElements, JMLObjectToObjectRelation_JML_Test.TestEquals, JMLObjectToObjectRelation_JML_Test.TestHas, JMLObjectToObjectRelation_JML_Test.TestHashCode, JMLObjectToObjectRelation_JML_Test.TestImage, JMLObjectToObjectRelation_JML_Test.TestImagePairs, JMLObjectToObjectRelation_JML_Test.TestImagePairSet, JMLObjectToObjectRelation_JML_Test.TestInsert, JMLObjectToObjectRelation_JML_Test.TestInt_size, JMLObjectToObjectRelation_JML_Test.TestIntersection, JMLObjectToObjectRelation_JML_Test.TestInverse, JMLObjectToObjectRelation_JML_Test.TestInverseElementImage, JMLObjectToObjectRelation_JML_Test.TestInverseImage, JMLObjectToObjectRelation_JML_Test.TestIsaFunction, JMLObjectToObjectRelation_JML_Test.TestIsDefinedAt, JMLObjectToObjectRelation_JML_Test.TestIsEmpty, JMLObjectToObjectRelation_JML_Test.TestIterator, JMLObjectToObjectRelation_JML_Test.TestJMLObjectToObjectRelation, JMLObjectToObjectRelation_JML_Test.TestRange, JMLObjectToObjectRelation_JML_Test.TestRangeElements, JMLObjectToObjectRelation_JML_Test.TestRemove, JMLObjectToObjectRelation_JML_Test.TestRemoveFromDomain, JMLObjectToObjectRelation_JML_Test.TestRestrictDomainTo, JMLObjectToObjectRelation_JML_Test.TestRestrictRangeTo, JMLObjectToObjectRelation_JML_Test.TestSingleton, JMLObjectToObjectRelation_JML_Test.TestToBag, JMLObjectToObjectRelation_JML_Test.TestToFunction, JMLObjectToObjectRelation_JML_Test.TestToSequence, JMLObjectToObjectRelation_JML_Test.TestToSet, JMLObjectToObjectRelation_JML_Test.TestToString, JMLObjectToObjectRelation_JML_Test.TestUnion
 
Field Summary
private  JMLObjectSet rng
          Argument rng
 
Fields inherited from class org.jmlspecs.models.JMLObjectToObjectRelation_JML_Test.OneTest
result
 
Fields inherited from class org.jmlspecs.models.JMLObjectToObjectRelation_JML_TestData
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
JMLObjectToObjectRelation_JML_Test.TestRestrictRangeTo(JMLObjectToObjectRelation receiver$, JMLObjectSet rng)
          Initialize this instance.
 
Method Summary
protected  void doCall()
           
protected  String failMessage(JMLAssertionError e$)
           
 
Methods inherited from class org.jmlspecs.models.JMLObjectToObjectRelation_JML_Test.OneTest
run, runTest
 
Methods inherited from class org.jmlspecs.models.JMLObjectToObjectRelation_JML_Test
addTestSuiteForEachMethod, charToString, main, suite
 
Methods inherited from class org.jmlspecs.models.JMLObjectToObjectRelation_JML_TestData
emptyTestSuiteFor, overallTestSuite, vjava_lang_ObjectIter, vorg_jmlspecs_models_JMLObjectObjectPairIter, vorg_jmlspecs_models_JMLObjectSetIter, vorg_jmlspecs_models_JMLObjectToObjectRelationIter, vorg_jmlspecs_models_JMLValueToObjectRelationIter
 
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

rng

private JMLObjectSet rng
Argument rng

Constructor Detail

JMLObjectToObjectRelation_JML_Test.TestRestrictRangeTo

public JMLObjectToObjectRelation_JML_Test.TestRestrictRangeTo(JMLObjectToObjectRelation receiver$,
                                                              JMLObjectSet rng)
Initialize this instance.

Method Detail

doCall

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