Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.phoenixst.plexus
Class DefaultGraphTest  view DefaultGraphTest download DefaultGraphTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.phoenixst.junit.CloneableTestCase
              extended bycom.phoenixst.plexus.GraphTest
                  extended bycom.phoenixst.plexus.DefaultGraphTest
All Implemented Interfaces:
java.lang.Cloneable, junit.framework.Test

public class DefaultGraphTest
extends GraphTest

A DefaultGraph tester.

Since:
1.0
Version:
$Revision: 1.6 $

Nested Class Summary
 
Nested classes inherited from class com.phoenixst.plexus.GraphTest
GraphTest.BinaryClosure, GraphTest.OrderedPair
 
Field Summary
protected  Graph graph
           
protected  boolean isDirected
           
protected  boolean isSimple
           
 
Fields inherited from class com.phoenixst.plexus.GraphTest
g, nodes, notPresentEdges, notPresentNodes, presentEdges, presentNodes, realEdges, testEdges
 
Fields inherited from class com.phoenixst.junit.CloneableTestCase
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
DefaultGraphTest(Graph graph, boolean isDirected, boolean isSimple)
           
 
Method Summary
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
static junit.framework.Test suite(Graph graph)
           
static junit.framework.Test suite(Graph graph, boolean isDirected, boolean isSimple)
           
static junit.framework.Test suite(Graph graph, java.lang.String graphName)
           
static junit.framework.Test suite(Graph graph, java.lang.String graphName, boolean isDirected, boolean isSimple)
           
 
Methods inherited from class com.phoenixst.plexus.GraphTest
createEdgeArray, createEdgeArrays, createEdgeArrays, createPresentNodeRanges, createPresentNodeRanges, isSelfEdge, setUp, testContainsEdge, testContainsNode, testDegree, testEdge, testEdgeIterator, testEdgeIterator2, testEdgeSize, testGetEdge, testInDegree, testInTraverser, testIsEmpty, testIsSimple, testNodeIterator, testNodeSize, testNotPresentNodes, testNotPresentNodes, testOutDegree, testOutTraverser, testSerialization, testTraverser
 
Methods inherited from class com.phoenixst.junit.CloneableTestCase
clone, getInstanceSuite, getInstanceSuite, toString
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown
 
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
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

graph

protected Graph graph

isDirected

protected boolean isDirected

isSimple

protected boolean isSimple
Constructor Detail

DefaultGraphTest

public DefaultGraphTest(Graph graph,
                        boolean isDirected,
                        boolean isSimple)
Method Detail

setUp

protected void setUp()
Description copied from class: junit.framework.TestCase
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.


suite

public static junit.framework.Test suite(Graph graph,
                                         java.lang.String graphName,
                                         boolean isDirected,
                                         boolean isSimple)

suite

public static junit.framework.Test suite(Graph graph,
                                         boolean isDirected,
                                         boolean isSimple)

suite

public static junit.framework.Test suite(Graph graph,
                                         java.lang.String graphName)

suite

public static junit.framework.Test suite(Graph graph)