2015-04-30 177 views

回答

2

请看这里的Android来源:https://android.googlesource.com/platform/frameworks/base/+/donut-release/core/java/android/test/AndroidTestCase.java

这里是源:

public void testAndroidTestCaseSetupProperly() { 
    assertNotNull("Context is null. setContext should be called before tests are run", 
      mContext);   
} 

所有它做的是断言不null。我非常确定它必须是一些需要一段时间的其他测试用例。

空的,但官方文档在这里:http://developer.android.com/reference/android/test/AndroidTestCase.html#testAndroidTestCaseSetupProperly()

相关问题