com.atlassian.confluence.rest
Class RestEditorAcceptanceTest
java.lang.Object
com.atlassian.confluence.rest.RestEditorAcceptanceTest
public class RestEditorAcceptanceTest
- extends java.lang.Object
Field Summary |
org.junit.rules.TestName |
testName
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
testName
public org.junit.rules.TestName testName
RestEditorAcceptanceTest
public RestEditorAcceptanceTest()
setUp
public void setUp()
throws java.lang.Exception
- Throws:
java.lang.Exception
tearDown
public void tearDown()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetMacroPreviewWithoutPageViewPermission
public void testGetMacroPreviewWithoutPageViewPermission()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetMacroPreviewHandlesUnprocessedMacroBody
public void testGetMacroPreviewHandlesUnprocessedMacroBody()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetMacroPreviewHandlesProcessedMacroBody
public void testGetMacroPreviewHandlesProcessedMacroBody()
throws java.lang.Exception
$ cat post
{"contentId":"0", "macro":{"name":"processed-body", "body":"
blah blah", "params":{}}}
$ curl --header "Content-Type:application/json" --data @post http://localhost:8080/confluence/rest/tinymce/1/macro/preview
...
- Throws:
java.lang.Exception
testGetMacroPreviewHandlesUnprocessedMacroBodyWithSubMacros
public void testGetMacroPreviewHandlesUnprocessedMacroBodyWithSubMacros()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2003-2014 Atlassian. All Rights Reserved.