@Test public void testGetTracerResolved() { OpenTracingHelper helper = new OpenTracingHelper(null); Tracer tracer = helper.getTracer(); assertNotNull(tracer); try { tracer.buildSpan("Test"); } catch (DummyTracer.DummyCalled e) { assertFalse(e.triggeringEnabled); return; } fail("DummyTracer did not initialize properly"); }
public Tracer getTracer() { if (tracer == null) { initTracer(); } return tracer; }
OpenTracingHelper extends Helper { public Tracer getTracer() { if (tracer == null) { initTracer(); } return tracer; } }
OpenTracingHelper extends Helper { public Tracer getTracer() { if (tracer == null) { initTracer(); } return tracer; } OpenTracingHelper(Rule rule); }
OpenTracingHelper extends Helper { public Tracer getTracer() { if (tracer == null) { initTracer(); } return tracer; } OpenTracingHelper(Rule rule); Tracer getTracer(); void associateSpan(Object obj, Span span); Span retrieveSpan(Object obj); void finishedSpan(Object key, Span span); boolean isFinished(Object key); void setState(Object obj, int value); int getState(Object obj); boolean ignore(Object obj); }
OpenTracingHelper extends Helper { public Tracer getTracer() { if (tracer == null) { initTracer(); } return tracer; } OpenTracingHelper(Rule rule); Tracer getTracer(); void associateSpan(Object obj, Span span); Span retrieveSpan(Object obj); void finishedSpan(Object key, Span span); boolean isFinished(Object key); void setState(Object obj, int value); int getState(Object obj); boolean ignore(Object obj);  }