mutable_state_mock.go ×2

Frontier kind: Code frontier

unlabeled · c_fb9fdb69655e

3 tests · 4573 LOC · 204 files · introduces 0 tests · 20 LOC · 2 files

Introduces — evidence that enters the hierarchy at this concept

Code
4 ranges20 lines · 2 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
717 ranges4573 lines · 204 files · Browse complete extent
All tests (intent)
3 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.

2 files ranked by introduced lines: 20 introduced LOC across 4 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/service/history/interfaces/mutable_state_mock.go 10 introduced LOC · 2 ranges

Open complete file

2538
2539 // GetPendingChildIds mocks base method.
2540 > func (m *MockMutableState) GetPendingChildIds() map[int64]struct{} { mutable_state_mock.go
2541 > m.ctrl.T.Helper()
2542 > ret := m.ctrl.Call(m, "GetPendingChildIds")
2543 > ret0, _ := ret[0].(map[int64]struct{})
2544 > return ret0
2545 > }
2546
2547 // GetPendingChildIds indicates an expected call of GetPendingChildIds.
2548 > func (mr *MockMutableStateMockRecorder) GetPendingChildIds() *gomock.Call { mutable_state_mock.go
2549 > mr.mock.ctrl.T.Helper()
2550 > return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPendingChildIds", reflect.TypeOf((*MockMutableState)(nil).GetPendingChildIds))
2551 > }
2552
2553 // GetPendingRequestCancelExternalInfos mocks base method.
go.temporal.io/server/service/history/ndc/transaction_manager_mock.go 10 introduced LOC · 2 ranges

Open complete file

123
124 // UpdateWorkflow mocks base method.
125 > func (m *MockTransactionManager) UpdateWorkflow(ctx context.Context, isWorkflowRebuilt bool, archetypeID chasm.ArchetypeID, targetWorkflow, newWorkflow Workflow) error { transaction_manager_mock.go
126 > m.ctrl.T.Helper()
127 > ret := m.ctrl.Call(m, "UpdateWorkflow", ctx, isWorkflowRebuilt, archetypeID, targetWorkflow, newWorkflow)
128 > ret0, _ := ret[0].(error)
129 > return ret0
130 > }
131
132 // UpdateWorkflow indicates an expected call of UpdateWorkflow.
133 > func (mr *MockTransactionManagerMockRecorder) UpdateWorkflow(ctx, isWorkflowRebuilt, archetypeID, targetWorkflow, newWorkflow any) *gomock.Call { transaction_manager_mock.go
134 > mr.mock.ctrl.T.Helper()
135 > return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateWorkflow", reflect.TypeOf((*MockTransactionManager)(nil).UpdateWorkflow), ctx, isWorkflowRebuilt, archetypeID, targetWorkflow, newWorkflow)
136 > }