コード例 #1
0
  /** 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();
  }
コード例 #2
0
 /** Teardown method common to most JUL tests. To be called in a @AfterClass. */
 public static void testClassCleanup() {
   LttngToolsHelper.deleteAllTraces();
 }