Add install-sdk into cordova self-test

This commit is contained in:
Justin SB
2014-10-10 02:54:47 -07:00
parent 94c79151fa
commit 4c082bb87a

View File

@@ -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");