- /* Make sure we can find the JNI library and lttng-tools */
- assertTrue(Log4jTestUtils.checkForLog4jLibrary());
- assertTrue(LttngUtils.checkForLttngTools(ILttngSession.Domain.LOG4J));
- LttngToolsHelper.destroyAllSessions();
+ Log4jTestUtils.testClassSetup();
+ }
+
+ /**
+ * Class cleanup
+ */
+ @AfterClass
+ public static void log4jClassCleanup() {
+ Log4jTestUtils.testClassCleanup();