示例#1
0
        public void StopProcessingSpansWithoutStartFirst()
        {
            SetupSpanCollector();

            spanCollector.Stop();

            spanProcessorStub.AssertWasNotCalled(x => x.Stop());
            Assert.IsFalse(spanCollector.IsStarted);
        }
示例#2
0
 public void ShutDown()
 {
     if (spanCollector != null)
     {
         spanCollector.Stop();
     }
 }
示例#3
0
        public void StopProcessingSpans()
        {
            SetupSpanCollector();

            spanCollector.Stop();

            spanProcessorStub.AssertWasCalled(x => x.Stop());
        }