Add sdklib tests to the adt-tests Unit tests.
Change-Id: Ieb4e722b1b5a29cef250e2cb5575a71e09f956c3
This commit is contained in:
@@ -31,16 +31,17 @@ import junit.framework.TestSuite;
|
||||
*
|
||||
*/
|
||||
public class UnitTests {
|
||||
private static final String TEST_PACKAGE = "com.android.ide.eclipse";
|
||||
private static final String TEST_PACKAGE = "com.android";
|
||||
|
||||
public static Test suite() {
|
||||
TestSuite suite = new TestSuite();
|
||||
|
||||
|
||||
UnitTestCollector collector = new UnitTestCollector();
|
||||
collector.addTestCases(suite, AndroidTestPlugin.getDefault(), TEST_PACKAGE);
|
||||
|
||||
return suite;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Specialized test collector which will skip adding functional tests
|
||||
*/
|
||||
@@ -54,5 +55,4 @@ public class UnitTests {
|
||||
!testClass.getPackage().getName().startsWith(FuncTests.FUNC_TEST_PACKAGE);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user