1 package org
.lttng
.ust
.agent
.benchmarks
.jul
.handler
.lttng
.old
;
3 import static org
.junit
.Assert
.assertTrue
;
5 import java
.io
.IOException
;
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
;
14 @SuppressWarnings("deprecation")
15 public class OldLttngJulHandlerTracingDisabledBenchmark
extends AbstractJulBenchmark
{
18 public void testSetup() throws IOException
{
19 LTTngAgent
.getLTTngAgent();
21 assertTrue(LttngSessionControl
.setupSession(null, Domain
.JUL
));
25 public void testTeardown() {
26 assertTrue(LttngSessionControl
.stopSession());
27 assertTrue(LttngSessionControl
.destroySession());