From fecb443a2a3af7b752dc32ce475678fea872546e Mon Sep 17 00:00:00 2001 From: Marco Vermeulen Date: Mon, 14 Nov 2016 13:35:18 +0000 Subject: [PATCH] Consolidate cukes for multi-platform binaries. --- src/test/cucumber/java_installation.feature | 16 ------------- .../cucumber/multi_platform_binaries.feature | 23 +++++++++++-------- 2 files changed, 13 insertions(+), 26 deletions(-) delete mode 100644 src/test/cucumber/java_installation.feature diff --git a/src/test/cucumber/java_installation.feature b/src/test/cucumber/java_installation.feature deleted file mode 100644 index 93bc61a9..00000000 --- a/src/test/cucumber/java_installation.feature +++ /dev/null @@ -1,16 +0,0 @@ -Feature: Java Installation - - Background: - Given the internet is reachable - And an initialised environment - And the system is bootstrapped - - Scenario: Install the default Java version for a supported platform - And the candidate "java" version "8u111" is available for download on "Linux" - Given a cookie is required for installing "java" "8u111" on "Linux" - When I enter "sdk install java 8u111" and answer "Y" - Then a download request was made for "java" "8u111" on "Linux" with cookie "oraclelicense=accept-securebackup-cookie" - And I see "Done installing!" - And the candidate "java" version "8u111" is installed - And the cookie-jar has been cleaned up - diff --git a/src/test/cucumber/multi_platform_binaries.feature b/src/test/cucumber/multi_platform_binaries.feature index c887a210..283a98b1 100644 --- a/src/test/cucumber/multi_platform_binaries.feature +++ b/src/test/cucumber/multi_platform_binaries.feature @@ -5,19 +5,22 @@ Feature: Multi Platform Binary Distribution And an initialised environment Scenario: A compatible binary is installed - And a machine with "Mac OSX" installed + And a machine with "Linux" installed And the system is bootstrapped - And the candidate "java" version "8u101" is available for download on "Mac OSX" - When I enter "sdk install java 8u101" and answer "Y" - Then I see "Done installing!" - And the candidate "java" version "8u101" is installed + And the candidate "java" version "8u111" is available for download on "Linux" + And a cookie is required for installing "java" "8u111" on "Linux" + When I enter "sdk install java 8u111" and answer "Y" + Then a download request was made for "java" "8u111" on "Linux" with cookie "oraclelicense=accept-securebackup-cookie" + And I see "Done installing!" + And the candidate "java" version "8u111" is installed + And the cookie-jar has been cleaned up Scenario: Platform is not supported And a machine with "FreeBSD" installed And the system is bootstrapped - And the candidate "java" version "8u101" is not available for download on "FreeBSD" - When I enter "sdk install java 8u101" - Then I see "Stop! java 8u101 is not available. Possible causes:" - Then I see " * 8u101 is an invalid version" + And the candidate "java" version "8u111" is not available for download on "FreeBSD" + When I enter "sdk install java 8u111" + Then I see "Stop! java 8u111 is not available. Possible causes:" + Then I see " * 8u111 is an invalid version" Then I see " * java binaries are incompatible with FreeBSD" - And the candidate "java" version "8u101" is not installed \ No newline at end of file + And the candidate "java" version "8u111" is not installed \ No newline at end of file