Class ITSearchEnabledFalse

  • Direct Known Subclasses:
    ITInMemoryStorage.ITSearchEnabledFalse

    public abstract class ITSearchEnabledFalse
    extends java.lang.Object
    Base test for when searchEnabled == false.

    Subtypes should create a connection to a real backend, even if that backend is in-process.

    • Constructor Detail

      • ITSearchEnabledFalse

        public ITSearchEnabledFalse()
    • Method Detail

      • storage

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

        protected zipkin2.storage.SpanStore store()
      • names

        protected zipkin2.storage.ServiceAndSpanNames names()
      • clear

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

        public void getTraces_indexDataReturnsNothing()
                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getServiceNames_isEmpty

        public void getServiceNames_isEmpty()
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getRemoteServiceNames_isEmpty

        public void getRemoteServiceNames_isEmpty()
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getSpanNames_isEmpty

        public void getSpanNames_isEmpty()
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • accept

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