Warning: No instrumentation runner found for the launch, using android.test.InstrumentationTestRu
2014-10-11 12:26
387 查看
AndroidManifest.xml
<uses-library android:name="android.test.runner"/>
<instrumentation
android:name="android.test.InstrumentationTestRunner"
android:targetPackage="com.myapp.tests"
android:label="MyAppTests" />
1.继承androidTestCase类。
2.Assert类判断所得到值与期望值是否相同。
单击“Android JUnit Test”运行后会,会出现如下警告:
It outputs Warning: No instrumentation runner found for the launch, using
android.test.InstrumentationTestRunner.
模拟器不能记住Androidmanifest的配置,在运行时需要重新设置运行配置,如下:
1.在工程名字上点击右键,选择properties
2.在Run/Debug setting中选择要运行的工程名字,点击右边的Edit,会进入下面的界面,
在 instrumentation runner后面的下拉列表中选择:android.test.InstrumentationTestRunner
3.重新运行该测试单元,则就不会出现上面的警告了。
REFERENCES:http://www.cnblogs.com/tjpfly/archive/2011/05/25/2056717.html
转载地址:http://www.cnblogs.com/anee/archive/2012/12/18/2822700.html
<uses-library android:name="android.test.runner"/>
<instrumentation
android:name="android.test.InstrumentationTestRunner"
android:targetPackage="com.myapp.tests"
android:label="MyAppTests" />
1.继承androidTestCase类。
2.Assert类判断所得到值与期望值是否相同。
单击“Android JUnit Test”运行后会,会出现如下警告:
It outputs Warning: No instrumentation runner found for the launch, using
android.test.InstrumentationTestRunner.
模拟器不能记住Androidmanifest的配置,在运行时需要重新设置运行配置,如下:
1.在工程名字上点击右键,选择properties
2.在Run/Debug setting中选择要运行的工程名字,点击右边的Edit,会进入下面的界面,
在 instrumentation runner后面的下拉列表中选择:android.test.InstrumentationTestRunner
3.重新运行该测试单元,则就不会出现上面的警告了。
REFERENCES:http://www.cnblogs.com/tjpfly/archive/2011/05/25/2056717.html
转载地址:http://www.cnblogs.com/anee/archive/2012/12/18/2822700.html
相关文章推荐
- Warning: No instrumentation runner found for the launch, using android.test.InstrumentationTestRunne
- Warning: No instrumentation runner found for the launch, using android.test.InstrumentationTestRunner
- Warning: No instrumentation runner found for the launch, using android.test.InstrumentationTestRunne
- Warning: No instrumentation runner found for the launch 解决方案
- [2014-08-21 19:36:41 - Other] Warning: No instrumentation runner found for the launch, using a
- Warning: No instrumentation runner found for the launch, using android.test.InstrumentationTestRunner
- Warning: No instrumentation runner found for the launch, using android.test.InstrumentationTestRunne
- Warning: No instrumentation runner found for the launch, using android.test.InstrumentationTestRunn
- No instrumentation runner found for the launch, using android.test.
- No instrumentation runner found for the launch, using android.test.
- 问题解决方法:No instrumentation runner found for the launch, using android.test.Instrumen
- No instrumentation runner found for the launch, using android.test.
- freerradius 错误:pap: WARNING: No "known good" password found for the user
- SSH出错之---WARNING: No configuration found for the specified action:
- 警告: No configuration found for the specified action: '/myNameSpace/login.action' in names
- No configuration found for the specified action: '/myNameSpa
- 处理警告:No configuration found for the specified action
- 警告: No configuration found for the specified action: '/myNameSpace/login.action' in names
- 警告: No configuration found for the specified action: '/myNameSpace/login.action' in names
- struts-No configuration found for the specified action