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
index af90383bd45a9599eebc3d01122ecab1e15c19e7..ed54927ea513c9cfa760ef9fd98562971341514e 100644 (file)
@@ -18,8 +18,8 @@
 
 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;
@@ -43,7 +43,7 @@ public final class JulTestUtils {
     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();
     }
This page took 0.028768 seconds and 4 git commands to generate.