a7afc033f15e1a110d1802b34684bce377be19fe
[lttng-ust-java-tests.git] /
1 package org.lttng.ust.agent.jul.benchmarks.handler.lttng.old;
2
3 import static org.junit.Assert.assertTrue;
4
5 import java.io.IOException;
6
7 import org.junit.After;
8 import org.junit.Before;
9 import org.lttng.ust.agent.LTTngAgent;
10 import org.lttng.ust.agent.jul.benchmarks.handler.AbstractJulBenchmark;
11 import org.lttng.ust.agent.jul.benchmarks.utils.LttngSessionControl;
12
13 @SuppressWarnings("deprecation")
14 public class OldLttngJulHandlerTracingDisabledBenchmark extends AbstractJulBenchmark {
15
16 private LTTngAgent agent;
17
18 @Before
19 public void testSetup() throws IOException {
20 agent = LTTngAgent.getLTTngAgent();
21
22 assertTrue(LttngSessionControl.setupJulSessionNoEvents());
23 }
24
25 @After
26 public void testTeardown() {
27 assertTrue(LttngSessionControl.stopSession());
28 assertTrue(LttngSessionControl.destroySession());
29
30 agent.dispose();
31 }
32 }
This page took 0.029865 seconds and 3 git commands to generate.