Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5608BC817 for ; Thu, 8 Jan 2015 16:58:10 +0000 (UTC) Received: (qmail 78325 invoked by uid 500); 8 Jan 2015 16:58:11 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 78285 invoked by uid 500); 8 Jan 2015 16:58:11 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 78272 invoked by uid 99); 8 Jan 2015 16:58:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jan 2015 16:58:09 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bowserj@gmail.com designates 209.85.213.179 as permitted sender) Received: from [209.85.213.179] (HELO mail-ig0-f179.google.com) (209.85.213.179) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jan 2015 16:57:44 +0000 Received: by mail-ig0-f179.google.com with SMTP id r2so3796850igi.0 for ; Thu, 08 Jan 2015 08:57:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:from:date:message-id:subject:to :content-type; bh=ARNenNX5Uq1z8195grlHhK1fa9pJTA1EstBq9ciz/0o=; b=SAPDzV+wYxv6CYlWxLIxdYERKyXnNi+dRrtj6M1326WXCvJRH0BVDAobSn87zr+iE5 v3kEKn5mr/NtiWAA7xu2yxTobiVRB1PwPxWu5Y3GQjMZqFICooqlc8BMXor1pQ2zLGjR KZtmBDDD8/j9Zskp/oZumVyDjJ1aCf3bEFtuYcFM8sNTsB2at7Tr3qAmtmPsStfXJJF5 7ol2arvY7BRCETl3MMWN38/nwUHd6GbutqsXH38prtXRWVNNeW0XoGSwwTH31exI37zX X9jNniFzUDE4rHuDyeDd/U/7p7kl3Bpv4FOE4yfRnpCo1NjHtvQ1+3YpETvyClVyzPEi G7Cw== X-Received: by 10.42.235.80 with SMTP id kf16mr9122585icb.77.1420736262863; Thu, 08 Jan 2015 08:57:42 -0800 (PST) MIME-Version: 1.0 References: From: Joe Bowser Date: Thu, 08 Jan 2015 16:57:42 +0000 Message-ID: Subject: Re: How to test the cordova-android 4.0 by mobile spec To: dev@cordova.apache.org Content-Type: multipart/alternative; boundary=20cf302667fc4481d3050c26f08e X-Virus-Checked: Checked by ClamAV on apache.org --20cf302667fc4481d3050c26f08e Content-Type: text/plain; charset=UTF-8 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 Mocny wrote: > It should be, but given that its on a branch (fewer passing eyeballs), the > pace of changes on 4.0.x, and that the failing test in question is a manual > test, things are easily overlooked. Thanks for bringing it up. > > Once 3.7 ships and 4.0 moves to master for next major release, I expect the > tests will get more eyeballs. > > On Wed, Jan 7, 2015 at 8:28 PM, Fu, Junwei wrote: > > > 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: agrieve@google.com [mailto:agrieve@google.com] On Behalf Of Andrew > > Grieve > > Sent: Thursday, January 08, 2015 2:00 AM > > To: Andrew Grieve > > Cc: dev > > Subject: Re: How to test the cordova-android 4.0 by mobile spec > > > > 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 > > wrote: > > > > > 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 exec() will always work (but still leave the class name as > > > "CoreAndroid") > > > > > > On Tue, Jan 6, 2015 at 10:06 PM, Fu, Junwei > wrote: > > > > > >> Yes, I set up mobilespec following > > >> https://github.com/apache/cordova-mobile-spec . > > >> > > >> -----Original Message----- > > >> From: Joe Bowser [mailto:bowserj@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, 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 > > >> wrote: > > >> > > >> > 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 > wrote: > > >> > > > >> > > 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 > > >> > > > > >> > > wrote: > > >> > > > > >> > > > 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 of the key event test failing. > > >> > > > > > >> > > > On Tue, Jan 6, 2015 at 3:47 AM, Fu, Junwei > > >> > > > > > >> > wrote: > > >> > > > > > >> > > > > 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 by mobile spec. > > >> > > > > > > >> > > > > Thanks, > > >> > > > > Junwei. > > >> > > > > > > >> > > > > > >> > > > > >> > > > >> > > > > > > > > > --20cf302667fc4481d3050c26f08e--