Add some integration tests for JUL
[lttng-ust-java-tests.git] / src / org / lttng / ust / agent / benchmarks / jul / handler / lttng / old / OldLttngJulHandlerTracingDisabledBenchmark.java
CommitLineData
da8308fe 1package org.lttng.ust.agent.benchmarks.jul.handler.lttng.old;
86316987
AM
2
3import static org.junit.Assert.assertTrue;
4
5import java.io.IOException;
6
7import org.junit.After;
8import org.junit.Before;
9import org.lttng.ust.agent.LTTngAgent;
da8308fe
AM
10import org.lttng.ust.agent.benchmarks.jul.handler.AbstractJulBenchmark;
11import org.lttng.ust.agent.utils.LttngSessionControl;
12import org.lttng.ust.agent.utils.LttngSessionControl.Domain;
86316987
AM
13
14@SuppressWarnings("deprecation")
15public class OldLttngJulHandlerTracingDisabledBenchmark extends AbstractJulBenchmark {
16
86316987
AM
17 @Before
18 public void testSetup() throws IOException {
da8308fe 19 LTTngAgent.getLTTngAgent();
86316987 20
da8308fe 21 assertTrue(LttngSessionControl.setupSession(null, Domain.JUL));
86316987
AM
22 }
23
24 @After
25 public void testTeardown() {
9368bd5e
AM
26 assertTrue(LttngSessionControl.stopSession(null));
27 assertTrue(LttngSessionControl.destroySession(null));
86316987 28
da8308fe 29 LTTngAgent.dispose();
86316987
AM
30 }
31}
This page took 0.024233 seconds and 4 git commands to generate.