Add sdklib tests to the adt-tests Unit tests.

Change-Id: Ieb4e722b1b5a29cef250e2cb5575a71e09f956c3
This commit is contained in:
Xavier Ducrohet
2009-10-05 12:39:53 -07:00
parent e96bc57aad
commit b7d28abce3
3 changed files with 6 additions and 4 deletions

View File

@@ -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);
}
}
}