THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
import junitparams.JUnitParamsRunner; import junitparams.Parameters; import junitparams.naming.TestCaseName; |
2) Add {{@RunWith(JUnitParamsRunner.class)}}
to your test class:
Code Block |
---|
@Category(DistributedTest.class) @RunWith(JUnitParamsRunner.class) @SuppressWarnings("serial") public class CreateAndLocalDestroyInTXRegressionTest implements Serializable { |
...
And the results of running with enums
look look like this:
Code Block |
---|
CreateAndLocalDestroyInTXRegressionTest createAndLocalOpShouldCreateEventWithNewValue CreateAndLocalDestroyInTXRegressionTest.createAndLocalOpShouldCreateEventWithNewValue(LOCAL_DESTROY) CreateAndLocalDestroyInTXRegressionTest.createAndLocalOpShouldCreateEventWithNewValue(LOCAL_INVALIDATE) |