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 57A56200BE4 for ; Wed, 21 Dec 2016 19:33:54 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 565FD160B26; Wed, 21 Dec 2016 18:33:54 +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 9E905160B18 for ; Wed, 21 Dec 2016 19:33:53 +0100 (CET) Received: (qmail 2685 invoked by uid 500); 21 Dec 2016 18:33:52 -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 2674 invoked by uid 99); 21 Dec 2016 18:33:52 -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 18:33:52 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 5581EDFCE0; Wed, 21 Dec 2016 18:33:52 +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: <20161221183352.5581EDFCE0@git1-us-west.apache.org> Date: Wed, 21 Dec 2016 18:33:52 +0000 (UTC) archived-at: Wed, 21 Dec 2016 18:33:54 -0000 Github user audreyso commented on a diff in the pull request: https://github.com/apache/cordova-lib/pull/510#discussion_r93493946 --- 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 : if I modify this test, the console.logs both print out, but there are 3 failures. ``` it('of two plugins should apply xcode file changes from both', function(done){ install('ios', temp, dummyplugin) .then(function (result) { 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(); console.log('done 1') }).then(function (result) { install('ios', temp, weblessplugin) }).then(function (result) { var xcode = ios.parseProjectFile(temp).xcode; // from org.test.plugins.weblessplugin // Below fails and wants false expect(xcode.hasFile(slashJoin('Resources', 'WeblessPluginViewController.xib'))).toBeTruthy(); // Below fails and wants false expect(xcode.hasFile(slashJoin('Plugins','org.test.plugins.weblessplugin','WeblessPluginCommand.h'))).toBeTruthy(); // Below fails and wants false expect(xcode.hasFile(slashJoin('Plugins','org.test.plugins.weblessplugin','WeblessPluginCommand.m'))).toBeTruthy(); expect(xcode.hasFile('usr/lib/libsqlite3.dylib')).toBeTruthy(); console.log('done 2') }); done(); }); }); ``` --- 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