projects
/
lttng-ust-java-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Put common setup code in the utils classes
[lttng-ust-java-tests.git]
/
lttng-ust-java-tests-jul
/
src
/
test
/
java
/
org
/
lttng
/
ust
/
agent
/
integration
/
events
/
JulListEventsIT.java
diff --git
a/lttng-ust-java-tests-jul/src/test/java/org/lttng/ust/agent/integration/events/JulListEventsIT.java
b/lttng-ust-java-tests-jul/src/test/java/org/lttng/ust/agent/integration/events/JulListEventsIT.java
index 3a4cef60c62d8ae778c455996088e626fd445a0c..0c97d37ae86f91d1bfc01f679727370f916805cb 100644
(file)
--- a/
lttng-ust-java-tests-jul/src/test/java/org/lttng/ust/agent/integration/events/JulListEventsIT.java
+++ b/
lttng-ust-java-tests-jul/src/test/java/org/lttng/ust/agent/integration/events/JulListEventsIT.java
@@
-18,22
+18,17
@@
package org.lttng.ust.agent.integration.events;
package org.lttng.ust.agent.integration.events;
-import static org.junit.Assert.assertTrue;
-
import java.io.IOException;
import java.util.logging.Handler;
import java.util.logging.Logger;
import org.junit.After;
import java.io.IOException;
import java.util.logging.Handler;
import java.util.logging.Logger;
import org.junit.After;
+import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.BeforeClass;
-import org.lttng.tools.ILttngSession.Domain;
import org.lttng.tools.ILttngSession;
import org.lttng.tools.ILttngSession;
-import org.lttng.tools.LttngToolsHelper;
-import org.lttng.ust.agent.integration.events.ListEventsITBase;
import org.lttng.ust.agent.jul.LttngLogHandler;
import org.lttng.ust.agent.utils.JulTestUtils;
import org.lttng.ust.agent.jul.LttngLogHandler;
import org.lttng.ust.agent.utils.JulTestUtils;
-import org.lttng.ust.agent.utils.LttngUtils;
/**
* Test suite for the list events command for the JUL domain
/**
* Test suite for the list events command for the JUL domain
@@
-44,15
+39,19
@@
public class JulListEventsIT extends ListEventsITBase {
private Handler[] handlers;
/**
private Handler[] handlers;
/**
- *
Test c
lass setup
+ *
C
lass setup
*/
@BeforeClass
*/
@BeforeClass
- public static void testClassSetup() {
- /* Make sure we can find the JNI library and lttng-tools */
- assertTrue(JulTestUtils.checkForJulLibrary());
- assertTrue(LttngUtils.checkForLttngTools(Domain.JUL));
+ public static void julClassSetup() {
+ JulTestUtils.testClassSetup();
+ }
- LttngToolsHelper.destroyAllSessions();
+ /**
+ * Class cleanup
+ */
+ @AfterClass
+ public static void julClassCleanup() {
+ JulTestUtils.testClassCleanup();
}
/**
}
/**
This page took
0.024949 seconds
and
4
git commands to generate.