This project has retired. For details please refer to its Attic page.
cas-workflow –

Summary

Tests Errors Failures Skipped Success Rate Time
116 0 0 10 91.379% 10.089

Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Package List

Package Tests Errors Failures Skipped Success Rate Time
org.apache.oodt.cas.workflow.instrepo 3 0 0 0 100% 0.829
org.apache.oodt.cas.workflow.examples 8 0 0 0 100% 0.091
org.apache.oodt.cas.workflow.lifecycle 5 0 0 0 100% 0.123
org.apache.oodt.cas.workflow.tools 1 0 0 0 100% 0.375
org.apache.oodt.cas.workflow.engine 6 0 0 1 83.333% 1.484
org.apache.oodt.cas.workflow.repository 36 0 0 0 100% 0.615
org.apache.oodt.cas.workflow.system 31 0 0 9 70.968% 4.523
org.apache.oodt.cas.workflow.util 2 0 0 0 100% 0.014
org.apache.oodt.cas.workflow.structs 4 0 0 0 100% 0.35
org.apache.oodt.cas.workflow.cli 20 0 0 0 100% 1.685

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.apache.oodt.cas.workflow.instrepo

Class Tests Errors Failures Skipped Success Rate Time
TestLuceneWorkflowInstanceRepository 3 0 0 0 100% 0.829

org.apache.oodt.cas.workflow.examples

Class Tests Errors Failures Skipped Success Rate Time
TestExternScriptTaskInstance 1 0 0 0 100% 0.077
TestFilterTask 7 0 0 0 100% 0.014

org.apache.oodt.cas.workflow.lifecycle

Class Tests Errors Failures Skipped Success Rate Time
TestWorkflowLifecycleManager 5 0 0 0 100% 0.123

org.apache.oodt.cas.workflow.tools

Class Tests Errors Failures Skipped Success Rate Time
TestInstanceRepoCleaner 1 0 0 0 100% 0.375

org.apache.oodt.cas.workflow.engine

Class Tests Errors Failures Skipped Success Rate Time
SimpleTester 1 0 0 1 0% 0.008
TestAsynchronousLocalEngineRunner 1 0 0 0 100% 0.13
TestTaskQuerier 2 0 0 0 100% 1.156
TestTaskRunner 1 0 0 0 100% 0.148
TestThreadPoolWorkflowEngine 1 0 0 0 100% 0.042

org.apache.oodt.cas.workflow.repository

Class Tests Errors Failures Skipped Success Rate Time
TestPackagedWorkflowRepository 5 0 0 0 100% 0.175
TestWorkflowDataSourceRepository 30 0 0 0 100% 0.302
TestWorkflowRepository 1 0 0 0 100% 0.138

org.apache.oodt.cas.workflow.system

Class Tests Errors Failures Skipped Success Rate Time
TestXmlRpcWorkflowManager 1 0 0 0 100% 0.641
TestXmlRpcWorkflowManagerClient 30 0 0 9 70% 3.882

org.apache.oodt.cas.workflow.util

Class Tests Errors Failures Skipped Success Rate Time
TestGenericWorkflowObjectFactory 2 0 0 0 100% 0.014

org.apache.oodt.cas.workflow.structs

Class Tests Errors Failures Skipped Success Rate Time
TestFILOPrioritySorter 1 0 0 0 100% 0.111
TestHighestFIFOPrioritySorter 1 0 0 0 100% 0.115
TestHighestPrioritySorter 1 0 0 0 100% 0.113
TestWorkflowInstance 1 0 0 0 100% 0.011

org.apache.oodt.cas.workflow.cli

Class Tests Errors Failures Skipped Success Rate Time
TestWorkflowCli 20 0 0 0 100% 1.685

Test Cases

TestWorkflowCli

testGetNextPage 0.581
testGetWorkflowById 0.085
testGetWorkflowInst 0.071
testGetWorkflowInsts 0.077
testGetConditionById 0.067
testGetTaskWallClockTime 0.073
testGetLastPage 0.069
testResumeWorkflowInst 0.067
testGetPrevPage 0.048
testSendEvent 0.049
testStopWorkflowInstance 0.051
testGetWorkflowsByEvent 0.044
testDynWorkflow 0.053
testGetTaskById 0.046
testPauseWorkflowInst 0.042
testGetFirstPage 0.06
testGetRegisteredEvents 0.051
testGetWallClockTime 0.055
testGetWorkflowInstMet 0.05
testGetWorkflows 0.035

SimpleTester

org.apache.oodt.cas.workflow.engine.SimpleTester 0

TestAsynchronousLocalEngineRunner

testRun 0.12

TestTaskQuerier

testGetNext 0.127
testGetRunnableProcessors 1.019

TestTaskRunner

testExecuteTasks 0.138

TestThreadPoolWorkflowEngine

testCurrentTaskWallClockTime 0.027

TestExternScriptTaskInstance

testExternsalScript 0.066

TestFilterTask

testRenameKeyThatDoesNotExist 0.002
testRemoveAfterRename 0.001
testRenameToKeyWithExistingValues 0
testRemoveKeyThatDoesNotExist 0
testRemoveMultipleKeys 0
testRemove 0
testRename 0

TestLuceneWorkflowInstanceRepository

testInstanceRepoInitialization 0.194
testUpdateDocumentAndPreserveId 0.163
testClearInstances 0.462

TestWorkflowLifecycleManager

testPctCompleteWorkflow1Stages 0.1
testReadNewStateFormat 0.003
testPctCompleteWengineStages 0.003
testStages 0.002
testReadOldStateFormat 0.005

TestPackagedWorkflowRepository

testDetectInnerWorkflows 0.116
testGetOptional 0.013
testWorkflowConditions 0.014
testDetectOuterLevelWorkflows 0.012
testGetConditionTimeout 0.009

TestWorkflowDataSourceRepository

testGetConditionsByTaskNameNoDataSource 0.154
testGetWorkflowByNameNoDataSource 0.006
testGetConfigurationByTaskIdNoDataSource 0.005
testAddWorkflow 0.021
testAddTask 0.003
testGetTasksByWorkflowNameNull 0.004
testGetworkflowByName 0.006
testGetWorkflowByNameIncorrect 0.003
testGetWorkflowsForEvent 0.009
testGetConditionsByTaskName 0.007
testGetWorkflowsNoConditionsOrTasks 0.002
testGetworkflowByIncorredId 0.003
testGetWorkflowTaskById 0.003
testGetTaskByWorkflowName 0.003
testGetworkflowByIdNoDataSource 0.003
testGetConditions 0.002
testGetWorkflowsForEventNoDataSource 0.002
testGetWorkflowTaskByIdNoDataSource 0.002
testGetTaskById 0.003
testGetworkflowsForEventNoTasksOrConditions 0.002
testGetRegisteredEvents 0.001
testWorkflowConditions 0.002
testDataSourceRepo 0.004
testGetConfigurationByTaskId 0.002
testGetTaskByIdNoDataSource 0.002
testGetWorkflowsNullRepository 0.003
testGetWorkflows 0.004
testGetConditionsByTaskId 0.002
testGetConditionsByTaskIdNoDataSource 0.003
testGetTasksByWorkflowNameNoDataSource 0.003

TestWorkflowRepository

testWorkflowConditions 0.002

TestFILOPrioritySorter

testSort 0.102

TestHighestFIFOPrioritySorter

testSort 0.105

TestHighestPrioritySorter

testSort 0.103

TestWorkflowInstance

testSetStartEndDateTimesNull 0.002

TestXmlRpcWorkflowManager

testGetWorkflowInstances 0.632

TestXmlRpcWorkflowManagerClient

testGetWorkflowInstances 0.041
testPaginateWorkflowInstances 0.007
testGetPages 3.075
testGetNullWorkflowInstancesByStatus 0.004
testGetWorkflowById 0.006
testRefreshRepository 0.006
testGetWorkflowCurrentTaskWallClockMinutes 0.012
testGetConditionById 0.001
testGetWorkflowInstanceMetadata 0.01
testPaginateWorkflowInstancesByStatus 0.003
testGetNumWorkflowInstancesByStatus 0.002
testPauseWorkflowInstance 0.003
testGetWorkflowsByEvent 0.003
testResumeWorkflowInstance 0.003
testUpdateWorkflowInstanceStatus 0.029
testGetWorkflowInstancesByStatus 0.003
testGetWorkflowInstanceById 0.011
testSetWorkflowInstanceCurrentTaskEndDateTime 0.011
testGetTaskById 0.001
testExecuteDynamicWorkflow 0.001
testGetWorkflowInstanceMetadataActuallyUsingTheXmlRpcWorkflowManagerClient 0.004
testUpdateMetadataForWorkflow 0.004
testSetWorkflowInstanceCurrentTaskStartDateTime 0.004
testGetRegisteredEvents 0.001
testStopWorkflowInstances 0.001
testGetWFMUrl 0
testGetNumWorkflowInstances 0.003
testGetWorkflowInstanceMetadata2 0.014
testGetWorkflowWallClockMinutes 0.015
testGetNullWorkflowInstances 0.015

TestInstanceRepoCleaner

testClean 0.365

TestGenericWorkflowObjectFactory

testCreateTask 0.002
testCreateCondition 0.001