To run these tests:
$ mmm java/tests && adb sync
$ adb shell am instrument -w \
-e class android.core.CoreTests \
android.core/android.test.InstrumentationTestRunner
TestSuite suite = new TestSuite(CoreTests.class.getName());
// Re-enable StateListDrawableTest when we are running in the
// framework-test directory which allows access to package private
// access for MockView
// suite.addTestSuite(StateListDrawableTest.class);
suite.addTestSuite(DayOfMonthCursorTest.class);
suite.addTestSuite(MonthDisplayHelperTest.class);
suite.addTestSuite(StateSetTest.class);
suite.addTestSuite(ColorStateListTest.class);
suite.addTestSuite(FocusFinderTest.class);
suite.addTestSuite(ViewGroupAttributesTest.class);
suite.addTest(TelephonyTests.suite());
suite.addTestSuite(FloatMathTest.class);
suite.addTest(JavaTests.suite());
suite.addTestSuite(LocationTest.class);
suite.addTestSuite(LocationManagerProximityTest.class);
suite.addTestSuite(AndroidTestRunnerTest.class);
suite.addTestSuite(InstrumentationTestRunnerTest.class);
suite.addTestSuite(CookieTest.class);
return suite;