2011年6月3日 星期五

[Android] Error: Test run failed: Test run incomplete. Expected 1 tests, received 0

I got an error message when execute Android JUnit Test
Test run failed: Test run incomplete. Expected 1 tests, received 0

I use this one

 public ReaderGestureDetectorTest() 
{
super(TestActivity.class);
}



Instead of original one

public ReaderGestureDetectorTest(Class<TestActivity> activityClass)
{
super(activityClass);
}


I work it out but don't know why...

Reference: 
http://code.google.com/p/android/issues/detail?id=8522

沒有留言:

張貼留言