Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id F3315200BE4 for ; Wed, 21 Dec 2016 20:23:15 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id F1C56160B26; Wed, 21 Dec 2016 19:23:15 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 480A6160B18 for ; Wed, 21 Dec 2016 20:23:15 +0100 (CET) Received: (qmail 63736 invoked by uid 500); 21 Dec 2016 19:23:09 -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 63720 invoked by uid 99); 21 Dec 2016 19:23:09 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Dec 2016 19:23:09 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 5B96EDFBAA; Wed, 21 Dec 2016 19:23:09 +0000 (UTC) From: audreyso To: dev@cordova.apache.org Reply-To: dev@cordova.apache.org References: In-Reply-To: Subject: [GitHub] cordova-lib pull request #510: Fixjasmine : CB:12018 - updating tests in cor... Content-Type: text/plain Message-Id: <20161221192309.5B96EDFBAA@git1-us-west.apache.org> Date: Wed, 21 Dec 2016 19:23:09 +0000 (UTC) archived-at: Wed, 21 Dec 2016 19:23:16 -0000 Github user audreyso commented on a diff in the pull request: https://github.com/apache/cordova-lib/pull/510#discussion_r93502548 --- Diff: cordova-lib/spec-plugman/platforms/ios.spec.js --- @@ -301,14 +301,8 @@ describe('ios project handler', function() { }); }); it('of two plugins should apply xcode file changes from both', function(){ --- End diff -- @stevengill Does the order of the test matter? If I test this way, the test passes just fine. ``` it('of two plugins should apply xcode file changes from both', function(done){ return install('ios', temp, weblessplugin) .then(function (result) { var xcode = ios.parseProjectFile(temp).xcode; // from org.test.plugins.weblessplugin expect(xcode.hasFile(slashJoin('Resources', 'WeblessPluginViewController.xib'))).toBeTruthy(); expect(xcode.hasFile(slashJoin('Plugins','org.test.plugins.weblessplugin','WeblessPluginCommand.h'))).toBeTruthy(); expect(xcode.hasFile(slashJoin('Plugins','org.test.plugins.weblessplugin','WeblessPluginCommand.m'))).toBeTruthy(); expect(xcode.hasFile('usr/lib/libsqlite3.dylib')).toBeTruthy(); done(); }).then(function () { return install('ios', temp, dummyplugin) }).then(function () { var xcode = ios.parseProjectFile(temp).xcode; // from org.test.plugins.dummyplugin expect(xcode.hasFile(slashJoin('Resources', 'DummyPlugin.bundle'))).toBeTruthy(); expect(xcode.hasFile(slashJoin('Plugins','org.test.plugins.dummyplugin', 'DummyPluginCommand.h'))).toBeTruthy(); expect(xcode.hasFile(slashJoin('Plugins','org.test.plugins.dummyplugin', 'DummyPluginCommand.m'))).toBeTruthy(); expect(xcode.hasFile(slashJoin('Plugins','org.test.plugins.dummyplugin','targetDir','TargetDirTest.h'))).toBeTruthy(); expect(xcode.hasFile(slashJoin('Plugins','org.test.plugins.dummyplugin','targetDir','TargetDirTest.m'))).toBeTruthy(); expect(xcode.hasFile(slashJoin('SampleApp','Plugins','org.test.plugins.dummyplugin','Custom.framework'))).toBeTruthy(); done(); }); }, 60000); }); ``` --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org For additional commands, e-mail: dev-help@cordova.apache.org