You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ra...@apache.org on 2020/01/14 17:56:07 UTC

[openwhisk-cli] branch master updated: remove test for download of iOS SDK (#478)

This is an automated email from the ASF dual-hosted git repository.

rabbah pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-cli.git


The following commit(s) were added to refs/heads/master by this push:
     new 9228b60  remove test for download of iOS SDK (#478)
9228b60 is described below

commit 9228b600f21e47b8eceee3e3205003b7f770df77
Author: David Grove <dg...@users.noreply.github.com>
AuthorDate: Tue Jan 14 12:55:58 2020 -0500

    remove test for download of iOS SDK (#478)
    
    core PR 4795 removed the iOS SDK download from nginx.conf;
    remove cli test that checks that route is available.
---
 tests/src/test/scala/system/basic/WskSdkTests.scala | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/tests/src/test/scala/system/basic/WskSdkTests.scala b/tests/src/test/scala/system/basic/WskSdkTests.scala
index 87fe1f6..e2280e7 100644
--- a/tests/src/test/scala/system/basic/WskSdkTests.scala
+++ b/tests/src/test/scala/system/basic/WskSdkTests.scala
@@ -83,21 +83,6 @@ class WskSdkTests extends TestHelpers with WskTestHelpers {
     }
   }
 
-  it should "download iOS sdk" in {
-    val dir = File.createTempFile("wskinstall", ".tmp")
-    dir.delete()
-    dir.mkdir() should be(true)
-
-    wsk.cli(wskprops.overrides ++ Seq("sdk", "install", "iOS"), workingDir = dir).stdout should include(
-      "Downloaded OpenWhisk iOS starter app. Unzip 'OpenWhiskIOSStarterApp.zip' and open the project in Xcode.")
-
-    val sdk = new File(dir, "OpenWhiskIOSStarterApp.zip")
-    sdk.exists() should be(true)
-    sdk.isFile() should be(true)
-    FileUtils.sizeOf(sdk) should be > 20000L
-    FileUtils.deleteDirectory(dir)
-  }
-
   it should "install the bash auto-completion bash script" in {
     // Use a temp dir for testing to not disturb user's local folder
     val dir = File.createTempFile("wskinstall", ".tmp")