public class TestRunnerFactory
extends java.lang.Object
Constructor and Description |
---|
TestRunnerFactory(org.junit.runners.model.TestClass testClass,
java.lang.reflect.Constructor runnerConstructor) |
Modifier and Type | Method and Description |
---|---|
java.util.List<org.junit.runner.Runner> |
createRunnersForRoles(java.util.Collection<UserIdentifier> producerIdentifiers,
java.util.Collection<UserIdentifier> consumerIdentifiers)
Creates runners for each producer consumer combination.
|
public TestRunnerFactory(org.junit.runners.model.TestClass testClass, java.lang.reflect.Constructor runnerConstructor)
testClass
- Test classrunnerConstructor
- Test class constructorpublic java.util.List<org.junit.runner.Runner> createRunnersForRoles(java.util.Collection<UserIdentifier> producerIdentifiers, java.util.Collection<UserIdentifier> consumerIdentifiers) throws java.lang.Exception
producerIdentifiers
- Producer identifiersconsumerIdentifiers
- Consumer identifiersjava.lang.Exception
- If an exception is thrown