Hello , I am working on android automation ,and i am new to this field , i went through the test example available at developer site and i am getting
11-05 14:43:14.509: WARN/TestGrouping(1485): Invalid Package: '' could not be found or has no tests as error on running this code . package com.android.myservice.test; import com.android.myservice.MockActivity; import android.test.ActivityInstrumentationTestCase2; import android.util.Log; public class TestCaseOne extends ActivityInstrumentationTestCase2<MockActivity> { public TestCaseOne(String pkg, Class<MockActivity> activityClass) { super("com.android.myservice.test", MockActivity.class); } public void test001case() { Log.e("", "test case 001"); } } But when i extend this class with InstrumentationTestCase then this code work's fine please let me know what mistake am i doing in using ActivityInstrumenationTestCase2. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en