日历
«  2018 5  »
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
最新评论
网站统计
  • 建站时间: 2010/03/29
  • 日记:4142 篇
  • 照片:45 张
  • 话题:14 篇
  • 评论:1108 篇
  • 注册用户:14
  • 今日访问:3649
  • 本周访问:21245
  • 本月访问:37381
  • 全部访问:5900714
maven RSS   共有2篇 每页5篇 第1页 共1

问题:
android 6.0 CTS测试报下面的fail:

com.android.cts.devicepolicy.MixedProfileOwnerTest
-- testScreenCaptureDisabled_allowedPrimaryUser fail
junit.framework.AssertionFailedError at junit.framework.Assert.fail(Assert.java:48)

初步分析:
查看device_logcat:
I TestRunner: failed: testScreenCapturePossible(com.android.cts.deviceandprofileowner.ScreenCaptureDisabledTest)
I TestRunner: ----- begin exception -----
D SettingsInterface:  from settings cache , name = multi_sim_voice_call , value = null
D SettingsInterface:  from settings cache , name = multi_sim_voice_call , value = null
I TestRunner: junit.framework.AssertionFailedError
I TestRunner:   at junit.framework.Assert.fail(Assert.java:48)
I TestRunner:   at junit.framework.Assert.assertTrue(Assert.java:20)
I TestRunner:   at junit.framework.Assert.assertNotNull(Assert.java:218)
I TestRunner:   at junit.framework.Assert.assertNotNull(Assert.java:211)
I TestRunner:   at com.android.cts.deviceandprofileowner.ScreenCaptureDisabledTest.testScreenCapturePossible(ScreenCaptureDisabledTest.java:67)
I TestRunner:   at java.lang.reflect.Method.invoke(Native Method)
I TestRunner:   at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214)
I TestRunner:   at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199)
I TestRunner:   at junit.framework.TestCase.runBare(TestCase.java:134)
I TestRunner:   at junit.framework.TestResult$1.protect(TestResult.java:115)
I TestRunner:   at android.support.test.internal.runner.junit3.AndroidTestResult.runProtected(AndroidTestResult.java:77)
I TestRunner:   at junit.framework.TestResult.run(TestResult.java:118)
I TestRunner:   at android.support.t...

maven | 评论(0) | 阅读(920) | Trackback(0) |

maven 自动发布更新本地和远程仓库

2015/03/18  作者:flytiger   心情: sunny  Wednesday (20:45)

$ mvn install -Dmaven.test.skip=true

mvn clean package deploy -Dmaven.test
.skip=true

 

  1. 本地仓 的更新
    maven | 评论(0) | 阅读(4053) | Trackback(0) |