Package org.apache.storm.testing
Interface TestJob
public interface TestJob
This is the core interface for the storm java testing, usually
 we put our java unit testing logic in the run method. A sample
 code will be:
 
```java Testing.withSimulatedTimeLocalCluster(new TestJob() { public void run(Cluster cluster) { // your testing logic here. } }); ```
- 
Method SummaryModifier and TypeMethodDescriptionvoidrun(ILocalCluster cluster) run the testing logic with the cluster.
- 
Method Details- 
runrun the testing logic with the cluster.- Parameters:
- cluster- the cluster which created by- Testing.withSimulatedTimeLocalClusterand- Testing.withTrackedCluster.
- Throws:
- Exception
 
 
-