UnitTestspublic class UnitTests extends Object Container TestSuite for all eclipse unit tests to be run
Uses Eclipse OSGI to find and then run all junit.junit.framework.Tests in
this plugin, excluding tests in the FuncTests.FUNC_TEST_PACKAGE package
Since it uses Eclipse OSGI, it must be run in a Eclipse plugin environment
i.e. from Eclipse workbench, this suite must be run using the
"JUnit Plug-in Test" launch configuration as opposed to as a "JUnit Test" |
Fields Summary |
---|
private static final String | TEST_PACKAGE |
Methods Summary |
---|
public static junit.framework.Test | suite()
TestSuite suite = new TestSuite();
UnitTestCollector collector = new UnitTestCollector();
collector.addTestCases(suite, AndroidTestPlugin.getDefault(), TEST_PACKAGE);
return suite;
|
|