THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
ClientDeserializationCopyOnReadRegressionTest (org.apache.geode.cache) testCopyOnReadWithBridgeServer(true) testCopyOnReadWithBridgeServer(false) |
When using You can also use Strings that represent enums
(ex: CreateAndLocalDestroyInTXRegressionTest):
Code Block |
---|
private enum LocalOperation {
LOCAL_DESTROY((region) -> region.localDestroy(KEY),
TXStateStub_LOCAL_DESTROY_NOT_ALLOWED_IN_TRANSACTION),
LOCAL_INVALIDATE((region) -> region.localInvalidate(KEY),
TXStateStub_LOCAL_INVALIDATE_NOT_ALLOWED_IN_TRANSACTION);
...
}
@Test
@Parameters({"LOCAL_DESTROY", "LOCAL_INVALIDATE"})
@TestCaseName("{method}({params})")
public void createAndLocalOpShouldCreateEventWithNewValue(final LocalOperation operation) { |
...