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-log4j
/
src
/
test
/
java
/
org
/
lttng
/
ust
/
agent
/
utils
/
Log4jTestUtils.java
diff --git
a/lttng-ust-java-tests-log4j/src/test/java/org/lttng/ust/agent/utils/Log4jTestUtils.java
b/lttng-ust-java-tests-log4j/src/test/java/org/lttng/ust/agent/utils/Log4jTestUtils.java
index a258e923111ad03a23eb9f7c60039adf625bb08f..fe8f0f2aae4ed784e3e665d1a83875d69a19415b 100644
(file)
--- a/
lttng-ust-java-tests-log4j/src/test/java/org/lttng/ust/agent/utils/Log4jTestUtils.java
+++ b/
lttng-ust-java-tests-log4j/src/test/java/org/lttng/ust/agent/utils/Log4jTestUtils.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;
@@
-43,7
+43,7
@@
public final class Log4jTestUtils {
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.024078 seconds
and
4
git commands to generate.