com.retek.component.task.impl.persistence.db.oracle
Class OracleTaskDaoTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.retek.commons.util.RetekTestCase
              extended bycom.retek.commons.domain.core.persistence.db.oracle.OracleTestCase
                  extended bycom.retek.component.task.impl.persistence.db.oracle.TaskOracleTestCase
                      extended bycom.retek.component.task.impl.persistence.db.oracle.OracleTaskDaoTest
All Implemented Interfaces:
junit.framework.Test

public class OracleTaskDaoTest
extends TaskOracleTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
OracleTaskDaoTest(java.lang.String name)
           
 
Method Summary
 void doSetUp()
           
 void doTearDown()
           
 java.lang.String getConnectionKey()
           
 void testCreateAndReadAndUpdateActivityRequestWorkTask()
           
 void testCreateAndReadAndUpdateOrderWorkTask()
           
 void testCreateAndReadAndUpdatePersonalReminderWorkTask()
           
 void testCreateAndReadAndUpdatePersonalReminderWorkTaskWithNullActivityRequest()
           
 void testCreateReferenceForNewOrderWorkTask()
           
 void testCreateReferenceForNewTask()
           
 void testFindAllRoutingAttributes()
           
 void testFindAllTaskTypes()
           
 void testFindTaskDtoByShortDesc()
           
 void testFindTaskDtoByTaskTypeRef()
           
 void testFindTaskDtoByTaskTypeUsability()
           
 void testFindWorkTaskByActivityRequestRef()
           
 void testFindWorkTaskByBannerIsNull()
           
 void testFindWorkTaskByBannerRef()
           
 void testFindWorkTaskByBatchNumberIsNull()
           
 void testFindWorkTaskByCreateDateGreaterThanDate()
           
 void testFindWorkTaskByCreatedByUserRef()
           
 void testFindWorkTaskByLeaseDateIsNull()
           
 void testFindWorkTaskByOrderRef()
           
 void testFindWorkTaskByResolvedFlag()
           
 void testFindWorkTaskByRoutingAttributeUsability()
           
 void testFindWorkTaskByTaskableRef()
           
 void testFindWorkTaskByTaskRef()
           
 void testFindWorkTaskByTaskTypeRef()
           
 void testFindWorkTaskByTaskTypeUsability()
           
 void testFindWorkTaskExcludeClosedFlag()
           
 void testFindWorkTaskSummaryItems()
           
 void testGetNextBatchNumber()
           
 void testLeaseNextWorkTaskFindNullLastLeaseDateWithEarliestCreateDate()
           
 void testReadAndUpdateTaskDto()
           
 void testReadRoutingAttribute()
           
 void testReadTaskType()
           
 
Methods inherited from class com.retek.component.task.impl.persistence.db.oracle.TaskOracleTestCase
assertRoutingAttributeDtosEqual, assertTaskDtosEqual, assertTaskTypeDtosEqual, assertWorkTaskDtosEqual, modifyTaskDto, modifyWorkTaskDto
 
Methods inherited from class com.retek.commons.domain.core.persistence.db.oracle.OracleTestCase
doInitialSetUp, getConnection, getRetekPreparedStatement, getTestDbRDate, isOracleTestCase, setUp, tearDown, touch, touch
 
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, resetSystemRDateToBusinessDay, runTest, setSecurityEncryption, setTaxSimulate
 
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

OracleTaskDaoTest

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

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

testCreateReferenceForNewTask

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

testCreateReferenceForNewOrderWorkTask

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

testGetNextBatchNumber

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

testReadAndUpdateTaskDto

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

testFindAllTaskTypes

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

testReadTaskType

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

testFindAllRoutingAttributes

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

testReadRoutingAttribute

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

testCreateAndReadAndUpdateOrderWorkTask

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

testCreateAndReadAndUpdateActivityRequestWorkTask

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

testCreateAndReadAndUpdatePersonalReminderWorkTask

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

testCreateAndReadAndUpdatePersonalReminderWorkTaskWithNullActivityRequest

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

testFindWorkTaskSummaryItems

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

testFindTaskDtoByTaskTypeRef

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

testFindTaskDtoByShortDesc

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

testFindTaskDtoByTaskTypeUsability

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

testFindWorkTaskByTaskRef

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

testFindWorkTaskByOrderRef

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

testFindWorkTaskByActivityRequestRef

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

testFindWorkTaskByCreatedByUserRef

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

testFindWorkTaskByBannerRef

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

testFindWorkTaskByTaskableRef

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

testFindWorkTaskByResolvedFlag

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

testFindWorkTaskExcludeClosedFlag

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

testFindWorkTaskByBannerIsNull

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

testFindWorkTaskByRoutingAttributeUsability

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

testFindWorkTaskByCreateDateGreaterThanDate

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

testFindWorkTaskByTaskTypeRef

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

testFindWorkTaskByBatchNumberIsNull

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

testFindWorkTaskByTaskTypeUsability

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

testFindWorkTaskByLeaseDateIsNull

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

testLeaseNextWorkTaskFindNullLastLeaseDateWithEarliestCreateDate

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

getConnectionKey

public java.lang.String getConnectionKey()
Overrides:
getConnectionKey in class TaskOracleTestCase


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