|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.junit.Assert org.kuali.rice.test.BaseRiceTestCase org.kuali.rice.test.RiceTestCase org.kuali.rice.test.RiceInternalSuiteDataTestCase org.kuali.rice.test.BaseModuleTestCase org.kuali.rice.test.BaselineTestCase org.kuali.rice.test.JettyServerTestCase
public abstract class JettyServerTestCase
A test case that supports declaratively defining a JettServer to run via annotations. Although this class supports running JettyServers on a per-suite and per-test basis, there is a pragmatic issue of concurrently running webapp contexts in the same classloader, so the webapp will have to support this (e.g. not rely on static singletons...) Another issue is that there is no suite "shutdown" per se, so a Jetty started up in a suite lifecycle will never get explicitly shut down.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.kuali.rice.test.BaselineTestCase |
---|
BaselineTestCase.BaselineMode, BaselineTestCase.Mode |
Field Summary |
---|
Fields inherited from class org.kuali.rice.test.BaselineTestCase |
---|
dirty |
Fields inherited from class org.kuali.rice.test.BaseModuleTestCase |
---|
LOG, moduleName |
Fields inherited from class org.kuali.rice.test.RiceTestCase |
---|
DEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycles |
Fields inherited from class org.kuali.rice.test.BaseRiceTestCase |
---|
log, method |
Constructor Summary | |
---|---|
JettyServerTestCase(java.lang.String moduleName)
|
|
JettyServerTestCase(java.lang.String moduleName,
BaselineTestCase.Mode mode)
|
Method Summary | |
---|---|
protected JettyServerLifecycle |
constructJettyServerLifecycle(JettyServer def)
|
protected java.util.List<org.kuali.rice.core.lifecycle.Lifecycle> |
getPerTestLifecycles()
|
protected java.util.List<org.kuali.rice.core.lifecycle.Lifecycle> |
getSuiteLifecycles()
Returns the List of Lifecycles to start when the unit test suite is started |
Methods inherited from class org.kuali.rice.test.BaselineTestCase |
---|
getClearDbPerTestLifecycles, getMode, getPerTestTablesNotToClear, getPerTestTablesToClear, getRollbackPerTestLifecycles, setUp |
Methods inherited from class org.kuali.rice.test.BaseModuleTestCase |
---|
getModuleName |
Methods inherited from class org.kuali.rice.test.RiceInternalSuiteDataTestCase |
---|
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKNSDefaultSuiteTestData, loadSuiteTestData |
Methods inherited from class org.kuali.rice.test.BaseRiceTestCase |
---|
getName, getPerTestDataLoaderLifecycle, resetLogLevels, setLogLevel, setName, setTestMethod |
Methods inherited from class org.junit.Assert |
---|
assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JettyServerTestCase(java.lang.String moduleName, BaselineTestCase.Mode mode)
BaselineTestCase#BaselineTestCase(String, Mode)
public JettyServerTestCase(java.lang.String moduleName)
BaselineTestCase#BaselineTestCase(String)
Method Detail |
---|
protected JettyServerLifecycle constructJettyServerLifecycle(JettyServer def)
protected java.util.List<org.kuali.rice.core.lifecycle.Lifecycle> getSuiteLifecycles()
RiceTestCase
getSuiteLifecycles
in class RiceTestCase
protected java.util.List<org.kuali.rice.core.lifecycle.Lifecycle> getPerTestLifecycles()
getPerTestLifecycles
in class BaselineTestCase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |