store_mock.go ×4

Frontier kind: Code frontier

unlabeled · c_afb52394160f

5 tests · 2266 LOC · 92 files · introduces 0 tests · 22 LOC · 2 files

Introduces — evidence that enters the hierarchy at this concept

Code
5 ranges22 lines · 2 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
388 ranges2266 lines · 92 files · Browse complete extent
All tests (intent)
5 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: 22 introduced LOC across 5 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/common/persistence/mock/store_mock.go 20 introduced LOC · 4 ranges

Open complete file

1123
1124 // GetName mocks base method.
1125 > func (m *MockExecutionStore) GetName() string { store_mock.go
1126 > m.ctrl.T.Helper()
1127 > ret := m.ctrl.Call(m, "GetName")
1128 > ret0, _ := ret[0].(string)
1129 > return ret0
1130 > }
1131
1132 // GetName indicates an expected call of GetName.
1133 > func (mr *MockExecutionStoreMockRecorder) GetName() *gomock.Call { store_mock.go
1134 > mr.mock.ctrl.T.Helper()
1135 > return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetName", reflect.TypeOf((*MockExecutionStore)(nil).GetName))
1136 > }
1137
1138 // GetReplicationTasksFromDLQ mocks base method.
1268
1269 // UpdateWorkflowExecution mocks base method.
1270 > func (m *MockExecutionStore) UpdateWorkflowExecution(ctx context.Context, request *persistence.InternalUpdateWorkflowExecutionRequest) error { store_mock.go
1271 > m.ctrl.T.Helper()
1272 > ret := m.ctrl.Call(m, "UpdateWorkflowExecution", ctx, request)
1273 > ret0, _ := ret[0].(error)
1274 > return ret0
1275 > }
1276
1277 // UpdateWorkflowExecution indicates an expected call of UpdateWorkflowExecution.
1278 > func (mr *MockExecutionStoreMockRecorder) UpdateWorkflowExecution(ctx, request any) *gomock.Call { store_mock.go
1279 > mr.mock.ctrl.T.Helper()
1280 > return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateWorkflowExecution", reflect.TypeOf((*MockExecutionStore)(nil).UpdateWorkflowExecution), ctx, request)
1281 > }
1282
1283 // MockQueue is a mock of Queue interface.
go.temporal.io/server/common/persistence/execution_manager.go 2 introduced LOC · 1 range

Open complete file

1267 // TODO remove this if check once legacy execution tests are removed
1268 if versionHistories == nil {
1269 > return common.EmptyVersion, nil execution_manager.go
1270 > }
1271 versionHistory, err := versionhistory.GetCurrentVersionHistory(versionHistories)
1272 if err != nil {