gate.util
Class TestBumpyStack

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bygate.util.TestBumpyStack
All Implemented Interfaces:
junit.framework.Test

public class TestBumpyStack
extends junit.framework.TestCase

BumpyStack test class.


Constructor Summary
TestBumpyStack(String name)
          Construction
 
Method Summary
static void callGC()
           
 void setUp()
          Fixture set up
static junit.framework.Test suite()
          Test suite routine for the test runner
 void testBumpiness()
          Test the bumpiness of the thing.
 void testSelfCleaning()
          Tests whether the CreoleRegisterImpl keeps unreacheable resourecs alive.
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, name, run, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestBumpyStack

public TestBumpyStack(String name)
Construction

Method Detail

setUp

public void setUp()
Fixture set up


suite

public static junit.framework.Test suite()
Test suite routine for the test runner


callGC

public static void callGC()

testBumpiness

public void testBumpiness()
                   throws Exception
Test the bumpiness of the thing.

Throws:
Exception

testSelfCleaning

public void testSelfCleaning()
                      throws Exception
Tests whether the CreoleRegisterImpl keeps unreacheable resourecs alive. WARNING: see notes on WeakBumptyStack.

Throws:
Exception