J avolution v5.2 (J2SE 1.5+)

javolution
Class ContextTestSuite.ArrayAllocation

java.lang.Object
  extended by javolution.testing.TestCase
      extended by javolution.ContextTestSuite.ArrayAllocation
Enclosing class:
ContextTestSuite

public static class ContextTestSuite.ArrayAllocation
extends TestCase


Constructor Summary
ContextTestSuite.ArrayAllocation(int size, boolean recycle)
           
 
Method Summary
 void execute()
          Executes this test case (possibly multiple times in which case the TestCase.count() method should be overriden).
 java.lang.CharSequence getDescription()
          Returns the description of this test case or null if none.
 void validate()
          Validates the test results (the default implementation does nothing).
 
Methods inherited from class javolution.testing.TestCase
cleanup, count, prepare, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContextTestSuite.ArrayAllocation

public ContextTestSuite.ArrayAllocation(int size,
                                        boolean recycle)
Method Detail

getDescription

public java.lang.CharSequence getDescription()
Description copied from class: TestCase
Returns the description of this test case or null if none.

Overrides:
getDescription in class TestCase
Returns:
the description or null

execute

public void execute()
Description copied from class: TestCase
Executes this test case (possibly multiple times in which case the TestCase.count() method should be overriden).

Specified by:
execute in class TestCase

validate

public void validate()
Description copied from class: TestCase
Validates the test results (the default implementation does nothing).

Overrides:
validate in class TestCase

J avolution v5.2 (J2SE 1.5+)

Copyright © 2005 - 2007 Javolution.