JML

org.jmlspecs.models
Class JMLValueToValueMap_JML_Test.TestIntersection

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.jmlspecs.models.JMLValueToValueMap_JML_TestData
              extended byorg.jmlspecs.models.JMLValueToValueMap_JML_Test
                  extended byorg.jmlspecs.models.JMLValueToValueMap_JML_Test.OneTest
                      extended byorg.jmlspecs.models.JMLValueToValueMap_JML_Test.TestIntersection
All Implemented Interfaces:
junit.framework.Test
Enclosing class:
JMLValueToValueMap_JML_Test

protected static class JMLValueToValueMap_JML_Test.TestIntersection
extends JMLValueToValueMap_JML_Test.OneTest

Test for the intersection method.


Nested Class Summary
 
Nested classes inherited from class org.jmlspecs.models.JMLValueToValueMap_JML_Test
JMLValueToValueMap_JML_Test.OneTest, JMLValueToValueMap_JML_Test.TestAdd, JMLValueToValueMap_JML_Test.TestApply, JMLValueToValueMap_JML_Test.TestAssociations, JMLValueToValueMap_JML_Test.TestClashReplaceUnion, JMLValueToValueMap_JML_Test.TestClone, JMLValueToValueMap_JML_Test.TestCompose, JMLValueToValueMap_JML_Test.TestDifference, JMLValueToValueMap_JML_Test.TestDisjointUnion, JMLValueToValueMap_JML_Test.TestDomain, JMLValueToValueMap_JML_Test.TestDomainElements, JMLValueToValueMap_JML_Test.TestElementImage, JMLValueToValueMap_JML_Test.TestElements, JMLValueToValueMap_JML_Test.TestEquals, JMLValueToValueMap_JML_Test.TestExtend, JMLValueToValueMap_JML_Test.TestExtendUnion, JMLValueToValueMap_JML_Test.TestHas, JMLValueToValueMap_JML_Test.TestHashCode, JMLValueToValueMap_JML_Test.TestImage, JMLValueToValueMap_JML_Test.TestImagePairs, JMLValueToValueMap_JML_Test.TestImagePairSet, JMLValueToValueMap_JML_Test.TestInsert, JMLValueToValueMap_JML_Test.TestInt_size, JMLValueToValueMap_JML_Test.TestIntersection, JMLValueToValueMap_JML_Test.TestInverse, JMLValueToValueMap_JML_Test.TestInverseElementImage, JMLValueToValueMap_JML_Test.TestInverseImage, JMLValueToValueMap_JML_Test.TestIsaFunction, JMLValueToValueMap_JML_Test.TestIsDefinedAt, JMLValueToValueMap_JML_Test.TestIsEmpty, JMLValueToValueMap_JML_Test.TestIterator, JMLValueToValueMap_JML_Test.TestJMLValueToValueMap, JMLValueToValueMap_JML_Test.TestRange, JMLValueToValueMap_JML_Test.TestRangeElements, JMLValueToValueMap_JML_Test.TestRangeRestrictedTo, JMLValueToValueMap_JML_Test.TestRemove, JMLValueToValueMap_JML_Test.TestRemoveDomainElement, JMLValueToValueMap_JML_Test.TestRemoveFromDomain, JMLValueToValueMap_JML_Test.TestRestrictDomainTo, JMLValueToValueMap_JML_Test.TestRestrictedTo, JMLValueToValueMap_JML_Test.TestRestrictRangeTo, JMLValueToValueMap_JML_Test.TestSingletonMap, JMLValueToValueMap_JML_Test.TestToBag, JMLValueToValueMap_JML_Test.TestToFunction, JMLValueToValueMap_JML_Test.TestToSequence, JMLValueToValueMap_JML_Test.TestToSet, JMLValueToValueMap_JML_Test.TestToString, JMLValueToValueMap_JML_Test.TestUnion
 
Field Summary
private  JMLValueToValueRelation arg1
          Argument arg1
 
Fields inherited from class org.jmlspecs.models.JMLValueToValueMap_JML_Test.OneTest
result
 
Fields inherited from class org.jmlspecs.models.JMLValueToValueMap_JML_TestData
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
JMLValueToValueMap_JML_Test.TestIntersection(JMLValueToValueMap receiver$, JMLValueToValueRelation arg1)
          Initialize this instance.
 
Method Summary
protected  void doCall()
           
protected  String failMessage(JMLAssertionError e$)
           
 
Methods inherited from class org.jmlspecs.models.JMLValueToValueMap_JML_Test.OneTest
run, runTest
 
Methods inherited from class org.jmlspecs.models.JMLValueToValueMap_JML_Test
addTestSuiteForEachMethod, charToString, main, suite
 
Methods inherited from class org.jmlspecs.models.JMLValueToValueMap_JML_TestData
emptyTestSuiteFor, overallTestSuite, vjava_lang_ObjectIter, vorg_jmlspecs_models_JMLObjectToValueMapIter, vorg_jmlspecs_models_JMLObjectToValueRelationIter, vorg_jmlspecs_models_JMLTypeIter, vorg_jmlspecs_models_JMLValueSetIter, vorg_jmlspecs_models_JMLValueToValueMapIter, vorg_jmlspecs_models_JMLValueToValueRelationIter, vorg_jmlspecs_models_JMLValueValuePairIter
 
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 JMLValueToValueRelation arg1
Argument arg1

Constructor Detail

JMLValueToValueMap_JML_Test.TestIntersection

public JMLValueToValueMap_JML_Test.TestIntersection(JMLValueToValueMap receiver$,
                                                    JMLValueToValueRelation arg1)
Initialize this instance.

Method Detail

doCall

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