test.edu.uci.ics.jung.graph.decorators
Class TestGlobalStringLabeller

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by test.edu.uci.ics.jung.graph.decorators.TestGlobalStringLabeller
All Implemented Interfaces:
junit.framework.Test

public class TestGlobalStringLabeller
extends junit.framework.TestCase

Author:
danyelf

Constructor Summary
TestGlobalStringLabeller()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testChangeInGlobalLabeller()
           
 void testGlobalLabeller()
           
 void testGlobalLabellerChange()
           
 void testLabelRelabel()
          JMadden pointed out that this is a problem: if you forget to clear out the table between runs, it'll fail.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestGlobalStringLabeller

public TestGlobalStringLabeller()
Method Detail

setUp

protected void setUp()
Overrides:
setUp in class junit.framework.TestCase

tearDown

protected void tearDown()
Overrides:
tearDown in class junit.framework.TestCase

testGlobalLabeller

public void testGlobalLabeller()
                        throws StringLabeller.UniqueLabelException
Throws:
StringLabeller.UniqueLabelException

testLabelRelabel

public void testLabelRelabel()
                      throws StringLabeller.UniqueLabelException
JMadden pointed out that this is a problem: if you forget to clear out the table between runs, it'll fail.

Throws:
StringLabeller.UniqueLabelException

testChangeInGlobalLabeller

public void testChangeInGlobalLabeller()
                                throws StringLabeller.UniqueLabelException
Throws:
StringLabeller.UniqueLabelException

testGlobalLabellerChange

public void testGlobalLabellerChange()
                              throws StringLabeller.UniqueLabelException
Throws:
StringLabeller.UniqueLabelException