public interface TestJob
Testing.withSimulatedTimeLocalCluster(new TestJob() {
public void run(Cluster cluster) {
// your testing logic here.
}
});| Modifier and Type | Method and Description |
|---|---|
void |
run(ILocalCluster cluster)
run the testing logic with the cluster.
|
void run(ILocalCluster cluster) throws Exception
cluster - the cluster which created by Testing.withSimulatedTimeLocalCluster
and Testing.withTrackedCluster.ExceptionCopyright © 2015. All rights reserved.