Class ITServiceAndSpanNames

    • Constructor Detail

      • ITServiceAndSpanNames

        public ITServiceAndSpanNames()
    • Method Detail

      • storage

        protected abstract StorageComponent storage()
        Should maintain state between multiple calls within a test.
      • clear

        public abstract void clear()
                            throws java.lang.Exception
        Clears serviceAndSpanNames between tests.
        Throws:
        java.lang.Exception
      • getLocalServiceNames_includesLocalServiceName

        public void getLocalServiceNames_includesLocalServiceName()
                                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getLocalServiceNames_noServiceName

        public void getLocalServiceNames_noServiceName()
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • getRemoteServiceNames

        public void getRemoteServiceNames()
                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getRemoteServiceNames_allReturned

        public void getRemoteServiceNames_allReturned()
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • getRemoteServiceNames_dedupes

        public void getRemoteServiceNames_dedupes()
                                           throws java.io.IOException
        Ensures the service name index returns distinct results
        Throws:
        java.io.IOException
      • getRemoteServiceNames_noRemoteServiceName

        public void getRemoteServiceNames_noRemoteServiceName()
                                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • getRemoteServiceNames_serviceNameGoesLowercase

        public void getRemoteServiceNames_serviceNameGoesLowercase()
                                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • getSpanNames_doesNotMapNameToRemoteServiceName

        public void getSpanNames_doesNotMapNameToRemoteServiceName()
                                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getSpanNames

        public void getSpanNames()
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getSpanNames_allReturned

        public void getSpanNames_allReturned()
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • getSpanNames_dedupes

        public void getSpanNames_dedupes()
                                  throws java.io.IOException
        Ensures the span name index returns distinct results
        Throws:
        java.io.IOException
      • getSpanNames_noSpanName

        public void getSpanNames_noSpanName()
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • getSpanNames_serviceNameGoesLowercase

        public void getSpanNames_serviceNameGoesLowercase()
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • accept

        protected void accept​(java.util.List<Span> spans)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • accept

        protected void accept​(Span... spans)
                       throws java.io.IOException
        Throws:
        java.io.IOException