/** Setup method common to most JUL tests. To be called in a @BeforeClass. */
  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));

    LttngToolsHelper.destroyAllSessions();
  }
 /** Teardown method common to most JUL tests. To be called in a @AfterClass. */
 public static void testClassCleanup() {
   LttngToolsHelper.deleteAllTraces();
 }