test.edu.uci.ics.jung.graph.impl
Class VertexTypeTest2

java.lang.Object
  extended by TestCase
      extended by test.edu.uci.ics.jung.graph.impl.VertexTypeTest2

public class VertexTypeTest2
extends TestCase

Author:
Danyel Fisher & Joshua O'Madadhain

Field Summary
protected  boolean[] params
           
protected  boolean supportsDirected
           
 
Constructor Summary
VertexTypeTest2(Class graphCtor, Class vertexCtor, boolean supportsDirected, boolean supportsUndirected, boolean supportsParallel, boolean gSupportsParallel)
           
 
Method Summary
protected  Vertex getVertexInstance()
           
protected  Class getVertexType()
           
 void runTest()
           
 void setUp()
           
static Test suite()
           
 void testAddVertexAndEdge()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

params

protected boolean[] params

supportsDirected

protected boolean supportsDirected
Constructor Detail

VertexTypeTest2

public VertexTypeTest2(Class graphCtor,
                       Class vertexCtor,
                       boolean supportsDirected,
                       boolean supportsUndirected,
                       boolean supportsParallel,
                       boolean gSupportsParallel)
Method Detail

suite

public static Test suite()

setUp

public void setUp()
           throws Exception
Throws:
Exception

runTest

public void runTest()
             throws Exception
Throws:
Exception

testAddVertexAndEdge

public void testAddVertexAndEdge()
                          throws InstantiationException,
                                 IllegalAccessException
Throws:
InstantiationException
IllegalAccessException

getVertexType

protected Class getVertexType()

getVertexInstance

protected final Vertex getVertexInstance()
                                  throws InstantiationException,
                                         IllegalAccessException
Throws:
InstantiationException
IllegalAccessException