use of com.hazelcast.client.test.TestHazelcastFactory in project hazelcast by hazelcast.
the class ClientEntryProcessorTest method setUp.
@Before
public void setUp() throws Exception {
Config config = getConfig();
TestHazelcastFactory hazelcastFactory = new TestHazelcastFactory();
member1 = hazelcastFactory.newHazelcastInstance(config);
member2 = hazelcastFactory.newHazelcastInstance(config);
client = hazelcastFactory.newHazelcastClient();
}
use of com.hazelcast.client.test.TestHazelcastFactory in project hazelcast by hazelcast.
the class DummyClientMapPartitionIteratorTest method setup.
@Before
public void setup() {
factory = new TestHazelcastFactory();
Config config = getConfig();
server = factory.newHazelcastInstance(config);
factory.newHazelcastInstance(config);
client = factory.newHazelcastClient(getClientConfig(server));
}
use of com.hazelcast.client.test.TestHazelcastFactory in project hazelcast by hazelcast.
the class ClientLoggingServiceTest method setUp.
@Before
public void setUp() {
factory = new TestHazelcastFactory();
HazelcastInstance member = factory.newHazelcastInstance();
HazelcastInstance client = factory.newHazelcastClient();
loggingService = client.getLoggingService();
logListener = new LogListener() {
@Override
public void log(LogEvent logEvent) {
}
};
logEvent = new LogEvent(null, member.getCluster().getLocalMember());
}
Aggregations