org.alfresco.repo.forms.processor.action
Class ActionFormProcessorTest

java.lang.Object
  extended by org.alfresco.repo.forms.processor.action.ActionFormProcessorTest

public class ActionFormProcessorTest
extends java.lang.Object

Test class for the ActionFormProcessor.

Since:
4.0

Constructor Summary
ActionFormProcessorTest()
           
 
Method Summary
 void createTestObjects()
          Create some content that can have actions run on it.
 void generateDefaultFormForActionWithNodeRefParam()
           
 void generateDefaultFormForParameterlessAction()
           
 void generateFormWithSelectedFields()
           
static void initTestsContext()
           
 void persistForm_executeTransformAction()
           
 void requestFormForNonExistentAction()
           
 void tidyUpTestNodes()
          This method deletes any nodes which were created during test execution.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionFormProcessorTest

public ActionFormProcessorTest()
Method Detail

initTestsContext

public static void initTestsContext()
                             throws java.lang.Exception
Throws:
java.lang.Exception

createTestObjects

public void createTestObjects()
                       throws java.lang.Exception
Create some content that can have actions run on it.

Throws:
java.lang.Exception

tidyUpTestNodes

public void tidyUpTestNodes()
                     throws java.lang.Exception
This method deletes any nodes which were created during test execution.

Throws:
java.lang.Exception

requestFormForNonExistentAction

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

generateDefaultFormForParameterlessAction

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

generateDefaultFormForActionWithNodeRefParam

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

generateFormWithSelectedFields

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

persistForm_executeTransformAction

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


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