|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase com.atlassian.jira.functest.framework.FuncTestCase com.atlassian.jira.webtests.ztests.plugin.reloadable.AbstractReloadablePluginsTest com.atlassian.jira.webtests.ztests.plugin.reloadable.TestServletModuleReloadability
public class TestServletModuleReloadability
Test case verifying that a servlet defined within a plugin module works as expected after the module has been enabled and disabled any number of times.
This scenario assumes that the module has never been enabled and that the plugin is loaded in a disabled state when JIRA starts up.
Field Summary |
---|
Fields inherited from class com.atlassian.jira.webtests.ztests.plugin.reloadable.AbstractReloadablePluginsTest |
---|
referencePlugin |
Fields inherited from class com.atlassian.jira.functest.framework.FuncTestCase |
---|
administration, assertions, backdoor, environmentData, form, funcTestHelperFactory, issueTableAssertions, locator, log, navigation, oldway_consider_porting, page, parse, tester, text |
Constructor Summary | |
---|---|
TestServletModuleReloadability()
|
Method Summary | |
---|---|
protected void |
setUpTest()
Setup for an actual test |
void |
testShouldBeAccessibleAfterEnablingTheReferencePlugin()
|
void |
testShouldBeAccessibleAfterEnablingTheServletModule()
|
void |
testShouldBeAccessibleAfterMultipleEnablingAndDisablingTheReferencePlugin()
|
void |
testShouldNotExistAndBeAccessibleBeforeEnablingThePlugin()
|
Methods inherited from class com.atlassian.jira.functest.framework.FuncTestCase |
---|
builtInCustomFieldKey, getAssertions, getEnvironmentData, getTester, getWebClientListener, isDumpHTML, log, log, runBare, runTest, setEnvironmentData, setUp, setUpHttpUnitOptions, shouldSkipSetup, tearDown, tearDownTest, xpath |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestServletModuleReloadability()
Method Detail |
---|
protected void setUpTest()
FuncTestCase
setUpTest
in class AbstractReloadablePluginsTest
public void testShouldNotExistAndBeAccessibleBeforeEnablingThePlugin() throws Exception
Exception
public void testShouldBeAccessibleAfterEnablingTheReferencePlugin()
public void testShouldBeAccessibleAfterMultipleEnablingAndDisablingTheReferencePlugin()
public void testShouldBeAccessibleAfterEnablingTheServletModule()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |