Skip to content

Commit

Permalink
#669: Attempt to fix background script (#671)
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-vcapgemini authored Oct 1, 2024
1 parent 4464475 commit b0a202b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,9 @@ public void testAndroidStudioRun(String os, WireMockRuntimeInfo wmRuntimeInfo) t
commandlet.run();

// assert
checkInstallation(this.context);
assertThat(commandlet.getToolBinPath().resolve("android-studio-test")).hasContent(
ANDROID_STUDIO + " " + this.context.getSystemInfo().getOs() + " " + this.context.getWorkspacePath());

checkInstallation(this.context);
}

private void checkInstallation(IdeTestContext context) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,9 @@ public void testIntellijRun(String os, WireMockRuntimeInfo wmRuntimeInfo) throws
commandlet.run();

// assert
SystemInfo currentSystemInfo = this.context.getSystemInfo();
Path workspacePath = this.context.getWorkspacePath();
assertThat(commandlet.getToolBinPath().resolve("intellijtest")).hasContent(
"intellij " + currentSystemInfo.getOs() + " " + workspacePath);
checkInstallation(this.context);
assertThat(commandlet.getToolBinPath().resolve("intellijtest")).hasContent(
"intellij " + this.context.getSystemInfo().getOs() + " " + this.context.getWorkspacePath());
}

private void checkInstallation(IdeTestContext context) {
Expand Down

0 comments on commit b0a202b

Please sign in to comment.