Skip to content
Merged
Show file tree
Hide file tree
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
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
Loading