1 package org
.lttng
.ust
.agent
.jul
.benchmarks
.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
.jul
.benchmarks
.handler
.AbstractJulBenchmark
;
11 import org
.lttng
.ust
.agent
.jul
.benchmarks
.utils
.LttngSessionControl
;
13 @SuppressWarnings("deprecation")
14 public class OldLttngJulHandlerTracingDisabledBenchmark
extends AbstractJulBenchmark
{
16 private LTTngAgent agent
;
19 public void testSetup() throws IOException
{
20 agent
= LTTngAgent
.getLTTngAgent();
22 assertTrue(LttngSessionControl
.setupJulSessionNoEvents());
26 public void testTeardown() {
27 assertTrue(LttngSessionControl
.stopSession());
28 assertTrue(LttngSessionControl
.destroySession());