use of org.jmock.lib.concurrent.Synchroniser in project geode by apache.
the class GfshCommandJUnitTest method setup.
@Before
public void setup() {
mockContext = new Mockery();
mockContext.setImposteriser(ClassImposteriser.INSTANCE);
mockContext.setThreadingPolicy(new Synchroniser());
defaultGfshCommmand = new DefaultGfshCommmand();
}
use of org.jmock.lib.concurrent.Synchroniser in project geode by apache.
the class AutoBalancerJUnitTest method setupMock.
@Before
public void setupMock() {
mockContext = new Mockery() {
{
setImposteriser(ClassImposteriser.INSTANCE);
setThreadingPolicy(new Synchroniser());
}
};
mockCacheFacade = mockContext.mock(CacheOperationFacade.class);
mockAuditor = mockContext.mock(OOBAuditor.class);
mockScheduler = mockContext.mock(AuditScheduler.class);
mockClock = mockContext.mock(TimeProvider.class);
}
use of org.jmock.lib.concurrent.Synchroniser in project geode by apache.
the class ClientHttpRequestJUnitTest method setUp.
@Before
public void setUp() {
mockContext = new Mockery();
mockContext.setImposteriser(ClassImposteriser.INSTANCE);
mockContext.setThreadingPolicy(new Synchroniser());
}
use of org.jmock.lib.concurrent.Synchroniser in project geode by apache.
the class ServerLauncherTest method setup.
@Before
public void setup() {
mockContext = new Mockery() {
{
setImposteriser(ClassImposteriser.INSTANCE);
setThreadingPolicy(new Synchroniser());
}
};
DistributedSystem.removeSystem(InternalDistributedSystem.getConnectedInstance());
}
use of org.jmock.lib.concurrent.Synchroniser in project geode by apache.
the class DescribeDiskStoreFunctionJUnitTest method setup.
@Before
public void setup() {
mockContext = new Mockery();
mockContext.setImposteriser(ClassImposteriser.INSTANCE);
mockContext.setThreadingPolicy(new Synchroniser());
}
Aggregations