Class AmazonSQSRule

java.lang.Object
org.junit.rules.ExternalResource
zipkin2.junit.aws.AmazonSQSRule
All Implemented Interfaces:
org.junit.rules.TestRule

public class AmazonSQSRule
extends org.junit.rules.ExternalResource
  • Constructor Summary

    Constructors 
    Constructor Description
    AmazonSQSRule()  
  • Method Summary

    Modifier and Type Method Description
    protected void after()  
    protected void before()  
    java.util.List<zipkin2.Span> getSpans()  
    java.util.List<zipkin2.Span> getSpans​(boolean delete)  
    int notVisibleCount()  
    int queueCount()  
    java.lang.String queueUrl()  
    void send​(java.lang.String body)  
    AmazonSQSRule start​(int httpPort)  

    Methods inherited from class org.junit.rules.ExternalResource

    apply

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • start

      public AmazonSQSRule start​(int httpPort)
    • queueUrl

      public java.lang.String queueUrl()
    • before

      protected void before()
      Overrides:
      before in class org.junit.rules.ExternalResource
    • after

      protected void after()
      Overrides:
      after in class org.junit.rules.ExternalResource
    • queueCount

      public int queueCount()
    • notVisibleCount

      public int notVisibleCount()
    • getSpans

      public java.util.List<zipkin2.Span> getSpans()
    • getSpans

      public java.util.List<zipkin2.Span> getSpans​(boolean delete)
    • send

      public void send​(java.lang.String body)