|
||||||||||
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.confluence.junit3.JUnit3TimingTestCase com.atlassian.confluence.AbstractConfluenceAcceptanceTest com.atlassian.confluence.UserMacrosAcceptanceTest
public class UserMacrosAcceptanceTest
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.AbstractConfluenceAcceptanceTest |
---|
ANONYMOUS_USER, DASHBOARD_RECENT_UPDATES_URL, DIRECTORY_CONFIG, exceptionTransformer, filesToDelete, log, logAdjuster, RANDOM, rpc, serverStateManager, TEST_ADMIN, TEST_BLOG, TEST_COMMENT, TEST_GROUP1, TEST_GROUP2, TEST_PAGE, TEST_SPACE, TEST_SPACE2, TEST_USER1, TEST_USER2, TESTBLOG_CONTENT, TESTBLOG_TITLE, testData, TESTPAGE_COMMENT, TESTPAGE_CONTENT, TESTPAGE_TITLE, TESTSPACE_KEY, TESTSPACE_TITLE, TESTSPACE2_KEY, TESTSPACE2_TITLE, VIEW_PERSONAL_SPACE_LINK, webTester, wikiMarkupRpc |
Constructor Summary | |
---|---|
UserMacrosAcceptanceTest()
|
Method Summary | |
---|---|
protected void |
setUp()
|
protected void |
tearDown()
Default tearDown method. |
void |
testAddExistingName()
|
void |
testAddExistingSystemMacro()
|
void |
testAddInvalidName()
|
void |
testAddNoName()
|
void |
testAddNoTitle()
|
void |
testBody()
|
void |
testEscapedBody()
|
void |
testMoreOnUserMacrosLink()
Another test to protect against merge problems (CONFDEV-514 and CONFDEV-1413). |
void |
testNoBody()
|
void |
testNoOutputOptionForCreateMacro()
Wiki output as a template option should no longer be presented. |
void |
testOutputHtml()
|
void |
testRenderedBody()
|
void |
testUnescapedBody()
|
void |
testUpdate()
|
void |
testUpdateExistingSystemMacro()
|
void |
testUpdateInvalidName()
|
void |
testUpdateNoName()
|
void |
testUpdateToExistingName()
|
void |
testUserMacroAddedWhileOneHiddenDoesNotRemoveHiddenUserMacro()
CONFDEV-3288. |
void |
testUserMacroBodyChoices()
Another test to protect against merge problems (CONFDEV-514 and CONFDEV-1413). |
void |
testUserMacroFields()
|
void |
testUserMacroHiddenIfPluginMacroWithSameNameInstalled()
CONFDEV-3288. |
void |
testUserMacroNoBodyConfiguration()
This test is to protect against merge problems which have occurred previously (CONFDEV-514 and CONFDEV-1413) where a choice of no body is not possible. |
void |
testUserMacrosAreNotAlwaysBlock()
Ensure that when a "legacy" macro is changed to HTML, you can longer set it back to wiki output via the UI. |
void |
testUserMacrosAreNotAlwaysInline()
|
void |
testUserMacrosNestedInsideAnUnmigratedWikiMarkupBlockStillRender()
|
void |
testUserMacroWithNoMetadataAnnotated()
|
void |
TODOXHTML_testOutputOptionPresentedForLegacyMacro()
Ensure that a "legacy" macro with a wiki template presents the option to select a different template format. |
void |
TODOXHTML_testWarningAboutWikiTemplateMacrosInList()
Test that the list of user macros will warn about macros that are set to wiki output. |
Methods inherited from class com.atlassian.confluence.junit3.JUnit3TimingTestCase |
---|
runBare, setExceptionTransformer |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runTest, 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 UserMacrosAcceptanceTest()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class AbstractConfluenceAcceptanceTest
Exception
public void testAddNoName()
public void testAddInvalidName()
public void testAddNoTitle()
public void testAddExistingName()
public void testAddExistingSystemMacro()
public void testUpdate()
public void testUpdateNoName()
public void testUpdateInvalidName()
public void testUpdateToExistingName()
public void testUpdateExistingSystemMacro()
public void testNoBody() throws IOException, org.apache.xmlrpc.XmlRpcException
IOException
org.apache.xmlrpc.XmlRpcException
public void testBody() throws IOException, org.apache.xmlrpc.XmlRpcException
IOException
org.apache.xmlrpc.XmlRpcException
public void testOutputHtml() throws IOException, org.apache.xmlrpc.XmlRpcException
IOException
org.apache.xmlrpc.XmlRpcException
public void testUnescapedBody() throws IOException, org.apache.xmlrpc.XmlRpcException
IOException
org.apache.xmlrpc.XmlRpcException
public void testEscapedBody() throws IOException, org.apache.xmlrpc.XmlRpcException
IOException
org.apache.xmlrpc.XmlRpcException
public void testRenderedBody() throws IOException, org.apache.xmlrpc.XmlRpcException
IOException
org.apache.xmlrpc.XmlRpcException
public void testUserMacrosNestedInsideAnUnmigratedWikiMarkupBlockStillRender() throws IOException, org.apache.xmlrpc.XmlRpcException
IOException
org.apache.xmlrpc.XmlRpcException
public void TODOXHTML_testWarningAboutWikiTemplateMacrosInList() throws Exception
Exception
public void testNoOutputOptionForCreateMacro() throws Exception
Exception
public void TODOXHTML_testOutputOptionPresentedForLegacyMacro() throws Exception
Exception
public void testUserMacrosAreNotAlwaysBlock() throws IOException, org.apache.xmlrpc.XmlRpcException
Exception
IOException
org.apache.xmlrpc.XmlRpcException
public void testUserMacrosAreNotAlwaysInline() throws IOException, org.apache.xmlrpc.XmlRpcException
IOException
org.apache.xmlrpc.XmlRpcException
public void testUserMacroFields() throws IOException, org.apache.xmlrpc.XmlRpcException
IOException
org.apache.xmlrpc.XmlRpcException
public void testUserMacroNoBodyConfiguration() throws Exception
Exception
public void testUserMacroBodyChoices() throws Exception
Exception
public void testMoreOnUserMacrosLink() throws Exception
Exception
public void testUserMacroHiddenIfPluginMacroWithSameNameInstalled() throws Exception
Exception
public void testUserMacroAddedWhileOneHiddenDoesNotRemoveHiddenUserMacro() throws Exception
Exception
public void testUserMacroWithNoMetadataAnnotated()
protected void tearDown() throws Exception
AbstractConfluenceAcceptanceTest
AbstractConfluenceAcceptanceTest.filesToDelete
list.
tearDown
in class AbstractConfluenceAcceptanceTest
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |