Move the "LTTng control" to separate packages
[lttng-ust-java-tests.git] / src / test / java / org / lttng / ust / agent / integration / log4j / Log4jMultiSessionTest.java
index 31556b60317cf10813eb3e41001f6bc414aa1365..ef0bae1a8f7c5ae23f0f50247a909128f9e0b58e 100644 (file)
@@ -29,11 +29,11 @@ import org.junit.After;
 import org.junit.AfterClass;
 import org.junit.Before;
 import org.junit.BeforeClass;
+import org.lttng.tools.ILttngSession.Domain;
+import org.lttng.tools.LttngToolsHelper;
+import org.lttng.tools.utils.LttngUtils;
 import org.lttng.ust.agent.integration.MultiSessionTestBase;
 import org.lttng.ust.agent.log4j.LttngLogAppender;
-import org.lttng.ust.agent.utils.LttngSession;
-import org.lttng.ust.agent.utils.LttngSession.Domain;
-import org.lttng.ust.agent.utils.MiscTestUtils;
 
 /**
  * Log4j tests for multiple concurrent tracing sessions
@@ -53,10 +53,10 @@ public class Log4jMultiSessionTest extends MultiSessionTestBase {
     @BeforeClass
     public static void log4jClassSetup() {
         /* Skip tests if we can't find the JNI library or lttng-tools */
-        assumeTrue(MiscTestUtils.checkForLog4jLibrary());
-        assumeTrue(MiscTestUtils.checkForLttngTools(Domain.LOG4J));
+        assumeTrue(LttngUtils.checkForLog4jLibrary());
+        assumeTrue(LttngUtils.checkForLttngTools(Domain.LOG4J));
 
-        LttngSession.destroyAllSessions();
+        LttngToolsHelper.destroyAllSessions();
     }
 
     /**
@@ -64,7 +64,7 @@ public class Log4jMultiSessionTest extends MultiSessionTestBase {
      */
     @AfterClass
     public static void log4jClassCleanup() {
-        LttngSession.deleteAllTracee();
+        LttngToolsHelper.deleteAllTraces();
     }
 
        /**
This page took 0.024039 seconds and 4 git commands to generate.