com.retek.component.task
Class TaskTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.retek.commons.util.RetekTestCase
              extended bycom.retek.component.task.TaskTest
All Implemented Interfaces:
junit.framework.Test

public class TaskTest
extends RetekTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
TaskTest(java.lang.String name)
           
 
Method Summary
 void doInitialSetUp()
           
 void doSetUp()
           
 void doTearDown()
           
 void testActivityRequestTaskTypeIsAutoResolveOverridable()
           
 void testAssignTaskToActivityRequestType()
           
 void testAssignTaskToPendReason()
           
 void testAssignTaskToPendRule()
           
 void testCreateAndReadAndUpdateTask()
           
 void testDuplicateShortDescriptionWithinTaskTypeThrowsException()
           
 void testSubmitOfAVeryEmptyTaskDoesNotGiveNPE()
           
 void testSubmitTaskWithoutLongDescriptionThrowsException()
           
 void testSubmitTaskWithoutRoutingThrowsException()
           
 void testSubmitTaskWithoutShortDescriptionThrowsException()
           
 void testSubmitTaskWithoutTaskTypeThrowsException()
           
 void testTaskAndRoutingAttributeOverridablity()
           
 
Methods inherited from class com.retek.commons.util.RetekTestCase
assertBusinessException, assertBusinessExceptionAttribute, assertContainsString, assertDateEqualsIgnoreTime, assertDateNotEqualsIgnoreTime, assertDateTimeEquals, assertEquals, assertEqualValuesDeep, assertEqualValuesDeep, assertEqualValuesDeep, assertFalse, assertFalse, assertNotEquals, assertNotNullAndEquals, assertNull, assertRetekEquals, assertStateEquals, assertStateNotEquals, assertXmlEquals, findDto, findDto, getContext, getReadBackContext, getReferences, getReferences, isOracleTestCase, resetSystemRDateToBusinessDay, runTest, setSecurityEncryption, setTaxSimulate, setUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TaskTest

public TaskTest(java.lang.String name)
Method Detail

doInitialSetUp

public void doInitialSetUp()
                    throws java.lang.Exception
Specified by:
doInitialSetUp in class RetekTestCase
Throws:
java.lang.Exception

doSetUp

public void doSetUp()
             throws java.lang.Exception
Specified by:
doSetUp in class RetekTestCase
Throws:
java.lang.Exception

doTearDown

public void doTearDown()
                throws java.lang.Exception
Specified by:
doTearDown in class RetekTestCase
Throws:
java.lang.Exception

testSubmitOfAVeryEmptyTaskDoesNotGiveNPE

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

testCreateAndReadAndUpdateTask

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

testSubmitTaskWithoutShortDescriptionThrowsException

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

testSubmitTaskWithoutLongDescriptionThrowsException

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

testSubmitTaskWithoutRoutingThrowsException

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

testSubmitTaskWithoutTaskTypeThrowsException

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

testDuplicateShortDescriptionWithinTaskTypeThrowsException

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

testAssignTaskToPendReason

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

testAssignTaskToPendRule

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

testAssignTaskToActivityRequestType

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

testTaskAndRoutingAttributeOverridablity

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

testActivityRequestTaskTypeIsAutoResolveOverridable

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


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28