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;
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();
}