1 package org
.lttng
.ust
.agent
.benchmarks
.jul
.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
.benchmarks
.jul
.handler
.AbstractJulBenchmark
;
10 import org
.lttng
.ust
.agent
.jul
.LttngLogHandler
;
11 import org
.lttng
.ust
.agent
.utils
.LttngSessionControl
;
12 import org
.lttng
.ust
.agent
.utils
.LttngSessionControl
.Domain
;
14 public class LttngJulHandlerTracingDisabledBenchmark
extends AbstractJulBenchmark
{
17 public void testSetup() throws IOException
{
18 handler
= new LttngLogHandler();
20 assertTrue(LttngSessionControl
.setupSession(null, Domain
.JUL
));
24 public void testTeardown() {
25 assertTrue(LttngSessionControl
.stopSession());
26 assertTrue(LttngSessionControl
.destroySession());