cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-12318) Unit tests failing on pre-Lollipop devices
Date Wed, 21 Jun 2017 21:26:00 GMT

     [ https://issues.apache.org/jira/browse/CB-12318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Joe Bowser resolved CB-12318.
-----------------------------
    Resolution: Fixed

Tested against Moto G running Android 4.4.4, working after refactor.

> Unit tests failing on pre-Lollipop devices
> ------------------------------------------
>
>                 Key: CB-12318
>                 URL: https://issues.apache.org/jira/browse/CB-12318
>             Project: Apache Cordova
>          Issue Type: Test
>          Components: cordova-android
>         Environment: Android Studio 2.3, Gradle 3.2, Android device running KitKat.
>            Reporter: Igor Ganapolsky
>            Priority: Minor
>              Labels: test-failure
>
> The following repo has unit tests defined:  https://github.com/apache/cordova-android.
 However, running `./gradlew connectedAndroidTest` on a ZTE Whirl 2 device will show these
failing unit tests:
> 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.4.14#64029)

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


Mime
View raw message