Package zipkin2.storage
Class ITServiceAndSpanNames<T extends StorageComponent>
java.lang.Object
zipkin2.storage.ITStorage<T>
zipkin2.storage.ITServiceAndSpanNames<T>
Base test for 
ServiceAndSpanNames.
 Subtypes should create a connection to a real backend, even if that backend is in-process.
- 
Field Summary
 - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected final voidConfigures aStorageComponent.Builderwith parameters for the test being executed.protected voidgetLocalServiceNames_includesLocalServiceName(org.junit.jupiter.api.TestInfo testInfo) protected voidgetLocalServiceNames_noServiceName(org.junit.jupiter.api.TestInfo testInfo) protected voidgetRemoteServiceNames(org.junit.jupiter.api.TestInfo testInfo) protected voidgetRemoteServiceNames_allReturned(org.junit.jupiter.api.TestInfo testInfo) protected voidgetRemoteServiceNames_dedupes(org.junit.jupiter.api.TestInfo testInfo) Ensures the service name index returns distinct resultsprotected voidgetRemoteServiceNames_noRemoteServiceName(org.junit.jupiter.api.TestInfo testInfo) protected voidgetRemoteServiceNames_serviceNameGoesLowercase(org.junit.jupiter.api.TestInfo testInfo) protected voidgetSpanNames(org.junit.jupiter.api.TestInfo testInfo) protected voidgetSpanNames_allReturned(org.junit.jupiter.api.TestInfo testInfo) protected voidgetSpanNames_dedupes(org.junit.jupiter.api.TestInfo testInfo) Ensures the span name index returns distinct resultsprotected voidgetSpanNames_doesNotMapNameToRemoteServiceName(org.junit.jupiter.api.TestInfo testInfo) protected voidgetSpanNames_noSpanName(org.junit.jupiter.api.TestInfo testInfo) protected voidgetSpanNames_serviceNameGoesLowercase(org.junit.jupiter.api.TestInfo testInfo) Methods inherited from class zipkin2.storage.ITStorage
accept, accept, assertGetTraceReturns, assertGetTraceReturns, assertGetTraceReturnsEmpty, assertGetTracesReturns, assertGetTracesReturns, assertGetTracesReturnsCount, assertGetTracesReturnsEmpty, assertGetTracesReturnsEmpty, blockWhileInFlight, checkStorage, clear, initializeStoragePerTest, names, newStorageBuilder, requestBuilder, returnsRawSpans, sortTrace, store, testSuffix, traces 
- 
Constructor Details
- 
ITServiceAndSpanNames
public ITServiceAndSpanNames() 
 - 
 - 
Method Details
- 
configureStorageForTest
Description copied from class:ITStorageConfigures aStorageComponent.Builderwith parameters for the test being executed.- Specified by:
 configureStorageForTestin classITStorage<T extends StorageComponent>
 - 
getLocalServiceNames_includesLocalServiceName
@Test protected void getLocalServiceNames_includesLocalServiceName(org.junit.jupiter.api.TestInfo testInfo) throws Exception - Throws:
 Exception
 - 
getLocalServiceNames_noServiceName
@Test protected void getLocalServiceNames_noServiceName(org.junit.jupiter.api.TestInfo testInfo) throws Exception - Throws:
 Exception
 - 
getRemoteServiceNames
@Test protected void getRemoteServiceNames(org.junit.jupiter.api.TestInfo testInfo) throws Exception - Throws:
 Exception
 - 
getRemoteServiceNames_allReturned
@Test protected void getRemoteServiceNames_allReturned(org.junit.jupiter.api.TestInfo testInfo) throws Exception - Throws:
 Exception
 - 
getRemoteServiceNames_dedupes
@Test protected void getRemoteServiceNames_dedupes(org.junit.jupiter.api.TestInfo testInfo) throws Exception Ensures the service name index returns distinct results- Throws:
 Exception
 - 
getRemoteServiceNames_noRemoteServiceName
@Test protected void getRemoteServiceNames_noRemoteServiceName(org.junit.jupiter.api.TestInfo testInfo) throws Exception - Throws:
 Exception
 - 
getRemoteServiceNames_serviceNameGoesLowercase
@Test protected void getRemoteServiceNames_serviceNameGoesLowercase(org.junit.jupiter.api.TestInfo testInfo) throws Exception - Throws:
 Exception
 - 
getSpanNames_doesNotMapNameToRemoteServiceName
@Test protected void getSpanNames_doesNotMapNameToRemoteServiceName(org.junit.jupiter.api.TestInfo testInfo) throws Exception - Throws:
 Exception
 - 
getSpanNames
- Throws:
 Exception
 - 
getSpanNames_allReturned
@Test protected void getSpanNames_allReturned(org.junit.jupiter.api.TestInfo testInfo) throws Exception - Throws:
 Exception
 - 
getSpanNames_dedupes
Ensures the span name index returns distinct results- Throws:
 Exception
 - 
getSpanNames_noSpanName
@Test protected void getSpanNames_noSpanName(org.junit.jupiter.api.TestInfo testInfo) throws Exception - Throws:
 Exception
 - 
getSpanNames_serviceNameGoesLowercase
@Test protected void getSpanNames_serviceNameGoesLowercase(org.junit.jupiter.api.TestInfo testInfo) throws Exception - Throws:
 Exception
 
 -