|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.functest.framework.suite.BatcherTransform
com.atlassian.jira.functest.framework.suite.SystemPropertyBasedBatcherTransform
public class SystemPropertyBasedBatcherTransform
Batcher transform that reads current batch and number of batches from a system property.
BatcherTransform| Constructor Summary | |
|---|---|
SystemPropertyBasedBatcherTransform()
|
|
SystemPropertyBasedBatcherTransform(com.google.common.base.Predicate<org.junit.runner.Description> splittable)
|
|
| Method Summary | |
|---|---|
protected int |
batchNumber()
Batch number to execute. |
protected boolean |
isSplittable(org.junit.runner.Description classTestSuite)
Uses provided predicated to check if given suite is splittable. |
protected int |
numberOfBatches()
Total number of batches. |
| Methods inherited from class com.atlassian.jira.functest.framework.suite.BatcherTransform |
|---|
apply |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.google.common.base.Function |
|---|
equals |
| Constructor Detail |
|---|
public SystemPropertyBasedBatcherTransform()
public SystemPropertyBasedBatcherTransform(com.google.common.base.Predicate<org.junit.runner.Description> splittable)
| Method Detail |
|---|
protected int batchNumber()
BatcherTransform
batchNumber in class BatcherTransformprotected int numberOfBatches()
BatcherTransformTotal number of batches.
0 or less means no batching
numberOfBatches in class BatcherTransformprotected boolean isSplittable(org.junit.runner.Description classTestSuite)
isSplittable in class BatcherTransformclassTestSuite - suite to check
true by default
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||