From a892df2815e325a5fe2b3360f53998114e1dbb04 Mon Sep 17 00:00:00 2001 From: scottbommarito Date: Mon, 13 Jun 2016 11:28:22 -0700 Subject: [PATCH] check in a more recent plugin testing framework --- .../node_modules/mocha/node_modules/commander/package.json | 5 +++-- .../center-align/node_modules/align-text/package.json | 2 +- .../right-align/node_modules/align-text/package.json | 2 +- .../regenerator/node_modules/recast/package.json | 3 ++- .../superagent/node_modules/cookiejar/package.json | 3 ++- .../node_modules/superagent/node_modules/mime/package.json | 5 +++-- .../node_modules/superagent/node_modules/qs/package.json | 5 +++-- .../superagent/node_modules/readable-stream/package.json | 5 ++--- .../superagent/node_modules/reduce-component/package.json | 3 ++- node_modules/code-push-plugin-testing-framework/package.json | 2 +- .../code-push-plugin-testing-framework/script/platform.js | 3 ++- .../code-push-plugin-testing-framework/script/testBuilder.js | 2 +- 12 files changed, 23 insertions(+), 17 deletions(-) diff --git a/node_modules/code-push-plugin-testing-framework/node_modules/mocha/node_modules/commander/package.json b/node_modules/code-push-plugin-testing-framework/node_modules/mocha/node_modules/commander/package.json index a1d6f5e..75c1ca4 100644 --- a/node_modules/code-push-plugin-testing-framework/node_modules/mocha/node_modules/commander/package.json +++ b/node_modules/code-push-plugin-testing-framework/node_modules/mocha/node_modules/commander/package.json @@ -15,7 +15,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/visionmedia/commander.js.git" + "url": "git+https://github.com/visionmedia/commander.js.git" }, "devDependencies": { "should": ">= 0.0.1" @@ -66,5 +66,6 @@ "tarball": "https://registry.npmjs.org/commander/-/commander-2.3.0.tgz" }, "directories": {}, - "_resolved": "https://registry.npmjs.org/commander/-/commander-2.3.0.tgz" + "_resolved": "https://registry.npmjs.org/commander/-/commander-2.3.0.tgz", + "readme": "ERROR: No README data found!" } diff --git a/node_modules/code-push-plugin-testing-framework/node_modules/superagent-proxy/node_modules/proxy-agent/node_modules/pac-proxy-agent/node_modules/pac-resolver/node_modules/regenerator/node_modules/defs/node_modules/yargs/node_modules/cliui/node_modules/center-align/node_modules/align-text/package.json b/node_modules/code-push-plugin-testing-framework/node_modules/superagent-proxy/node_modules/proxy-agent/node_modules/pac-proxy-agent/node_modules/pac-resolver/node_modules/regenerator/node_modules/defs/node_modules/yargs/node_modules/cliui/node_modules/center-align/node_modules/align-text/package.json index 3cc2e0b..e36d9c2 100644 --- a/node_modules/code-push-plugin-testing-framework/node_modules/superagent-proxy/node_modules/proxy-agent/node_modules/pac-proxy-agent/node_modules/pac-resolver/node_modules/regenerator/node_modules/defs/node_modules/yargs/node_modules/cliui/node_modules/center-align/node_modules/align-text/package.json +++ b/node_modules/code-push-plugin-testing-framework/node_modules/superagent-proxy/node_modules/proxy-agent/node_modules/pac-proxy-agent/node_modules/pac-resolver/node_modules/regenerator/node_modules/defs/node_modules/yargs/node_modules/cliui/node_modules/center-align/node_modules/align-text/package.json @@ -52,7 +52,7 @@ "gitHead": "7f08e823a54c6bda319d875895813537a66a4c5e", "_id": "align-text@0.1.4", "_shasum": "0cd90a561093f35d0a99256c22b7069433fad117", - "_from": "align-text@>=0.1.3 <0.2.0", + "_from": "align-text@>=0.1.1 <0.2.0", "_npmVersion": "3.6.0", "_nodeVersion": "5.5.0", "_npmUser": { diff --git a/node_modules/code-push-plugin-testing-framework/node_modules/superagent-proxy/node_modules/proxy-agent/node_modules/pac-proxy-agent/node_modules/pac-resolver/node_modules/regenerator/node_modules/defs/node_modules/yargs/node_modules/cliui/node_modules/right-align/node_modules/align-text/package.json b/node_modules/code-push-plugin-testing-framework/node_modules/superagent-proxy/node_modules/proxy-agent/node_modules/pac-proxy-agent/node_modules/pac-resolver/node_modules/regenerator/node_modules/defs/node_modules/yargs/node_modules/cliui/node_modules/right-align/node_modules/align-text/package.json index 3cc2e0b..e36d9c2 100644 --- a/node_modules/code-push-plugin-testing-framework/node_modules/superagent-proxy/node_modules/proxy-agent/node_modules/pac-proxy-agent/node_modules/pac-resolver/node_modules/regenerator/node_modules/defs/node_modules/yargs/node_modules/cliui/node_modules/right-align/node_modules/align-text/package.json +++ b/node_modules/code-push-plugin-testing-framework/node_modules/superagent-proxy/node_modules/proxy-agent/node_modules/pac-proxy-agent/node_modules/pac-resolver/node_modules/regenerator/node_modules/defs/node_modules/yargs/node_modules/cliui/node_modules/right-align/node_modules/align-text/package.json @@ -52,7 +52,7 @@ "gitHead": "7f08e823a54c6bda319d875895813537a66a4c5e", "_id": "align-text@0.1.4", "_shasum": "0cd90a561093f35d0a99256c22b7069433fad117", - "_from": "align-text@>=0.1.3 <0.2.0", + "_from": "align-text@>=0.1.1 <0.2.0", "_npmVersion": "3.6.0", "_nodeVersion": "5.5.0", "_npmUser": { diff --git a/node_modules/code-push-plugin-testing-framework/node_modules/superagent-proxy/node_modules/proxy-agent/node_modules/pac-proxy-agent/node_modules/pac-resolver/node_modules/regenerator/node_modules/recast/package.json b/node_modules/code-push-plugin-testing-framework/node_modules/superagent-proxy/node_modules/proxy-agent/node_modules/pac-proxy-agent/node_modules/pac-resolver/node_modules/regenerator/node_modules/recast/package.json index 4871bd9..7f890fe 100644 --- a/node_modules/code-push-plugin-testing-framework/node_modules/superagent-proxy/node_modules/proxy-agent/node_modules/pac-proxy-agent/node_modules/pac-resolver/node_modules/regenerator/node_modules/recast/package.json +++ b/node_modules/code-push-plugin-testing-framework/node_modules/superagent-proxy/node_modules/proxy-agent/node_modules/pac-proxy-agent/node_modules/pac-resolver/node_modules/regenerator/node_modules/recast/package.json @@ -62,5 +62,6 @@ "tarball": "https://registry.npmjs.org/recast/-/recast-0.10.33.tgz" }, "directories": {}, - "_resolved": "https://registry.npmjs.org/recast/-/recast-0.10.33.tgz" + "_resolved": "https://registry.npmjs.org/recast/-/recast-0.10.33.tgz", + "readme": "ERROR: No README data found!" } diff --git a/node_modules/code-push-plugin-testing-framework/node_modules/superagent/node_modules/cookiejar/package.json b/node_modules/code-push-plugin-testing-framework/node_modules/superagent/node_modules/cookiejar/package.json index 7d874d4..2964e4f 100644 --- a/node_modules/code-push-plugin-testing-framework/node_modules/superagent/node_modules/cookiejar/package.json +++ b/node_modules/code-push-plugin-testing-framework/node_modules/superagent/node_modules/cookiejar/package.json @@ -49,5 +49,6 @@ } ], "directories": {}, - "_resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.0.6.tgz" + "_resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.0.6.tgz", + "readme": "ERROR: No README data found!" } diff --git a/node_modules/code-push-plugin-testing-framework/node_modules/superagent/node_modules/mime/package.json b/node_modules/code-push-plugin-testing-framework/node_modules/superagent/node_modules/mime/package.json index 0679a71..9c9c711 100644 --- a/node_modules/code-push-plugin-testing-framework/node_modules/superagent/node_modules/mime/package.json +++ b/node_modules/code-push-plugin-testing-framework/node_modules/superagent/node_modules/mime/package.json @@ -36,7 +36,7 @@ "main": "mime.js", "name": "mime", "repository": { - "url": "https://github.com/broofa/node-mime", + "url": "git+https://github.com/broofa/node-mime.git", "type": "git" }, "version": "1.3.4", @@ -68,5 +68,6 @@ "tarball": "https://registry.npmjs.org/mime/-/mime-1.3.4.tgz" }, "directories": {}, - "_resolved": "https://registry.npmjs.org/mime/-/mime-1.3.4.tgz" + "_resolved": "https://registry.npmjs.org/mime/-/mime-1.3.4.tgz", + "readme": "ERROR: No README data found!" } diff --git a/node_modules/code-push-plugin-testing-framework/node_modules/superagent/node_modules/qs/package.json b/node_modules/code-push-plugin-testing-framework/node_modules/superagent/node_modules/qs/package.json index c040d31..9ebfaca 100644 --- a/node_modules/code-push-plugin-testing-framework/node_modules/superagent/node_modules/qs/package.json +++ b/node_modules/code-push-plugin-testing-framework/node_modules/superagent/node_modules/qs/package.json @@ -14,7 +14,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/hapijs/qs.git" + "url": "git+https://github.com/hapijs/qs.git" }, "keywords": [ "querystring", @@ -54,5 +54,6 @@ "tarball": "https://registry.npmjs.org/qs/-/qs-2.3.3.tgz" }, "directories": {}, - "_resolved": "https://registry.npmjs.org/qs/-/qs-2.3.3.tgz" + "_resolved": "https://registry.npmjs.org/qs/-/qs-2.3.3.tgz", + "readme": "ERROR: No README data found!" } diff --git a/node_modules/code-push-plugin-testing-framework/node_modules/superagent/node_modules/readable-stream/package.json b/node_modules/code-push-plugin-testing-framework/node_modules/superagent/node_modules/readable-stream/package.json index 654fc52..62d4c9f 100644 --- a/node_modules/code-push-plugin-testing-framework/node_modules/superagent/node_modules/readable-stream/package.json +++ b/node_modules/code-push-plugin-testing-framework/node_modules/superagent/node_modules/readable-stream/package.json @@ -17,7 +17,7 @@ }, "repository": { "type": "git", - "url": "git://github.com/isaacs/readable-stream.git" + "url": "git://github.com/isaacs/readable-stream" }, "keywords": [ "readable", @@ -64,6 +64,5 @@ ], "directories": {}, "_shasum": "6b67983c20357cefd07f0165001a16d710d91078", - "_resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.27-1.tgz", - "readme": "ERROR: No README data found!" + "_resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.27-1.tgz" } diff --git a/node_modules/code-push-plugin-testing-framework/node_modules/superagent/node_modules/reduce-component/package.json b/node_modules/code-push-plugin-testing-framework/node_modules/superagent/node_modules/reduce-component/package.json index a74c28d..0611e13 100644 --- a/node_modules/code-push-plugin-testing-framework/node_modules/superagent/node_modules/reduce-component/package.json +++ b/node_modules/code-push-plugin-testing-framework/node_modules/superagent/node_modules/reduce-component/package.json @@ -42,5 +42,6 @@ ], "directories": {}, "_shasum": "e0c93542c574521bea13df0f9488ed82ab77c5da", - "_resolved": "https://registry.npmjs.org/reduce-component/-/reduce-component-1.0.1.tgz" + "_resolved": "https://registry.npmjs.org/reduce-component/-/reduce-component-1.0.1.tgz", + "homepage": "https://github.com/redventures/reduce#readme" } diff --git a/node_modules/code-push-plugin-testing-framework/package.json b/node_modules/code-push-plugin-testing-framework/package.json index 714f1b5..b3b9b6c 100644 --- a/node_modules/code-push-plugin-testing-framework/package.json +++ b/node_modules/code-push-plugin-testing-framework/package.json @@ -30,7 +30,7 @@ }, "readme": "ERROR: No README data found!", "_id": "code-push-plugin-testing-framework@0.0.1", - "_shasum": "93a80e78c66bba7fc9808284855c0982b6a3c121", + "_shasum": "6ea33a661710628af266d714949fe95f88d71f0d", "_from": "../code-push/plugin-testing-framework/bin", "_resolved": "file:../code-push/plugin-testing-framework/bin" } diff --git a/node_modules/code-push-plugin-testing-framework/script/platform.js b/node_modules/code-push-plugin-testing-framework/script/platform.js index 82f1d40..1d9d3aa 100644 --- a/node_modules/code-push-plugin-testing-framework/script/platform.js +++ b/node_modules/code-push-plugin-testing-framework/script/platform.js @@ -272,7 +272,8 @@ var IOSEmulatorManager = (function () { if (!targetIOSEmulator) { // If no iOS simulator is specified, get the most recent iOS simulator to run tests on. testUtil_1.TestUtil.getProcessOutput("xcrun simctl list", { noLogCommand: true, noLogStdOut: true, noLogStdErr: true }) - .then(function (listOfDevices) { + .then(function (listOfDevicesWithDevicePairs) { + var listOfDevices = listOfDevicesWithDevicePairs.slice(listOfDevicesWithDevicePairs.indexOf("-- iOS"), listOfDevicesWithDevicePairs.indexOf("-- tvOS")); var phoneDevice = /iPhone (\S* )*(\(([0-9A-Z-]*)\))/g; var match = listOfDevices.match(phoneDevice); deferred.resolve(match[match.length - 1]); diff --git a/node_modules/code-push-plugin-testing-framework/script/testBuilder.js b/node_modules/code-push-plugin-testing-framework/script/testBuilder.js index 0a32a7f..5eb311b 100644 --- a/node_modules/code-push-plugin-testing-framework/script/testBuilder.js +++ b/node_modules/code-push-plugin-testing-framework/script/testBuilder.js @@ -62,7 +62,7 @@ function getDescribe() { } function itInternal(func, expectation, isCoreTest, assertion) { if ((!TestConfig.onlyRunCoreTests || isCoreTest)) { - // Create a wrapper around the assertion to set the timeout on the test to 5 minutes. + // Create a wrapper around the assertion to set the timeout on the test to 10 minutes. var assertionWithTimeout = function (done) { this.timeout(10 * 60 * 1000); assertion(done);