projects
/
lttng-ust-java-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Migrate to Junit 5 Jupiter
[lttng-ust-java-tests.git]
/
lttng-ust-java-tests-log4j2
/
src
/
test
/
java
/
org
/
lttng
/
ust
/
agent
/
utils
/
Log4j2TestUtils.java
diff --git
a/lttng-ust-java-tests-log4j2/src/test/java/org/lttng/ust/agent/utils/Log4j2TestUtils.java
b/lttng-ust-java-tests-log4j2/src/test/java/org/lttng/ust/agent/utils/Log4j2TestUtils.java
index 948e120f9fc729a2dea8ca3e1fc862567abca407..33eed8e2b8eaac92c8d81439fdee5b670786cdc5 100644
(file)
--- a/
lttng-ust-java-tests-log4j2/src/test/java/org/lttng/ust/agent/utils/Log4j2TestUtils.java
+++ b/
lttng-ust-java-tests-log4j2/src/test/java/org/lttng/ust/agent/utils/Log4j2TestUtils.java
@@
-18,8
+18,8
@@
package org.lttng.ust.agent.utils;
package org.lttng.ust.agent.utils;
-import static org.junit.
Assert
.assertTrue;
-import static org.junit.
Assert
.fail;
+import static org.junit.
jupiter.api.Assertions
.assertTrue;
+import static org.junit.
jupiter.api.Assertions
.fail;
import java.io.IOException;
import java.io.IOException;
@@
-44,7
+44,7
@@
public final class Log4j2TestUtils {
public static void testClassSetup() {
/* Make sure we can find the JNI library and lttng-tools */
checkForLog4jLibrary();
public static void testClassSetup() {
/* Make sure we can find the JNI library and lttng-tools */
checkForLog4jLibrary();
- assertTrue(
"lttng-tools is not working properly.", LttngUtils.checkForLttngTools(Domain.LOG4J)
);
+ assertTrue(
LttngUtils.checkForLttngTools(Domain.LOG4J), "lttng-tools is not working properly."
);
LttngToolsHelper.destroyAllSessions();
}
LttngToolsHelper.destroyAllSessions();
}
This page took
0.026439 seconds
and
4
git commands to generate.