Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EDB8E18EA6 for ; Fri, 26 Jun 2015 09:16:04 +0000 (UTC) Received: (qmail 5447 invoked by uid 500); 26 Jun 2015 09:16:04 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 5420 invoked by uid 500); 26 Jun 2015 09:16:04 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 5395 invoked by uid 99); 26 Jun 2015 09:16:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jun 2015 09:16:04 +0000 Date: Fri, 26 Jun 2015 09:16:04 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-9122) Implement integration tests for platform and plugin save/restore feature MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-9122?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1460260= 6#comment-14602606 ]=20 ASF GitHub Bot commented on CB-9122: ------------------------------------ Github user alsorokin commented on the pull request: https://github.com/apache/cordova-lib/pull/246#issuecomment-115596356 =20 - Disabling console logging seems to be really tricky in this case.Most= of it comes from android platform code which runs in child_process.spawn. i've tried wrapping it and always pass stdout: 'ignore' option to it, b= ut it seem to break some functionality so I decided to leave it as is. - the underscore library which is included to cordova-lib doesn't have = the module for string processing, so it doesn't have 'endsWith' function. I= 've just added a clarifying comment. > Implement integration tests for platform and plugin save/restore feature > ------------------------------------------------------------------------ > > Key: CB-9122 > URL: https://issues.apache.org/jira/browse/CB-9122 > Project: Apache Cordova > Issue Type: Task > Components: CordovaLib > Reporter: Alexander Sorokin > > List of integration tests and scenarios to be written : > =20 > CORDOVA PLATFORM/PLUGIN ADD TESTS : > - Ensure that support for custom .tgz files is still enabled (VS= depends on this) > - cordova platform add android --save [empty config.xml] > - cordova platform add android --save [config.xml already contai= ns android@3.6.0] > - cordova platform add android --save [config.xml contains andro= id@file://C:/path/to/android] > - cordova platform add android@3.18.9 --save [invalid version = =3D> in this case, install should fail and should not update config.xml]=20 > - cordova platform add C://path/to/android/platform --save > - support for custom branch checkout : cordova platform add http= s://github.com/apache/cordova-android.git#2.6.x > - cordova plugin add cordova-plugin-console =E2=80=93save [confi= g.xml empty] > - cordova plugin add cordova-plugin-console =E2=80=93save [confi= g.xml already contains cordova-plugin-console@0.2.11] > - cordova plugin add facebook-plugins =E2=80=93variables =E2=80= =A6 =E2=80=93save [testing variables support] > - cordova plugin add git_url > - cordova plugin add local_folder > =20 > CORDOVA PLATFORM/PLUGIN REMOVE TESTS : > - cordova platform remove android --save [config.xml is empty] > - cordova platform remove android --save [config.xml contains an= droid@C:/path/to/android/platform] > - cordova plugin remove plugin-id --save [config.xml is empty] > - cordova plugin remove plugin-id --save [config.xml contains gi= t-url of plugin] > =20 > CORDOVA PLATFORM/PLUGIN UPDATE TESTS : > - cordova platform update android@3.7.0 --save [config.xml alre= ady contains android@3.8.0] > - support for git-urls : cordova platform update https://github.= com/apache/cordova-android.git =E2=80=93save > - cordova plugin update cordova-plugin-console --save > - cordova plugin update cordova-plugin-console@0.2.11 --save > =20 > MASS-SAVE TESTS : > - cordova platform save [no platforms installed =3D> no update t= o config.xml] > - cordova platform save [with some platforms installed] > - cordova plugin save [no plugins installed =3D> no update to co= nfig.xml] > - cordova plugin save [with some plugins installed: one with ver= sion, one with local folder and another one via git cloning] > =20 > PLATFORM/PLUGIN RESTORATION : > - cordova prepare =3D> should restore all platforms and plugins > - cordova prepare android -- 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