mutable_state_mock.go ×6

Frontier kind: Code frontier

unlabeled · c_7d839537a743

14 tests · 4076 LOC · 189 files · introduces 0 tests · 28 LOC · 3 files

Introduces — evidence that enters the hierarchy at this concept

Code
8 ranges28 lines · 3 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
594 ranges4076 lines · 189 files · Browse complete extent
All tests (intent)
14 testsBrowse complete intent

Neighbourhood graph

The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.

Introduced files, introduced tests, and structurally relevant concept specialization

In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.

Graph controls are ready.

Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.

Native relationship evidence

Every exact file and test below is linked only from the concept that introduces it.

Introduced tests

Every collected test enters the hierarchy at exactly one concept.

No tests are introduced at this concept. Its intent tests are introduced by other concepts.

Introduced code

Every collected source range enters the hierarchy at exactly one concept.

3 files ranked by introduced lines: 28 introduced LOC across 8 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/service/history/interfaces/mutable_state_mock.go 24 introduced LOC · 6 ranges

Open complete file

189
190 // AddChildWorkflowExecutionCanceledEvent indicates an expected call of AddChildWorkflowExecutionCanceledEvent.
191 > func (mr *MockMutableStateMockRecorder) AddChildWorkflowExecutionCanceledEvent(arg0, arg1, arg2 any) *gomock.Call { mutable_state_mock.go
192 > mr.mock.ctrl.T.Helper()
193 > return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddChildWorkflowExecutionCanceledEvent", reflect.TypeOf((*MockMutableState)(nil).AddChildWorkflowExecutionCanceledEvent), arg0, arg1, arg2)
194 > }
195
196 // AddChildWorkflowExecutionCompletedEvent mocks base method.
219
220 // AddChildWorkflowExecutionFailedEvent indicates an expected call of AddChildWorkflowExecutionFailedEvent.
221 > func (mr *MockMutableStateMockRecorder) AddChildWorkflowExecutionFailedEvent(arg0, arg1, arg2 any) *gomock.Call { mutable_state_mock.go
222 > mr.mock.ctrl.T.Helper()
223 > return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddChildWorkflowExecutionFailedEvent", reflect.TypeOf((*MockMutableState)(nil).AddChildWorkflowExecutionFailedEvent), arg0, arg1, arg2)
224 > }
225
226 // AddChildWorkflowExecutionStartedEvent mocks base method.
234
235 // AddChildWorkflowExecutionStartedEvent indicates an expected call of AddChildWorkflowExecutionStartedEvent.
236 > func (mr *MockMutableStateMockRecorder) AddChildWorkflowExecutionStartedEvent(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call { mutable_state_mock.go
237 > mr.mock.ctrl.T.Helper()
238 > return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddChildWorkflowExecutionStartedEvent", reflect.TypeOf((*MockMutableState)(nil).AddChildWorkflowExecutionStartedEvent), arg0, arg1, arg2, arg3, arg4)
239 > }
240
241 // AddChildWorkflowExecutionTerminatedEvent mocks base method.
249
250 // AddChildWorkflowExecutionTerminatedEvent indicates an expected call of AddChildWorkflowExecutionTerminatedEvent.
251 > func (mr *MockMutableStateMockRecorder) AddChildWorkflowExecutionTerminatedEvent(arg0, arg1 any) *gomock.Call { mutable_state_mock.go
252 > mr.mock.ctrl.T.Helper()
253 > return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddChildWorkflowExecutionTerminatedEvent", reflect.TypeOf((*MockMutableState)(nil).AddChildWorkflowExecutionTerminatedEvent), arg0, arg1)
254 > }
255
256 // AddChildWorkflowExecutionTimedOutEvent mocks base method.
264
265 // AddChildWorkflowExecutionTimedOutEvent indicates an expected call of AddChildWorkflowExecutionTimedOutEvent.
266 > func (mr *MockMutableStateMockRecorder) AddChildWorkflowExecutionTimedOutEvent(arg0, arg1, arg2 any) *gomock.Call { mutable_state_mock.go
267 > mr.mock.ctrl.T.Helper()
268 > return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddChildWorkflowExecutionTimedOutEvent", reflect.TypeOf((*MockMutableState)(nil).AddChildWorkflowExecutionTimedOutEvent), arg0, arg1, arg2)
269 > }
270
271 // AddCompletedWorkflowEvent mocks base method.
521
522 // AddStartChildWorkflowExecutionFailedEvent indicates an expected call of AddStartChildWorkflowExecutionFailedEvent.
523 > func (mr *MockMutableStateMockRecorder) AddStartChildWorkflowExecutionFailedEvent(arg0, arg1, arg2 any) *gomock.Call { mutable_state_mock.go
524 > mr.mock.ctrl.T.Helper()
525 > return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddStartChildWorkflowExecutionFailedEvent", reflect.TypeOf((*MockMutableState)(nil).AddStartChildWorkflowExecutionFailedEvent), arg0, arg1, arg2)
526 > }
527
528 // AddStartChildWorkflowExecutionInitiatedEvent mocks base method.
go.temporal.io/server/api/clock/v1/message.pb.go 3 introduced LOC · 1 range

Open complete file

39 }
40
41 > func (x *VectorClock) String() string { message.pb.go
42 > return protoimpl.X.MessageStringOf(x)
43 > }
44
45 func (*VectorClock) ProtoMessage() {}
go.temporal.io/server/service/history/ndc/workflow_resetter.go 1 introduced LOC · 1 range

Open complete file

1306 return serviceerror.NewInternalf("WorkflowResetter encountered an unexpected child event: [%s]", event.GetEventType().String())
1307 }
1308 > return nil workflow_resetter.go
1309 }
1310