You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2015/08/06 01:28:04 UTC
cordova-lib git commit: Revert "CB-9278: Tests to prevent future
regressions while restoring multiple platforms. This closes #276"
Repository: cordova-lib
Updated Branches:
refs/heads/master 30f3170dc -> 5d6038289
Revert "CB-9278: Tests to prevent future regressions while restoring multiple platforms. This closes #276"
This reverts commit 2edf1df741b844f6cc4e6e65cd804c4cb07b0665.
Project: http://git-wip-us.apache.org/repos/asf/cordova-lib/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-lib/commit/5d603828
Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/5d603828
Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/5d603828
Branch: refs/heads/master
Commit: 5d6038289463d689fb267bca436aef593b899c78
Parents: 30f3170
Author: Steve Gill <st...@gmail.com>
Authored: Wed Aug 5 16:24:15 2015 -0700
Committer: Steve Gill <st...@gmail.com>
Committed: Wed Aug 5 16:24:15 2015 -0700
----------------------------------------------------------------------
cordova-lib/spec-cordova/save.spec.js | 39 ------------------------------
1 file changed, 39 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/5d603828/cordova-lib/spec-cordova/save.spec.js
----------------------------------------------------------------------
diff --git a/cordova-lib/spec-cordova/save.spec.js b/cordova-lib/spec-cordova/save.spec.js
index 3847b7d..a04dc4b 100644
--- a/cordova-lib/spec-cordova/save.spec.js
+++ b/cordova-lib/spec-cordova/save.spec.js
@@ -471,45 +471,6 @@ describe('(save flag)', function () {
done();
});
});
-
- it('spec.25 should restore multiple specified platforms', function(done) {
- var iosPlatformName = 'ios';
- var iosPlatformSpec = '3.8.0';
- helpers.setEngineSpec(appPath, platformName, platformGitRef);
- helpers.setEngineSpec(appPath, iosPlatformName, iosPlatformSpec);
- var options = {
- verbose: false,
- platforms: [platformName, iosPlatformName],
- options: []
- };
- prepare(options)
- .then(function() {
- expect(path.join(appPath, 'platforms', platformName)).toExist();
- expect(path.join(appPath, 'platforms', iosPlatformName)).toExist();
- done();
- }).catch(function(err) {
- expect(true).toBe(false);
- console.log(err.message);
- done();
- });
- });
-
- it('spec.26: proceed with restoration even if some of the platforms fail to be restored', function(done) {
- var iosPlatformName = 'ios';
- helpers.setEngineSpec(appPath, platformName, platformGitRef);
- helpers.setEngineSpec(appPath, iosPlatformName, 'WrongVersion');
- var options = {
- verbose: false,
- platforms: [iosPlatformName, platformName],
- options: []
- };
- prepare(options)
- .finally(function() {
- expect(path.join(appPath, 'platforms', platformName)).toExist();
- expect(path.join(appPath, 'platforms', iosPlatformName)).not.toExist();
- done();
- });
- });
});
describe('(cleanup)', function () {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org