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

时间:2013-04-10 08:54:32

标签: permissions cts

run cts -c android.permission2.cts.ProtectedBroadcastsTest

测试失败。

日志:

   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)

有人可以为此提供帮助吗?

1 个答案:

答案 0 :(得分:0)