testcompletegeneral.java
来自「oscache-2.4.1-full」· Java 代码 · 共 55 行
JAVA
55 行
/*
* Copyright (c) 2002-2003 by OpenSymphony
* All rights reserved.
*/
package com.opensymphony.oscache.general;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
* Test class for the com.opensymphony.oscache.general package.
* It invokes all the test suites of all the other classes of the package.
*
* $Id: TestCompleteGeneral.java 465 2007-05-19 15:30:01Z larst $
* @version $Revision: 465 $
* @author <a href="mailto:abergevin@pyxis-tech.com">Alain Bergevin</a>
*/
public final class TestCompleteGeneral extends TestCase {
/**
* Constructor for the osCache Cache project main test program
*/
public TestCompleteGeneral(String str) {
super(str);
}
/**
* Main method which is called to perform the tests
* <p>
* @param args Arguments received
*/
public static void main(String[] args) {
// Run the test suite
junit.swingui.TestRunner testRunner = new junit.swingui.TestRunner();
testRunner.setLoading(false);
String[] args2 = {TestCompleteGeneral.class.getName()};
testRunner.start(args2);
}
/**
* Test suite required to test this project
* <p>
* @return suite The test suite
*/
public static Test suite() {
// Add all the tests suite of all the project classes
TestSuite suite = new TestSuite("Test all General cache package");
suite.addTest(TestGeneralCacheAdministrator.suite());
suite.addTest(TestConcurrent.suite());
return suite;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?