shard_context_mock.go ×6

Frontier kind: Code frontier

unlabeled · c_4f763d8af1ab

2 tests · 3956 LOC · 169 files · introduces 0 tests · 31 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
6 ranges31 lines · 1 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
617 ranges3956 lines · 169 files · Browse complete extent
All tests (intent)
2 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.

1 file ranked by introduced lines: 31 introduced LOC across 6 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/service/history/interfaces/shard_context_mock.go 31 introduced LOC · 6 ranges

Open complete file

959
960 // AssertOwnership mocks base method.
961 > func (m *MockControllableContext) AssertOwnership(ctx context.Context) error { shard_context_mock.go
962 > m.ctrl.T.Helper()
963 > ret := m.ctrl.Call(m, "AssertOwnership", ctx)
964 > ret0, _ := ret[0].(error)
965 > return ret0
966 > }
967
968 // AssertOwnership indicates an expected call of AssertOwnership.
969 > func (mr *MockControllableContextMockRecorder) AssertOwnership(ctx any) *gomock.Call { shard_context_mock.go
970 > mr.mock.ctrl.T.Helper()
971 > return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AssertOwnership", reflect.TypeOf((*MockControllableContext)(nil).AssertOwnership), ctx)
972 > }
973
974 // BusinessIDReuseRateLimiter mocks base method.
1231
1232 // GetEngine mocks base method.
1233 > func (m *MockControllableContext) GetEngine(ctx context.Context) (Engine, error) { shard_context_mock.go
1234 > m.ctrl.T.Helper()
1235 > ret := m.ctrl.Call(m, "GetEngine", ctx)
1236 > ret0, _ := ret[0].(Engine)
1237 > ret1, _ := ret[1].(error)
1238 > return ret0, ret1
1239 > }
1240
1241 // GetEngine indicates an expected call of GetEngine.
1242 > func (mr *MockControllableContextMockRecorder) GetEngine(ctx any) *gomock.Call { shard_context_mock.go
1243 > mr.mock.ctrl.T.Helper()
1244 > return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetEngine", reflect.TypeOf((*MockControllableContext)(nil).GetEngine), ctx)
1245 > }
1246
1247 // GetEventLogger mocks base method.
1602
1603 // IsValid mocks base method.
1604 > func (m *MockControllableContext) IsValid() bool { shard_context_mock.go
1605 > m.ctrl.T.Helper()
1606 > ret := m.ctrl.Call(m, "IsValid")
1607 > ret0, _ := ret[0].(bool)
1608 > return ret0
1609 > }
1610
1611 // IsValid indicates an expected call of IsValid.
1612 > func (mr *MockControllableContextMockRecorder) IsValid() *gomock.Call { shard_context_mock.go
1613 > mr.mock.ctrl.T.Helper()
1614 > return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsValid", reflect.TypeOf((*MockControllableContext)(nil).IsValid))
1615 > }
1616
1617 // NewVectorClock mocks base method.