1 package org.lttng.ust.agent.benchmarks.jul.handler.lttng.old;
3 import static org.junit.Assert.assertTrue;
5 import org.junit.After;
6 import org.junit.Before;
7 import org.lttng.ust.agent.LTTngAgent;
8 import org.lttng.ust.agent.benchmarks.jul.handler.AbstractJulBenchmark;
9 import org.lttng.ust.agent.utils.LttngSession;
10 import org.lttng.ust.agent.utils.LttngSession.Domain;
12 @SuppressWarnings("deprecation")
13 public class OldLttngJulHandlerTracingDisabledBenchmark extends AbstractJulBenchmark {
15 private LttngSession session;
18 public void testSetup() {
19 LTTngAgent.getLTTngAgent();
21 session = new LttngSession(null, Domain.JUL);
22 assertTrue(session.enableEvents("non-event"));
23 assertTrue(session.start());
27 public void testTeardown() {
28 assertTrue(session.stop());