com.opensymphony.oscache.base.algorithm
public final class: TestCompleteAlgorithm [javadoc |
source]
java.lang.Object
junit.framework.TestCase
com.opensymphony.oscache.base.algorithm.TestCompleteAlgorithm
Test class for the com.opensymphony.oscache.base.algorithm package.
It invokes all the test suites of all the other classes of the package,
except abstract ones because they are tested via final ones.
$Id: TestCompleteAlgorithm.java,v 1.1 2005/06/17 05:07:08 dres Exp $
- version:
$ - Revision: 1.1 $
- author:
< - a href="mailto:abergevin@pyxis-tech.com">Alain Bergevin
| Method from com.opensymphony.oscache.base.algorithm.TestCompleteAlgorithm Summary: |
|---|
|
main, suite |
| Method from com.opensymphony.oscache.base.algorithm.TestCompleteAlgorithm Detail: |
public static void main(String[] args) {
// Run the test suite
junit.swingui.TestRunner testRunner = new junit.swingui.TestRunner();
testRunner.setLoading(false);
String[] args2 = {TestCompleteAlgorithm.class.getName()};
testRunner.start(args2);
}
Main method which is called to perform the tests
|
public static Test suite() {
// Add all the tests suite of all the project classes
TestSuite suite = new TestSuite("Test all base algorithm cache modules");
suite.addTest(TestFIFOCache.suite());
suite.addTest(TestLRUCache.suite());
suite.addTest(TestUnlimitedCache.suite());
return suite;
}
Test suite required to test this project
|