use of com.navercorp.pinpoint.common.trace.TraceMetadataLoader in project pinpoint by naver.
the class ServiceTypeInitializerTest method testDuplicated3.
@Test(expected = RuntimeException.class)
public void testDuplicated3() {
List<TraceMetadataProvider> providers = Arrays.<TraceMetadataProvider>asList(new TestProvider(TEST_TYPES, TEST_KEYS), new TestProvider(TEST_TYPES, new AnnotationKey[0]));
TraceMetadataLoader loader = new TraceMetadataLoader();
loader.load(providers);
}
use of com.navercorp.pinpoint.common.trace.TraceMetadataLoader in project pinpoint by naver.
the class ServiceTypeInitializerTest method testDuplicated.
@Test(expected = RuntimeException.class)
public void testDuplicated() {
List<TraceMetadataProvider> providers = Arrays.<TraceMetadataProvider>asList(new TestProvider(TEST_TYPES, TEST_KEYS), new TestProvider(new ServiceType[0], TEST_KEYS));
TraceMetadataLoader loader = new TraceMetadataLoader();
loader.load(providers);
}
use of com.navercorp.pinpoint.common.trace.TraceMetadataLoader in project pinpoint by naver.
the class ServiceTypeInitializerTest method testDuplicated2.
@Test(expected = RuntimeException.class)
public void testDuplicated2() {
List<TraceMetadataProvider> providers = Arrays.<TraceMetadataProvider>asList(new TestProvider(TEST_TYPES, TEST_KEYS), new TestProvider(TEST_TYPES, new AnnotationKey[0]));
TraceMetadataLoader loader = new TraceMetadataLoader();
loader.load(providers);
}
Aggregations