From 4c082bb87a38014b05d4d4af53419de8bf487ac2 Mon Sep 17 00:00:00 2001 From: Justin SB Date: Fri, 10 Oct 2014 02:54:47 -0700 Subject: [PATCH] Add install-sdk into cordova self-test --- tools/tests/cordova-platforms.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools/tests/cordova-platforms.js b/tools/tests/cordova-platforms.js index 60c146ffa7..7e9d5baf85 100644 --- a/tools/tests/cordova-platforms.js +++ b/tools/tests/cordova-platforms.js @@ -16,6 +16,14 @@ selftest.define("add cordova platforms", function () { run.match("meteor add-platform android"); run.expectExit(1); + run = s.run("add-platform", "android"); + run.matchErr("Platform is not installed"); + run.expectExit(2); + + run = s.run("install-sdk", "android"); + run.extraTime = 90; // Big downloads + run.expectExit(0); + run = s.run("add-platform", "android"); run.match("Do you agree"); run.write("Y\n");