sourcegraph/internal/codeintel/codenav
Christoph Hegemann d3df71ef98
Adds a test for search-based usages (#63610)
Closes
https://linear.app/sourcegraph/issue/GRAPH-726/test-syntactic-and-search-based-usages

Testing just the search-based usages just requires mocking the
SearchClient, which works out nicely.

## Test plan

The whole PR is just a test
2024-07-10 13:22:53 +00:00
..
internal/lsifstore fix: Check (uploadID, path) pairs in bulk (#63485) 2024-06-28 16:31:54 +08:00
shared fix: Check (uploadID, path) pairs in bulk (#63485) 2024-06-28 16:31:54 +08:00
transport/graphql Adds Option for codeintel (#63637) 2024-07-04 10:55:59 +00:00
BUILD.bazel Adds a test for search-based usages (#63610) 2024-07-10 13:22:53 +00:00
commit_cache.go chore: Use api.RepoID and api.CommitID in more places (#63596) 2024-07-03 04:35:13 +02:00
gittree_translator_test.go chore: Refactor and document GitTreeTranslator (#63390) 2024-06-25 20:53:14 +08:00
gittree_translator.go chore: Use api.RepoID and api.CommitID in more places (#63596) 2024-07-03 04:35:13 +02:00
iface.go chore: Document post-condition for upload matching (#62529) 2024-05-08 16:14:30 +01:00
init.go Adds a search client to the codenav service (#63180) 2024-06-11 20:04:51 +08:00
mocks_test.go fix: Check (uploadID, path) pairs in bulk (#63485) 2024-06-28 16:31:54 +08:00
observability.go Search-based usages for new codenav API (#63464) 2024-06-28 15:46:33 +02:00
request_state.go chore: Use api.RepoID and api.CommitID in more places (#63596) 2024-07-03 04:35:13 +02:00
scip_utils_test.go Resolve syntactic symbol at request range (#63189) 2024-06-12 18:37:58 +02:00
scip_utils.go Filters candidate matches against syntactic SCIP documents (#63268) 2024-06-19 15:58:12 +02:00
service_closest_uploads_test.go fix: Check (uploadID, path) pairs in bulk (#63485) 2024-06-28 16:31:54 +08:00
service_definitions_test.go chore: Refactor and document GitTreeTranslator (#63390) 2024-06-25 20:53:14 +08:00
service_diagnostics_test.go fix: Check (uploadID, path) pairs in bulk (#63485) 2024-06-28 16:31:54 +08:00
service_hover_test.go chore: Refactor and document GitTreeTranslator (#63390) 2024-06-25 20:53:14 +08:00
service_new_test.go chore: Use api.RepoID and api.CommitID in more places (#63596) 2024-07-03 04:35:13 +02:00
service_new.go chore: Use api.RepoID and api.CommitID in more places (#63596) 2024-07-03 04:35:13 +02:00
service_ranges_test.go fix: Check (uploadID, path) pairs in bulk (#63485) 2024-06-28 16:31:54 +08:00
service_references_test.go chore: Use api.RepoID and api.CommitID in more places (#63596) 2024-07-03 04:35:13 +02:00
service_snapshot_test.go chore(codeintel): Differentiate between paths relative to upload root vs repo root (#63437) 2024-06-24 20:27:26 +08:00
service_stencil_test.go fix: Check (uploadID, path) pairs in bulk (#63485) 2024-06-28 16:31:54 +08:00
service_syntactic_usages_test.go Adds a test for search-based usages (#63610) 2024-07-10 13:22:53 +00:00
service_test.go Separate database package mocks to dbmocks package (#55778) 2023-08-14 10:48:45 +02:00
service.go Adds a test for search-based usages (#63610) 2024-07-10 13:22:53 +00:00
syntactic.go Adds a test for search-based usages (#63610) 2024-07-10 13:22:53 +00:00
types.go chore: Use api.RepoID and api.CommitID in more places (#63596) 2024-07-03 04:35:13 +02:00
utils_test.go Adds a test for search-based usages (#63610) 2024-07-10 13:22:53 +00:00
utils.go cleanup: Remove 'Dump' terminology from backend (#61131) 2024-03-15 10:30:18 +08:00