RE: How to test the cordova-android 4.0 by mobile spec

2015-01-11 Thread Fu, Junwei
Thank you very much, I will follow this issue by CB-8280. Another things about JUnit tests, I pulled cordova-android 4.0 branch, and running Unit test in /test directory, but there are compiled error as below, and I want reuse the Unit tests to test Crosswalk pluggable webView, so I request a

Re: How to test the cordova-android 4.0 by mobile spec

2015-01-08 Thread Andrew Grieve
Yep! Will have a look at this. On Thu, Jan 8, 2015 at 11:57 AM, Joe Bowser bows...@gmail.com wrote: That said, the tests failing should be filed as an issue. I think this is related to Andrew's recent refactor of the Splashscreen, removing it from the core platform. These changes are

Re: How to test the cordova-android 4.0 by mobile spec

2015-01-08 Thread Joe Bowser
That said, the tests failing should be filed as an issue. I think this is related to Andrew's recent refactor of the Splashscreen, removing it from the core platform. These changes are relatively minor, but can become huge w.r.t. docs and test coverage. On Thu Jan 08 2015 at 8:52:53 AM Michal

Re: How to test the cordova-android 4.0 by mobile spec

2015-01-08 Thread Andrew Grieve
Created issue for the splashscreen: https://issues.apache.org/jira/browse/CB-8280 On Thu, Jan 8, 2015 at 1:28 PM, Andrew Grieve agri...@chromium.org wrote: Yep! Will have a look at this. On Thu, Jan 8, 2015 at 11:57 AM, Joe Bowser bows...@gmail.com wrote: That said, the tests failing should

RE: How to test the cordova-android 4.0 by mobile spec

2015-01-07 Thread Fu, Junwei
Thank you very much, it's fine after update your commit. Is the mobilespec being tested for Cordova 4.0, Because there are still some other issue such as the splash screen can't show in splashscreen manual tests. -Original Message- From: agri...@google.com [mailto:agri...@google.com]

Re: How to test the cordova-android 4.0 by mobile spec

2015-01-07 Thread Andrew Grieve
Went to try this out and decided it's a bad idea. Much better is to just fix createmobilespec.js to use the proper platform versions when generating the .js. I've done this and checked it in. On Wed, Jan 7, 2015 at 10:45 AM, Andrew Grieve agri...@chromium.org wrote: Hmm, I hadn't tried the key

Re: How to test the cordova-android 4.0 by mobile spec

2015-01-07 Thread Andrew Grieve
Hmm, I hadn't tried the key event manual tests with 4.0.x in MS. I do think that would break based on the version being MSTEST, since there is now code to make an exec() to CoreAndroid based on the platformVersion. Maybe let's just set the plugin bridge name back to App on 4.0.x so that the js

How to test the cordova-android 4.0 by mobile spec

2015-01-06 Thread Fu, Junwei
Hi, Because There are no cordova-mobile-spec 4.0 branch, so I used cordova-mobile-spec master branch to test cordova-android 4.0, but the key event test cases failed. And the splash screen test cases failed with cordova-mobile-spec 3.6 branch, I don't know how to test the cordova-android 4.0

Re: How to test the cordova-android 4.0 by mobile spec

2015-01-06 Thread Andrew Grieve
I think you had it right. use cordova-mobile-spec@master and cordova-android@4.0.x. Failing tests are likely issues (in android or in the tests). Just fixed last night that the JS on 4.0.x was not properly registering with the CoreAndroid plugin due to it being renamed, so that could be the cause

Re: How to test the cordova-android 4.0 by mobile spec

2015-01-06 Thread Joe Bowser
I haven't been able to get mobile-spec working reliably since it was refactored and we were forced to use the createmobilespec.sh script (i.e. Tests don't run on Android 2.3) How did you manage to get it to work with 4.0.x? On Tue Jan 06 2015 at 6:24:51 AM Andrew Grieve agri...@chromium.org

Re: How to test the cordova-android 4.0 by mobile spec

2015-01-06 Thread Joe Bowser
So, it's not using the cordova that's installed locally via npm? I'll have to check that again. On Tue Jan 06 2015 at 6:33:14 PM Andrew Grieve agri...@chromium.org wrote: I've just been checkout out 4.0.x branch of cordova-android, then running the script. I think the script requires that

Re: How to test the cordova-android 4.0 by mobile spec

2015-01-06 Thread Andrew Grieve
I've just been checkout out 4.0.x branch of cordova-android, then running the script. I think the script requires that cordova-mobile-spec, cordova-android, and cordova-js all be sibling directories. On Tue, Jan 6, 2015 at 7:58 PM, Joe Bowser bows...@gmail.com wrote: I haven't been able to get

RE: How to test the cordova-android 4.0 by mobile spec

2015-01-06 Thread Fu, Junwei
I update the latest cordova-android 4.0.x, cordova-mobile-spec and cordova-js, the key event test cases still failed, and the cordova version is still MSTEST, not 4.0. -Original Message- From: agri...@google.com [mailto:agri...@google.com] On Behalf Of Andrew Grieve Sent: Wednesday,

RE: How to test the cordova-android 4.0 by mobile spec

2015-01-06 Thread Fu, Junwei
Yes, I set up mobilespec following https://github.com/apache/cordova-mobile-spec . -Original Message- From: Joe Bowser [mailto:bows...@gmail.com] Sent: Wednesday, January 07, 2015 10:54 AM To: dev@cordova.apache.org Subject: Re: How to test the cordova-android 4.0 by mobile spec So,