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

Quick Search    Search Deep

com.phoenixst.plexus.examples
Class PathTest  view PathTest download PathTest.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.examples.PathTest
All Implemented Interfaces:
java.lang.Cloneable, junit.framework.Test

public class PathTest
extends com.phoenixst.plexus.GraphTest

A Path tester.

Since:
1.0
Version:
$Revision: 1.8 $

Nested Class Summary
 
Nested classes inherited from class com.phoenixst.plexus.GraphTest
com.phoenixst.plexus.GraphTest.BinaryClosure, com.phoenixst.plexus.GraphTest.OrderedPair
 
Field Summary
private  int n
           
private static org.apache.commons.collections.Predicate TEST_PREDICATE
           
 
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
PathTest(int n)
           
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
static junit.framework.Test suite()
           
private static junit.framework.Test suite(int n)
           
 
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

TEST_PREDICATE

private static org.apache.commons.collections.Predicate TEST_PREDICATE

n

private int n
Constructor Detail

PathTest

public PathTest(int n)
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

private static junit.framework.Test suite(int n)

suite

public static junit.framework.Test suite()

main

public static void main(java.lang.String[] args)