org.alfresco.repo.web.scripts
Class ReadOnlyTransactionInGetRestApiTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.alfresco.repo.web.scripts.BaseWebScriptTest
org.alfresco.repo.web.scripts.ReadOnlyTransactionInGetRestApiTest
- All Implemented Interfaces:
- junit.framework.Test
public class ReadOnlyTransactionInGetRestApiTest
- extends BaseWebScriptTest
Set of tests that ensure GET REST APIs are run successfully in a read-only
transaction (ALF-10179).
Some webscripts have a side effect of creating a "container" these tests
are to ensure this is handled gracefully in a way that allows the main
transaction to be declared as readonly for performance reasons.
- Since:
- 4.0
Methods inherited from class org.alfresco.repo.web.scripts.BaseWebScriptTest |
getDefaultRunAs, getRemoteServer, getServer, isLogEnabled, log, sendLocalRequest, sendRemoteRequest, sendRequest, sendRequest, setCustomContext, setDefaultRunAs, setListener, setRemoteServer, setTraceReqRes |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, 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 |
ReadOnlyTransactionInGetRestApiTest
public ReadOnlyTransactionInGetRestApiTest()
setUp
protected void setUp()
throws java.lang.Exception
- Overrides:
setUp
in class BaseWebScriptTest
- Throws:
java.lang.Exception
tearDown
protected void tearDown()
throws java.lang.Exception
- Overrides:
tearDown
in class junit.framework.TestCase
- Throws:
java.lang.Exception
testGetSiteBlog
public void testGetSiteBlog()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetSiteForumPosts
public void testGetSiteForumPosts()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetSiteLinks
public void testGetSiteLinks()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetSiteLink
public void testGetSiteLink()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetSiteTags
public void testGetSiteTags()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetSiteDataLists
public void testGetSiteDataLists()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetSiteWiki
public void testGetSiteWiki()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetSiteWikiPage
public void testGetSiteWikiPage()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetSiteWikiPageVersion
public void testGetSiteWikiPageVersion()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetDoclibTreeNode
public void testGetDoclibTreeNode()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetDoclibDoclist
public void testGetDoclibDoclist()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetDoclib2Doclist
public void testGetDoclib2Doclist()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetDoclibImages
public void testGetDoclibImages()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetDoclibCategoryNode
public void testGetDoclibCategoryNode()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetDoclibNode
public void testGetDoclibNode()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetDoclib2Node
public void testGetDoclib2Node()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetDoclibNodeLocation
public void testGetDoclibNodeLocation()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.