org.alfresco.repo.web.scripts.action
Class RunningActionRestApiTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.alfresco.repo.web.scripts.BaseWebScriptTest
              extended by org.alfresco.repo.web.scripts.action.RunningActionRestApiTest
All Implemented Interfaces:
junit.framework.Test

public class RunningActionRestApiTest
extends BaseWebScriptTest

Tests for the Running Action Webscripts


Nested Class Summary
 
Nested classes/interfaces inherited from class org.alfresco.repo.web.scripts.BaseWebScriptTest
BaseWebScriptTest.BaseWebScriptTestListener, BaseWebScriptTest.HttpMethodResponse, BaseWebScriptTest.PatchMethod, BaseWebScriptTest.RemoteServer, BaseWebScriptTest.WebScriptTestListener
 
Constructor Summary
RunningActionRestApiTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testEnsureAllQuiet()
          When we're run from a suite, check the previous test's work has finished before we run.
 void testRunningActionCancel()
           
 void testRunningActionGet()
           
 void testRunningActionsGet()
           
 void testRunningActionsPost()
           
 void testRunningReplicationActionsGet()
           
 void testRunningReplicationsActionsPost()
           
 
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
 

Constructor Detail

RunningActionRestApiTest

public RunningActionRestApiTest()
Method Detail

testEnsureAllQuiet

public void testEnsureAllQuiet()
                        throws java.lang.Exception
When we're run from a suite, check the previous test's work has finished before we run. If other things end up on the work queue with us, we'll get confused...

Throws:
java.lang.Exception

testRunningActionsGet

public void testRunningActionsGet()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testRunningReplicationActionsGet

public void testRunningReplicationActionsGet()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

testRunningActionGet

public void testRunningActionGet()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testRunningActionCancel

public void testRunningActionCancel()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testRunningActionsPost

public void testRunningActionsPost()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testRunningReplicationsActionsPost

public void testRunningReplicationsActionsPost()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

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


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.