org.spincast.defaults.tests.SpincastDefaultNoAppIntegrationTestBase Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-testing-default Show documentation
Show all versions of spincast-testing-default Show documentation
Provides utilities to tests using the default Guice module and components.
The newest version!
package org.spincast.defaults.tests;
import org.spincast.core.exchange.IDefaultRequestContext;
import org.spincast.core.websocket.IDefaultWebsocketContext;
import org.spincast.testing.core.SpincastNoAppIntegrationTestBase;
import com.google.inject.Module;
/**
* Base class for integration tests with no application
* associated and that use the default request context, the
* default WebSocket context and
* SpincastDefaultTestingModule as the
* main Guice module to bind.
*/
public class SpincastDefaultNoAppIntegrationTestBase extends
SpincastNoAppIntegrationTestBase {
@Override
public Module getTestingModule() {
return new SpincastDefaultTestingModule(getMainArgsToUse());
}
@Override
protected String[] getMainArgsToUse() {
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy