首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >运行cts -c android.permission2.cts.ProtectedBroadcastsTest

运行cts -c android.permission2.cts.ProtectedBroadcastsTest
EN

Stack Overflow用户
提问于 2013-04-10 16:54:32
回答 1查看 492关注 0票数 0
代码语言:javascript
复制
run cts -c android.permission2.cts.ProtectedBroadcastsTest

测试失败。

日志:

代码语言:javascript
复制
   android.permission2.cts.ProtectedBroadcastsTest#testSendProtectedBroadcasts FAIL 
junit.framework.AssertionFailedError: expected security exception broadcasting action: com.android.server.WifiManager.action.START_SCAN
at android.permission2.cts.ProtectedBroadcastsTest.testSendProtectedBroadcasts(ProtectedBroadcastsTest.java:94)
at java.lang.reflect.Method.invokeNative(Native Method)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:190)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:175)
at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:555)
at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1584)

有人能帮上忙吗?

EN

回答 1

Stack Overflow用户

发布于 2013-05-28 19:27:48

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/15921247

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档