Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove test for download of iOS SDK #478

Merged
merged 1 commit into from
Jan 14, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions tests/src/test/scala/system/basic/WskSdkTests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down