Package zipkin2.junit.aws
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 voidafter()protected voidbefore()List<zipkin2.Span>getSpans()List<zipkin2.Span>getSpans(boolean delete)intnotVisibleCount()intqueueCount()StringqueueUrl()voidsend(String body)AmazonSQSRulestart(int httpPort)Methods inherited from class org.junit.rules.ExternalResource
apply
-
Constructor Details
-
AmazonSQSRule
public AmazonSQSRule()
-
-
Method Details
-
start
-
queueUrl
-
before
protected void before()- Overrides:
beforein classorg.junit.rules.ExternalResource
-
after
protected void after()- Overrides:
afterin classorg.junit.rules.ExternalResource
-
queueCount
public int queueCount() -
notVisibleCount
public int notVisibleCount() -
getSpans
-
getSpans
-
send
-