com.retek.component.task
Class TaskManagerTest

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

public class TaskManagerTest
extends RetekTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
TaskManagerTest(java.lang.String name)
           
 
Method Summary
 void doInitialSetUp()
           
 void doSetUp()
           
 void doTearDown()
           
 void testBuildActivityRequestWorkTaskWithOrder()
           
 void testBuildActivityRequestWorkTaskWithoutOrder()
           
 void testBuildOrderWorkTask()
           
 void testBuildPersonalReminderWorkTaskWithActivityRequest()
           
 void testBuildPersonalReminderWorkTaskWithOrder()
           
 void testBuildPersonalReminderWorkTaskWithoutAnything()
           
 void testBuildPrintFileRecords()
           
 void testBuildPrintFileRecordsDeterminesAutoResolve()
           
 void testBuildPrintFileRecordsFromMultipleBatchesThrowsException()
           
 void testBuildPrintFileRecordsWithEmptySetThrowsException()
           
 void testBuildTask()
           
 void testFindActivityRequestTasks()
           
 void testFindActivityRequestWorkTasksByActivityRequest()
           
 void testFindAllPrintFileRoutedWorkTasks()
           
 void testFindOrderTasks()
           
 void testFindOrderTaskTypes()
           
 void testFindOrderWorkTasksByOrder()
           
 void testFindOrderWorkTasksByTaskType()
           
 void testFindPersonalReminderWorkTasksExcludeClosed()
           
 void testFindPersonalReminderWorkTasksIncludeClosed()
           
 void testFindRoutingAttributes()
           
 void testFindTask()
           
 void testFindTaskForTaskTypeUsability()
           
 void testFindWorkTaskByNullLeaseDate()
           
 void testFindWorkTasksByTaskTypeUsability()
           
 void testGetNextBatchNumber()
           
 void testGetWorkTaskSummaryItems()
           
 void testLeaseIndividualWorkTaskLockedFromBefore()
           
 void testLeaseIndividualWorkTaskNotLockedFromBefore()
           
 void testLeaseIndividualWorkTaskResolved()
           
 void testLeaseWorkTask()
           
 void testLeaseWorkTaskCorrectlySorts()
           
 void testLeaseWorkTaskImplements24HourLeaseRule()
           
 void testPrintFileWorkTask22DaysOldNotFound()
           
 void testReleaseLease()
           
 void testWorkTaskAlreadyLeasedTodayAtEndOfList()
           
 
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

TaskManagerTest

public TaskManagerTest(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

testBuildTask

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

testFindTask

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

testFindTaskForTaskTypeUsability

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

testFindRoutingAttributes

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

testBuildOrderWorkTask

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

testFindWorkTasksByTaskTypeUsability

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

testFindWorkTaskByNullLeaseDate

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

testFindOrderWorkTasksByOrder

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

testFindOrderWorkTasksByTaskType

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

testBuildActivityRequestWorkTaskWithoutOrder

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

testBuildActivityRequestWorkTaskWithOrder

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

testFindActivityRequestWorkTasksByActivityRequest

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

testGetWorkTaskSummaryItems

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

testBuildPersonalReminderWorkTaskWithOrder

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

testBuildPersonalReminderWorkTaskWithActivityRequest

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

testBuildPersonalReminderWorkTaskWithoutAnything

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

testFindPersonalReminderWorkTasksIncludeClosed

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

testFindPersonalReminderWorkTasksExcludeClosed

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

testLeaseWorkTask

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

testLeaseIndividualWorkTaskNotLockedFromBefore

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

testLeaseIndividualWorkTaskLockedFromBefore

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

testLeaseIndividualWorkTaskResolved

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

testLeaseWorkTaskImplements24HourLeaseRule

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

testLeaseWorkTaskCorrectlySorts

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

testReleaseLease

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

testWorkTaskAlreadyLeasedTodayAtEndOfList

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

testFindAllPrintFileRoutedWorkTasks

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

testPrintFileWorkTask22DaysOldNotFound

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

testFindOrderTaskTypes

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

testFindActivityRequestTasks

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

testFindOrderTasks

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

testGetNextBatchNumber

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

testBuildPrintFileRecords

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

testBuildPrintFileRecordsWithEmptySetThrowsException

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

testBuildPrintFileRecordsFromMultipleBatchesThrowsException

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

testBuildPrintFileRecordsDeterminesAutoResolve

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


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