Search in sources :

Example 1 with DummyOperation

use of com.hazelcast.spi.impl.operationservice.impl.DummyOperation in project hazelcast by hazelcast.

the class OverloadedConnectionsPluginTest method toKey.

@Test
public void toKey() {
    assertToKey(DummyOperation.class.getName(), new DummyOperation());
    assertToKey(Integer.class.getName(), new Integer(10));
    assertToKey("Backup(" + DummyOperation.class.getName() + ")", new Backup(new DummyOperation(), getAddress(local), new long[0], true));
}
Also used : Backup(com.hazelcast.spi.impl.operationservice.impl.operations.Backup) DummyOperation(com.hazelcast.spi.impl.operationservice.impl.DummyOperation) QuickTest(com.hazelcast.test.annotation.QuickTest) Test(org.junit.Test) SlowTest(com.hazelcast.test.annotation.SlowTest)

Aggregations

DummyOperation (com.hazelcast.spi.impl.operationservice.impl.DummyOperation)1 Backup (com.hazelcast.spi.impl.operationservice.impl.operations.Backup)1 QuickTest (com.hazelcast.test.annotation.QuickTest)1 SlowTest (com.hazelcast.test.annotation.SlowTest)1 Test (org.junit.Test)1