test_resource.go ×2

Frontier kind: Code frontier

unlabeled · c_02caa106a744

224 tests · 3323 LOC · 177 files · introduces 0 tests · 15 LOC · 3 files

Introduces — evidence that enters the hierarchy at this concept

Code
4 ranges15 lines · 3 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
492 ranges3323 lines · 177 files · Browse complete extent
All tests (intent)
224 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: 15 introduced LOC across 4 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/common/persistence/data_interfaces_mock.go 6 introduced LOC · 1 range

Open complete file

402
403 // GetName mocks base method.
404 > func (m *MockExecutionManager) GetName() string { data_interfaces_mock.go
405 > m.ctrl.T.Helper()
406 > ret := m.ctrl.Call(m, "GetName")
407 > ret0, _ := ret[0].(string)
408 > return ret0
409 > }
410
411 // GetName indicates an expected call of GetName.
go.temporal.io/server/common/resourcetest/test_resource.go 6 introduced LOC · 2 ranges

Open complete file

262
263 // GetMembershipMonitor for testing
264 > func (t *Test) GetMembershipMonitor() membership.Monitor { test_resource.go
265 > return t.MembershipMonitor
266 > }
267
268 // GetHostInfoProvider for testing
355
356 // GetMetadataManager for testing
357 > func (t *Test) GetMetadataManager() persistence.MetadataManager { test_resource.go
358 > return t.MetadataMgr
359 > }
360
361 // GetTaskManager for testing
go.temporal.io/server/common/persistence/visibility/defs.go 3 introduced LOC · 1 range

Open complete file

29 // Advanced visibility with SQL DB don't support list of values
30 return dynamicconfig.GetBoolPropertyFnFilteredByNamespace(false)
31 > default: defs.go
32 > // Otherwise (ES), check dynamic config
33 > return allowList
34 }
35 }