cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Ganapolsky (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-12306) Unit tests are failing for cordova-android
Date Tue, 03 Jan 2017 19:56:58 GMT

    [ https://issues.apache.org/jira/browse/CB-12306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15796030#comment-15796030
] 

Igor Ganapolsky edited comment on CB-12306 at 1/3/17 7:56 PM:
--------------------------------------------------------------

Z667G is device id for ZTE Whirl 2 phone.


was (Author: igorganapolsky):
ZTE Whirl 2

> Unit tests are failing for cordova-android
> ------------------------------------------
>
>                 Key: CB-12306
>                 URL: https://issues.apache.org/jira/browse/CB-12306
>             Project: Apache Cordova
>          Issue Type: Test
>          Components: Android
>         Environment: Android Studio 2.3
>            Reporter: Igor Ganapolsky
>            Priority: Minor
>              Labels: gradle, test
>
> The following repo has unit tests defined:  https://github.com/apache/cordova-android.
 However, running `./gradlew connectedAndroidTest` will show these failing unit tests:
> Starting 16 tests on Pixel_XL_API_25(AVD) - 7.1
> Starting 16 tests on Nexus 5X - 7.1.1
> Starting 16 tests on Z667G - 4.3
> org.apache.cordova.test.CordovaResourceApiTest > testJavaApis[Pixel_XL_API_25(AVD)
- 7.1] FAILED 
>         java.lang.NullPointerException: uriString
>         at android.net.Uri$StringUri.<init>(Uri.java:475)
> org.apache.cordova.test.CordovaResourceApiTest > testJavaApis[Nexus 5X - 7.1.1] FAILED

>         java.lang.NullPointerException: uriString
>         at android.net.Uri$StringUri.<init>(Uri.java:475)
> Starting 16 tests on Nexus 7 - 6.0.1
> org.apache.cordova.test.CordovaResourceApiTest > testJavaApis[Nexus 7 - 6.0.1] FAILED

>         java.lang.NullPointerException: uriString
>         at android.net.Uri$StringUri.<init>(Uri.java:475)
> org.apache.cordova.test.CordovaResourceApiTest > testJavaApis[Z667G - 4.3] FAILED

>         java.lang.NoClassDefFoundError: java.nio.charset.StandardCharsets
>         at org.apache.cordova.test.CordovaResourceApiTest$1.handleOpenForRead(CordovaResourceApiTest.java:71)
> org.apache.cordova.test.HtmlNotFoundTest > testUrl[Z667G - 4.3] FAILED 
>         junit.framework.AssertionFailedError
>         at org.apache.cordova.test.HtmlNotFoundTest.testUrl(HtmlNotFoundTest.java:43)
> :connectedDebugAndroidTest FAILED



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message