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
index a258e923111ad03a23eb9f7c60039adf625bb08f..fe8f0f2aae4ed784e3e665d1a83875d69a19415b 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;
 
@@ -43,7 +43,7 @@ public final class Log4jTestUtils {
     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();
     }
This page took 0.022356 seconds and 4 git commands to generate.