@@ -219,7 +219,7 @@ func (s *internalWorkerTestSuite) TestReplayWorkflowHistory() {
219219 taskList := "taskList1"
220220 testEvents := []* shared.HistoryEvent {
221221 createTestEventWorkflowExecutionStarted (1 , & shared.WorkflowExecutionStartedEventAttributes {
222- WorkflowType : & shared.WorkflowType {Name : common .StringPtr ("testReplayWorkflow" )},
222+ WorkflowType : & shared.WorkflowType {Name : common .StringPtr ("go.uber.org/cadence/internal. testReplayWorkflow" )},
223223 TaskList : & shared.TaskList {Name : common .StringPtr (taskList )},
224224 Input : testEncodeFunctionArgs (getDefaultDataConverter ()),
225225 }),
@@ -261,7 +261,7 @@ func (s *internalWorkerTestSuite) TestReplayWorkflowHistory_LocalActivity() {
261261 taskList := "taskList1"
262262 testEvents := []* shared.HistoryEvent {
263263 createTestEventWorkflowExecutionStarted (1 , & shared.WorkflowExecutionStartedEventAttributes {
264- WorkflowType : & shared.WorkflowType {Name : common .StringPtr ("testReplayWorkflowLocalActivity" )},
264+ WorkflowType : & shared.WorkflowType {Name : common .StringPtr ("go.uber.org/cadence/internal. testReplayWorkflowLocalActivity" )},
265265 TaskList : & shared.TaskList {Name : common .StringPtr (taskList )},
266266 Input : testEncodeFunctionArgs (getDefaultDataConverter ()),
267267 }),
@@ -379,7 +379,7 @@ func (s *internalWorkerTestSuite) testDecisionTaskHandlerHelper(params workerExe
379379 createTestEventDecisionTaskStarted (3 ),
380380 }
381381
382- workflowType := "testReplayWorkflow"
382+ workflowType := "go.uber.org/cadence/internal. testReplayWorkflow"
383383 workflowID := "testID"
384384 runID := "testRunID"
385385
@@ -799,30 +799,30 @@ func (w activitiesCallingOptionsWorkflow) Execute(ctx Context, input []byte) (re
799799 require .True (w .t , * * rStruct2Ptr == testActivityResult {Index : 10 })
800800
801801 // By names.
802- err = ExecuteActivity (ctx , "testActivityByteArgs" , input ).Get (ctx , nil )
802+ err = ExecuteActivity (ctx , "go.uber.org/cadence/internal. testActivityByteArgs" , input ).Get (ctx , nil )
803803 require .NoError (w .t , err , err )
804804
805805 err = ExecuteActivity (ctx , "testActivityMultipleArgs" , 2 , []string {"test" }, true ).Get (ctx , nil )
806806 require .NoError (w .t , err , err )
807807
808- err = ExecuteActivity (ctx , "testActivityNoResult" , 2 , "test" ).Get (ctx , nil )
808+ err = ExecuteActivity (ctx , "go.uber.org/cadence/internal. testActivityNoResult" , 2 , "test" ).Get (ctx , nil )
809809 require .NoError (w .t , err , err )
810810
811- err = ExecuteActivity (ctx , "testActivityNoContextArg" , 2 , "test" ).Get (ctx , nil )
811+ err = ExecuteActivity (ctx , "go.uber.org/cadence/internal. testActivityNoContextArg" , 2 , "test" ).Get (ctx , nil )
812812 require .NoError (w .t , err , err )
813813
814- f = ExecuteActivity (ctx , "testActivityReturnString" )
814+ f = ExecuteActivity (ctx , "go.uber.org/cadence/internal. testActivityReturnString" )
815815 err = f .Get (ctx , & rString )
816816 require .NoError (w .t , err , err )
817817 require .Equal (w .t , "testActivity" , rString , rString )
818818
819- f = ExecuteActivity (ctx , "testActivityReturnEmptyString" )
819+ f = ExecuteActivity (ctx , "go.uber.org/cadence/internal. testActivityReturnEmptyString" )
820820 var r2sString string
821821 err = f .Get (ctx , & r2String )
822822 require .NoError (w .t , err , err )
823823 require .Equal (w .t , "" , r2sString )
824824
825- f = ExecuteActivity (ctx , "testActivityReturnEmptyStruct" )
825+ f = ExecuteActivity (ctx , "go.uber.org/cadence/internal. testActivityReturnEmptyStruct" )
826826 err = f .Get (ctx , & r2Struct )
827827 require .NoError (w .t , err , err )
828828 require .Equal (w .t , testActivityResult {}, r2Struct )
0 commit comments