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-jul
/
src
/
test
/
java
/
org
/
lttng
/
ust
/
agent
/
utils
/
JulTestUtils.java
diff --git
a/lttng-ust-java-tests-jul/src/test/java/org/lttng/ust/agent/utils/JulTestUtils.java
b/lttng-ust-java-tests-jul/src/test/java/org/lttng/ust/agent/utils/JulTestUtils.java
index af90383bd45a9599eebc3d01122ecab1e15c19e7..ed54927ea513c9cfa760ef9fd98562971341514e 100644
(file)
--- a/
lttng-ust-java-tests-jul/src/test/java/org/lttng/ust/agent/utils/JulTestUtils.java
+++ b/
lttng-ust-java-tests-jul/src/test/java/org/lttng/ust/agent/utils/JulTestUtils.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.util.logging.Level;
import java.io.IOException;
import java.util.logging.Level;
@@
-43,7
+43,7
@@
public final class JulTestUtils {
public static void testClassSetup() {
/* Make sure we can find the JNI library and lttng-tools */
checkForJulLibrary();
public static void testClassSetup() {
/* Make sure we can find the JNI library and lttng-tools */
checkForJulLibrary();
- assertTrue(
"lttng-tools is not working properly.", LttngUtils.checkForLttngTools(Domain.JUL)
);
+ assertTrue(
LttngUtils.checkForLttngTools(Domain.JUL), "lttng-tools is not working properly."
);
LttngToolsHelper.destroyAllSessions();
}
LttngToolsHelper.destroyAllSessions();
}
This page took
0.023404 seconds
and
4
git commands to generate.