Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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) {

...