Skip to content

Commit a7f96ee

Browse files
changed warn back to printTrace
1 parent 67aa984 commit a7f96ee

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/test/java/io/openliberty/tools/intellij/it/SingleModMPProjectTestCommon.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,9 @@
1010
package io.openliberty.tools.intellij.it;
1111

1212
import com.automation.remarks.junit5.Video;
13-
import com.intellij.openapi.diagnostic.Logger;
1413
import com.intellij.remoterobot.RemoteRobot;
1514
import com.intellij.remoterobot.fixtures.ComponentFixture;
1615
import com.intellij.remoterobot.utils.Keyboard;
17-
import io.openliberty.tools.intellij.LibertyExplorer;
1816
import io.openliberty.tools.intellij.it.fixtures.ProjectFrameFixture;
1917
import io.openliberty.tools.intellij.it.fixtures.WelcomeFrameFixture;
2018
import org.junit.jupiter.api.*;
@@ -36,8 +34,6 @@
3634
*/
3735
public abstract class SingleModMPProjectTestCommon {
3836

39-
private final static Logger LOGGER = Logger.getInstance(LibertyExplorer.class);
40-
4137
/**
4238
* URL to display the UI Component hierarchy. This is used to obtain xPath related
4339
* information to find UI components.
@@ -1052,7 +1048,7 @@ public void stopTerminal() {
10521048
} else if (getBuildCategory() == BuildType.GRADLE_TYPE) {
10531049
keyboard.enterText("./gradlew libertyStop");
10541050
} else {
1055-
LOGGER.warn("Invalid build type specified.");
1051+
TestUtils.printTrace(TestUtils.TraceSevLevel.INFO, "Invalid build type specified");
10561052
return;
10571053
}
10581054
keyboard.enter();
@@ -1071,7 +1067,7 @@ public void cleanTerminal() {
10711067
} else if (getBuildCategory() == BuildType.GRADLE_TYPE) {
10721068
keyboard.enterText("./gradlew clean");
10731069
} else {
1074-
LOGGER.warn("Invalid build type specified.");
1070+
TestUtils.printTrace(TestUtils.TraceSevLevel.INFO, "Invalid build type specified");
10751071
return;
10761072
}
10771073
keyboard.enter();

0 commit comments

Comments
 (0)