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

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

public class TestCopyMemoryLeaks
extends junit.framework.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 junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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

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