JML

org.jmlspecs.samples.digraph
Class SearchableDigraph_JML_Test.TestRemoveArc

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.jmlspecs.samples.digraph.SearchableDigraph_JML_TestData
              extended byorg.jmlspecs.samples.digraph.SearchableDigraph_JML_Test
                  extended byorg.jmlspecs.samples.digraph.SearchableDigraph_JML_Test.OneTest
                      extended byorg.jmlspecs.samples.digraph.SearchableDigraph_JML_Test.TestRemoveArc
All Implemented Interfaces:
junit.framework.Test
Enclosing class:
SearchableDigraph_JML_Test

protected static class SearchableDigraph_JML_Test.TestRemoveArc
extends SearchableDigraph_JML_Test.OneTest

Test for the removeArc method.


Nested Class Summary
 
Nested classes inherited from class org.jmlspecs.samples.digraph.SearchableDigraph_JML_Test
SearchableDigraph_JML_Test.OneTest, SearchableDigraph_JML_Test.TestAddArc, SearchableDigraph_JML_Test.TestAddNode, SearchableDigraph_JML_Test.TestDFS, SearchableDigraph_JML_Test.TestDFSVisit, SearchableDigraph_JML_Test.TestIsAPath, SearchableDigraph_JML_Test.TestIsArc, SearchableDigraph_JML_Test.TestIsNode, SearchableDigraph_JML_Test.TestRemoveArc, SearchableDigraph_JML_Test.TestRemoveNode, SearchableDigraph_JML_Test.TestSearchableDigraph, SearchableDigraph_JML_Test.TestToString, SearchableDigraph_JML_Test.TestTranspose, SearchableDigraph_JML_Test.TestUnconnected
 
Field Summary
private  NodeType arg1
          Argument arg1
private  NodeType arg2
          Argument arg2
 
Fields inherited from class org.jmlspecs.samples.digraph.SearchableDigraph_JML_Test.OneTest
result
 
Fields inherited from class org.jmlspecs.samples.digraph.SearchableDigraph_JML_TestData
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
SearchableDigraph_JML_Test.TestRemoveArc(SearchableDigraph receiver$, NodeType arg1, NodeType arg2)
          Initialize this instance.
 
Method Summary
protected  void doCall()
           
protected  String failMessage(JMLAssertionError e$)
           
 
Methods inherited from class org.jmlspecs.samples.digraph.SearchableDigraph_JML_Test.OneTest
run, runTest
 
Methods inherited from class org.jmlspecs.samples.digraph.SearchableDigraph_JML_Test
addTestSuiteForEachMethod, charToString, main, suite
 
Methods inherited from class org.jmlspecs.samples.digraph.SearchableDigraph_JML_TestData
emptyTestSuiteFor, overallTestSuite, vorg_jmlspecs_samples_digraph_NodeTypeIter, vorg_jmlspecs_samples_digraph_SearchableDigraphIter, vorg_jmlspecs_samples_digraph_SearchableNodeIter
 
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 NodeType arg1
Argument arg1


arg2

private NodeType arg2
Argument arg2

Constructor Detail

SearchableDigraph_JML_Test.TestRemoveArc

public SearchableDigraph_JML_Test.TestRemoveArc(SearchableDigraph receiver$,
                                                NodeType arg1,
                                                NodeType arg2)
Initialize this instance.

Method Detail

doCall

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