1 package org
.lttng
.ust
.agent
.jul
.benchmarks
.handler
.lttng
;
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
.jul
.LTTngLogHandler
;
10 import org
.lttng
.ust
.agent
.jul
.benchmarks
.handler
.AbstractJulBenchmark
;
11 import org
.lttng
.ust
.agent
.jul
.benchmarks
.utils
.LttngSessionControl
;
13 public class LttngJulHandlerTracingDisabledBenchmark
extends AbstractJulBenchmark
{
16 public void testSetup() throws IOException
{
17 handler
= new LTTngLogHandler(true);
19 assertTrue(LttngSessionControl
.setupJulSessionNoEvents());
23 public void testTeardown() {
24 assertTrue(LttngSessionControl
.stopSession());
25 assertTrue(LttngSessionControl
.destroySession());