org.alfresco.repo.web.scripts.workflow
Class WorkflowRestApiTest

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.workflow.WorkflowRestApiTest
All Implemented Interfaces:
junit.framework.Test

public class WorkflowRestApiTest
extends BaseWebScriptTest


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
WorkflowRestApiTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testTaskInstanceGet()
           
 void testTaskInstancePut()
           
 void testTaskInstancesGet()
           
 void testWorkflowDefinitionsGet()
           
 void testWorkflowInstanceDelete()
           
 void testWorkflowInstanceGet()
           
 void testWorkflowInstancesForNodeGet()
           
 void testWorkflowInstancesGet()
           
 
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

WorkflowRestApiTest

public WorkflowRestApiTest()
Method Detail

testTaskInstancesGet

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

testTaskInstanceGet

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

testTaskInstancePut

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

testWorkflowDefinitionsGet

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

testWorkflowInstanceGet

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

testWorkflowInstancesGet

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

testWorkflowInstancesForNodeGet

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

testWorkflowInstanceDelete

public void testWorkflowInstanceDelete()
                                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.