cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Bowser <>
Subject Re: cordova-android 4.0 JUnit tests
Date Tue, 20 Jan 2015 13:37:36 GMT
The tests don't work with Crosswalk because Crosswalk's main class doesn't
inherit from a view.  This is why we had to change the CordovaWebView from
being a class to being an Interface in the first place.  I don't think
there is a way for these tests to work with Crosswalk because of this
incompatibility.  I don't think there is a way to re-use these tests
because of this fundamental change.
On Tue Jan 20 2015 at 5:11:54 AM Fu, Junwei <> wrote:

> Hi,
> I pulled cordova-android 4.0 branch, and running JUnit test in /test
> directory, but there are compiled error as below, and I want reuse the
> JUnit tests to test Crosswalk pluggable webView,  so I request a PR
>, could someone help me
> to review and merge it.
> /test/ error: method registerForContextMenu in class
> Activity cannot be applied to given types;
>     [javac]         super.registerForContextMenu(super.appView);
> reason: actual argument CordovaWebView cannot be converted to View by
> method invocation conversion
> test/ error: method loadUrl in class CordovaActivity
> cannot be applied to given types;
>     [javac]         super.loadUrl("file:///android_asset/www/splashscreen/index.html",
> 2000);
> reason: actual and formal argument lists differ in length
> Thanks,
> Junwei.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message