c8cbe6e679d552599081c8b45645447ee05765a3
[lttng-ust-java-tests.git] /
1 package org.lttng.ust.agent.benchmarks.jul.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.benchmarks.jul.handler.AbstractJulBenchmark;
11 import org.lttng.ust.agent.utils.LttngSessionControl;
12 import org.lttng.ust.agent.utils.LttngSessionControl.Domain;
13
14 @SuppressWarnings("deprecation")
15 public class OldLttngJulHandlerTracingDisabledBenchmark extends AbstractJulBenchmark {
16
17 @Before
18 public void testSetup() throws IOException {
19 LTTngAgent.getLTTngAgent();
20
21 assertTrue(LttngSessionControl.setupSession(null, Domain.JUL));
22 }
23
24 @After
25 public void testTeardown() {
26 assertTrue(LttngSessionControl.stopSession());
27 assertTrue(LttngSessionControl.destroySession());
28
29 LTTngAgent.dispose();
30 }
31 }
This page took 0.028752 seconds and 3 git commands to generate.