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

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

public class TestCopyMemoryLeaks
extends TestCase

Author:
danyelf To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Nested Class Summary
static class TestCopyMemoryLeaks.DummyClass
           
 
Constructor Summary
TestCopyMemoryLeaks()
           
 
Method Summary
 void testMemoryCopy()
           
 void testMemoryCopyWithGraphUserData()
           
 void testMemoryFiltered()
          Confirms that a filtered graph doesn't have a ref to the original ...
 void testMemoryFilteredCopy()
           
 void testMemoryFilteredKeep()
           
 void testMemoryGlobalStringLabel()
          Confirms that a stringlabeller is removed from the graph, so that it doesn't hold a hook.
 void testMemoryMutualReference()
           
 void testMemoryStringLabel()
          Confirms that a stringlabeller is removed from the graph, so that it doesn't hold a hook.
 void testMemoryVertexUserData()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestCopyMemoryLeaks

public TestCopyMemoryLeaks()
Method Detail

testMemoryCopy

public void testMemoryCopy()
                    throws Exception
Throws:
Exception

testMemoryVertexUserData

public void testMemoryVertexUserData()
                              throws Exception
Throws:
Exception

testMemoryCopyWithGraphUserData

public void testMemoryCopyWithGraphUserData()
                                     throws Exception
Throws:
Exception

testMemoryStringLabel

public void testMemoryStringLabel()
                           throws Exception
Confirms that a stringlabeller is removed from the graph, so that it doesn't hold a hook.

Throws:
Exception

testMemoryMutualReference

public void testMemoryMutualReference()
                               throws Exception
Throws:
Exception

testMemoryGlobalStringLabel

public void testMemoryGlobalStringLabel()
                                 throws Exception
Confirms that a stringlabeller is removed from the graph, so that it doesn't hold a hook.

Throws:
Exception

testMemoryFiltered

public void testMemoryFiltered()
                        throws Exception
Confirms that a filtered graph doesn't have a ref to the original ... unless we want it to

Throws:
Exception

testMemoryFilteredKeep

public void testMemoryFilteredKeep()
                            throws Exception
Throws:
Exception

testMemoryFilteredCopy

public void testMemoryFilteredCopy()
                            throws Exception
Throws:
Exception