From 129f847fde4be738538e3be1f885514e3818d847 Mon Sep 17 00:00:00 2001 From: Adam Wisniewski Date: Fri, 13 Oct 2023 21:26:40 -0400 Subject: [PATCH] Update shared-lib name Signed-off-by: Adam Wisniewski --- tests/resources/applications/maven/test-shared-lib-jar/pom.xml | 1 + .../tools/eclipse/test/it/LibertyPluginSWTBotGradleTest.java | 2 +- .../tools/eclipse/test/it/LibertyPluginSWTBotMavenTest.java | 2 +- .../tools/eclipse/test/it/utils/SWTBotPluginOperations.java | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/resources/applications/maven/test-shared-lib-jar/pom.xml b/tests/resources/applications/maven/test-shared-lib-jar/pom.xml index bb0303af..6078669e 100644 --- a/tests/resources/applications/maven/test-shared-lib-jar/pom.xml +++ b/tests/resources/applications/maven/test-shared-lib-jar/pom.xml @@ -9,6 +9,7 @@ test shared-lib 1.0-SNAPSHOT + jar UTF-8 diff --git a/tests/src/main/java/io/openliberty/tools/eclipse/test/it/LibertyPluginSWTBotGradleTest.java b/tests/src/main/java/io/openliberty/tools/eclipse/test/it/LibertyPluginSWTBotGradleTest.java index 5d971a0c..23cb7daa 100644 --- a/tests/src/main/java/io/openliberty/tools/eclipse/test/it/LibertyPluginSWTBotGradleTest.java +++ b/tests/src/main/java/io/openliberty/tools/eclipse/test/it/LibertyPluginSWTBotGradleTest.java @@ -105,7 +105,7 @@ public class LibertyPluginSWTBotGradleTest extends AbstractLibertyPluginSWTBotTe /** * Shared lib jar project name. */ - static final String MVN_SHARED_LIB_NAME = "test-shared-lib-jar"; + static final String MVN_SHARED_LIB_NAME = "shared-lib"; static String testAppPath; static String testWrapperAppPath; diff --git a/tests/src/main/java/io/openliberty/tools/eclipse/test/it/LibertyPluginSWTBotMavenTest.java b/tests/src/main/java/io/openliberty/tools/eclipse/test/it/LibertyPluginSWTBotMavenTest.java index b1f5ed11..194d28ad 100644 --- a/tests/src/main/java/io/openliberty/tools/eclipse/test/it/LibertyPluginSWTBotMavenTest.java +++ b/tests/src/main/java/io/openliberty/tools/eclipse/test/it/LibertyPluginSWTBotMavenTest.java @@ -103,7 +103,7 @@ public class LibertyPluginSWTBotMavenTest extends AbstractLibertyPluginSWTBotTes /** * Shared lib jar project name. */ - static final String MVN_SHARED_LIB_NAME = "test-shared-lib-jar"; + static final String MVN_SHARED_LIB_NAME = "shared-lib"; /** * Test app relative path. diff --git a/tests/src/main/java/io/openliberty/tools/eclipse/test/it/utils/SWTBotPluginOperations.java b/tests/src/main/java/io/openliberty/tools/eclipse/test/it/utils/SWTBotPluginOperations.java index a591562f..4fab74dd 100644 --- a/tests/src/main/java/io/openliberty/tools/eclipse/test/it/utils/SWTBotPluginOperations.java +++ b/tests/src/main/java/io/openliberty/tools/eclipse/test/it/utils/SWTBotPluginOperations.java @@ -560,7 +560,7 @@ public static void checkRunInContainerCheckBox(Shell shell, String runDebugConfi Object appConfigEntry = find(runDebugConfigName, libertyConfigTree, Option.factory().useContains(true).widgetClass(TreeItem.class).build()); go(appConfigEntry); - Object parmLabel = find("Run in container", appConfigEntry, Option.factory().widgetClass(Label.class).build()); + Object parmLabel = find("Run in Container", appConfigEntry, Option.factory().widgetClass(Label.class).build()); Control checkBox = ControlFinder.findControlInRange(parmLabel, SWTBotCheckBox.class, Direction.WEST); go(checkBox);