org.alfresco.repo.forms.processor.workflow
Class TaskFormProcessorTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.alfresco.repo.forms.processor.workflow.TaskFormProcessorTest
All Implemented Interfaces:
junit.framework.Test

public class TaskFormProcessorTest
extends junit.framework.TestCase

Since:
3.4

Constructor Summary
TaskFormProcessorTest()
           
 
Method Summary
protected  void setUp()
           
 void testGenerateDefaultForm()
           
 void testGenerateMessage()
           
 void testGeneratePackageItems()
           
 void testGenerateSetsItemAndUrl()
           
 void testGenerateSingleAssociation()
           
 void testGenerateSingleProperty()
           
 void testGenerateTaskOwner()
           
 void testGenerateTransitions()
           
 void testGetTypedItem()
           
 void testIgnoresUnknownFields()
           
 void testPersistAssociationAdded()
           
 void testPersistAssociationAddedWith_()
           
 void testPersistAssociationsRemoved()
           
 void testPersistPackageItemsAdded()
           
 void testPersistPackageItemsRemoved()
           
 void testPersistPropertyAndTransition()
           
 void testPersistPropertyChanged()
           
 void testPersistPropertyWith_()
           
 void testPersistTransitions()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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

TaskFormProcessorTest

public TaskFormProcessorTest()
Method Detail

testGetTypedItem

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

testGenerateSetsItemAndUrl

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

testGenerateSingleProperty

public void testGenerateSingleProperty()

testGenerateSingleAssociation

public void testGenerateSingleAssociation()

testIgnoresUnknownFields

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

testGenerateDefaultForm

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

testGenerateTransitions

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

testGenerateMessage

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

testGenerateTaskOwner

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

testGeneratePackageItems

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

testPersistPropertyChanged

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

testPersistPropertyWith_

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

testPersistAssociationAdded

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

testPersistAssociationsRemoved

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

testPersistAssociationAddedWith_

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

testPersistTransitions

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

testPersistPropertyAndTransition

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

testPersistPackageItemsAdded

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

testPersistPackageItemsRemoved

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

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception


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