Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/accretional/collector
/ functions
Functions
726 in github.com/accretional/collector
⨍
Functions
726
◇
Types & classes
79
Function
TestConnectionManager_RecoverFromRestart_MarksStaleConnections
(t *testing.T)
pkg/dispatch/connection_persistence_test.go:112
Function
TestConnectionManager_SessionID
(t *testing.T)
pkg/dispatch/connection_persistence_test.go:40
Function
TestConnection_BasicConnect
TestConnection_BasicConnect tests basic connection establishment
pkg/dispatch/dispatcher_test.go:74
Function
TestConnection_BidirectionalConnect
TestConnection_BidirectionalConnect tests bidirectional connection setup
pkg/dispatch/dispatcher_test.go:135
Function
TestConnection_InvalidRequests
TestConnection_InvalidRequests tests error handling
pkg/dispatch/dispatcher_test.go:309
Function
TestConnection_MultipleConnections
TestConnection_MultipleConnections tests multiple simultaneous connections
pkg/dispatch/dispatcher_test.go:178
Function
TestConnection_RealNetwork
TestConnection_RealNetwork tests connections over real network
pkg/dispatch/dispatcher_test.go:396
Function
TestConnection_SharedNamespaces
TestConnection_SharedNamespaces tests namespace sharing logic
pkg/dispatch/dispatcher_test.go:228
Function
TestCreateCollectionValidation
TestCreateCollectionValidation tests that CreateCollection validates namespace and name
pkg/collection/security_test.go:255
Function
TestCreateRecord_AtomicityOnFailure
Transaction & Atomicity Tests
pkg/collection/durability_test.go:53
Function
TestDefaultCollectionRepo_Isolation
TestDefaultCollectionRepo_Isolation tests that DefaultCollectionRepo properly isolates operations
pkg/collection/repo_test.go:467
Function
TestDeleteBackup
TestDeleteBackup tests backup deletion
pkg/collection/backup_test.go:279
Function
TestDeleteFile_Success
(t *testing.T)
pkg/collection/filesystem_test.go:82
Function
TestDispatch_AutoRouteLocal
TestDispatch_AutoRouteLocal tests auto-routing to local handler
pkg/dispatch/dispatcher_test.go:792
Function
TestDispatch_AutoRouteRemote
TestDispatch_AutoRouteRemote tests auto-routing to remote collector
pkg/dispatch/dispatcher_test.go:835
Function
TestDispatch_InvalidRequests
TestDispatch_InvalidRequests tests error handling for Dispatch
pkg/dispatch/dispatcher_test.go:891
Function
TestDispatch_NoCollectorForNamespace
TestDispatch_NoCollectorForNamespace tests when no collector handles the namespace
pkg/dispatch/dispatcher_test.go:1004
Function
TestDispatch_TargetNotFound
TestDispatch_TargetNotFound tests dispatching to non-existent target
pkg/dispatch/dispatcher_test.go:966
Function
TestDispatch_ToSpecificTarget
TestDispatch_ToSpecificTarget tests dispatching to a specific collector
pkg/dispatch/dispatcher_test.go:735
Function
TestDispatcherIntegration
TestDispatcherIntegration tests dispatcher service registration and validation
pkg/registry/integration_test.go:75
Function
TestDispatcherWithRegistryValidation
(t *testing.T)
pkg/dispatch/dispatcher_registry_test.go:58
Function
TestDispatcherWithoutRegistryValidation
(t *testing.T)
pkg/dispatch/dispatcher_registry_test.go:153
Function
TestDynamicServiceLookup
TestDynamicServiceLookup tests dynamic service discovery and method validation
pkg/registry/integration_test.go:201
Function
TestEndToEndIntegration
TestEndToEndIntegration tests the complete system with registry validation
pkg/integration/e2e_test.go:25
Function
TestErrOperationInProgress_Error
(t *testing.T)
pkg/collection/operation_state_test.go:215
Function
TestFilePathTraversal
(t *testing.T)
pkg/collection/durability_test.go:689
Function
TestFileSize_SmallVsLarge
(t *testing.T)
pkg/collection/filesystem_test.go:194
Function
TestFileSystemConsistency_DeleteOrphanedFiles
Filesystem Safety Tests
pkg/collection/durability_test.go:724
Function
TestFileSystemPathTraversal
TestFileSystemPathTraversal tests that filesystem operations reject path traversal attempts
pkg/collection/security_test.go:142
Function
TestFileSystemSafePaths
TestFileSystemSafePaths tests that safe paths work correctly
pkg/collection/security_test.go:201
Function
TestGetFile_NotFound
(t *testing.T)
pkg/collection/filesystem_test.go:71
Function
TestGrpcServer_ConcurrentMixedOperations
(t *testing.T)
pkg/collection/grpc_server_test.go:509
Function
TestGrpcServer_ConcurrentRequests
TestGrpcServer_Concurrency tests concurrent requests to the gRPC server
pkg/collection/grpc_server_test.go:479
Function
TestGrpcServer_CreateCollection
TestGrpcServer_CreateCollection tests the CreateCollection gRPC endpoint
pkg/collection/grpc_server_test.go:24
Function
TestGrpcServer_CreateCollection_WithIndexedFields
(t *testing.T)
pkg/collection/grpc_server_test.go:86
Function
TestGrpcServer_CreateCollection_WithServerEndpoint
(t *testing.T)
pkg/collection/grpc_server_test.go:58
Function
TestGrpcServer_Discover
TestGrpcServer_Discover tests the Discover gRPC endpoint
pkg/collection/grpc_server_test.go:110
Function
TestGrpcServer_Discover_WithFilters
(t *testing.T)
pkg/collection/grpc_server_test.go:142
Function
TestGrpcServer_Discover_WithPagination
(t *testing.T)
pkg/collection/grpc_server_test.go:213
Function
TestGrpcServer_ErrorHandling_NilCollection
TestGrpcServer_ErrorHandling tests error handling in the gRPC server
pkg/collection/grpc_server_test.go:461
Function
TestGrpcServer_Integration_CreateAndRoute
TestGrpcServer_Integration tests end-to-end flow
pkg/collection/grpc_server_test.go:559
Function
TestGrpcServer_Route
TestGrpcServer_Route tests the Route gRPC endpoint
pkg/collection/grpc_server_test.go:247
Function
TestGrpcServer_Route_NonExistent
(t *testing.T)
pkg/collection/grpc_server_test.go:285
Function
TestGrpcServer_SearchCollections
TestGrpcServer_SearchCollections tests the SearchCollections gRPC endpoint
pkg/collection/grpc_server_test.go:310
Function
TestGrpcServer_SearchCollections_AcrossNamespaces
(t *testing.T)
pkg/collection/grpc_server_test.go:386
Function
TestGrpcServer_SearchCollections_SpecificCollections
(t *testing.T)
pkg/collection/grpc_server_test.go:422
Function
TestGrpcServer_SearchCollections_WithQuery
(t *testing.T)
pkg/collection/grpc_server_test.go:347
Function
TestInvalidJSON_Handling
Data Corruption & Validation Tests
pkg/collection/durability_test.go:504
Function
TestInvalidRecordIDs
Path Safety Tests
pkg/collection/durability_test.go:646
Function
TestIssue1_JSONSchemaErrorHandling
TestIssue1_JSONSchemaErrorHandling tests that JSON schema errors are properly handled. Issue: Silent error on JSON schema creation (store.go:55-59) Th
pkg/db/sqlite/json_issues_test.go:20
Function
TestIssue2_EnableJSONValidationBeforeSearch
TestIssue2_EnableJSONValidationBeforeSearch tests that Search properly validates EnableJSON state before executing JSON queries. Issue: No EnableJSON
pkg/db/sqlite/json_issues_test.go:181
Function
TestIssue3_InvalidJSONHandling
TestIssue3_InvalidJSONHandling tests that invalid JSON proto_data is handled properly. Issue: Invalid JSON silently defaults to empty object (store.go
pkg/db/sqlite/json_issues_test.go:273
Function
TestIssue6_LabelKeyEscaping
TestIssue6_LabelKeyEscaping tests that label keys with special characters are properly escaped. Issue: Label keys containing dots or special JSON path
pkg/db/sqlite/json_issues_test.go:449
Function
TestListBackups
TestListBackups tests listing backups
pkg/collection/backup_test.go:207
Function
TestListFiles_Multiple
(t *testing.T)
pkg/collection/filesystem_test.go:111
Function
TestListProtos
TestListProtos tests listing all registered protos
pkg/registry/registry_test.go:1016
Function
TestListProtos_100k
TestListProtos_100k tests that ListProtos works with 100k+ registrations.
pkg/registry/registry_scalability_test.go:103
Function
TestListServices
TestListServices tests listing all registered services
pkg/registry/registry_test.go:1073
Function
TestListServices_100k
TestListServices_100k tests that ListServices works with 100k+ registrations. This is a regression test for the 10k hard-coded limit.
pkg/registry/registry_scalability_test.go:15
Function
TestLookupProto
TestLookupProto tests proto lookup by namespace and file name
pkg/registry/registry_test.go:807
Function
TestLookupProto_NotFound
TestLookupProto_NotFound tests proto lookup when proto doesn't exist
pkg/registry/registry_test.go:842
Function
TestLookupService
TestLookupService tests service lookup by namespace and service name
pkg/registry/registry_test.go:852
Function
TestLookupService_NotFound
TestLookupService_NotFound tests service lookup when service doesn't exist
pkg/registry/registry_test.go:894
Function
TestMetadataConsistency
(t *testing.T)
pkg/collection/durability_test.go:766
Function
TestMultiCollectorIntegration
TestMultiCollectorIntegration tests two collectors connecting and dispatching to each other
pkg/integration/multi_collector_test.go:168
Function
TestMultipleNamespaces
TestMultipleNamespaces tests that services can be registered in different namespaces
pkg/registry/integration_test.go:165
Function
TestOperationState_InvalidJSON
(t *testing.T)
pkg/collection/operation_state_test.go:296
Function
TestOperationState_JSONSerialization
(t *testing.T)
pkg/collection/operation_state_test.go:72
Function
TestOperationState_NilMetadata
(t *testing.T)
pkg/collection/operation_state_test.go:261
Function
TestOperationState_SetGetClear
(t *testing.T)
pkg/collection/operation_state_test.go:11
Function
TestOperationState_Timeout
(t *testing.T)
pkg/collection/operation_state_test.go:108
Function
TestOperationTimeouts
(t *testing.T)
pkg/collection/operation_state_test.go:234
Function
TestPathConfigValidation
TestPathConfigValidation tests that PathConfig methods validate inputs
pkg/collection/security_test.go:96
Function
TestRealFTS
(t *testing.T)
pkg/collection/collection_test.go:44
Function
TestRealSqliteIntegration
(t *testing.T)
pkg/collection/collection_test.go:11
Function
TestRecovery_AfterAbnormalClose
Recovery & Resilience Tests
pkg/collection/durability_test.go:348
Function
TestRecovery_FTSIndexConsistency
(t *testing.T)
pkg/collection/durability_test.go:436
Function
TestRegisterProto
(t *testing.T)
pkg/registry/registry_test.go:74
Function
TestRegisterProto_CircularDependency
TestRegisterProto_CircularDependency tests detection of circular dependencies
pkg/registry/dependency_test.go:130
Function
TestRegisterProto_ComplexTypes
TestRegisterProto_ComplexTypes tests nested types, enums, maps, oneofs
pkg/registry/registry_test.go:529
Function
TestRegisterProto_CrossNamespaceDependency
TestRegisterProto_CrossNamespaceDependency tests dependencies across namespaces
pkg/registry/dependency_test.go:266
Function
TestRegisterProto_DeeplyNestedMessages
TestRegisterProto_DeeplyNestedMessages tests rejection of deeply nested messages
pkg/registry/size_limits_test.go:55
Function
TestRegisterProto_Duplicate
(t *testing.T)
pkg/registry/registry_test.go:158
Function
TestRegisterProto_EmptyDependencies
TestRegisterProto_EmptyDependencies tests that protos with no dependencies work
pkg/registry/dependency_test.go:348
Function
TestRegisterProto_EmptyNamespace
TestRegisterProto_EmptyNamespace tests empty namespace validation
pkg/registry/registry_test.go:253
Function
TestRegisterProto_HierarchicalNamespacesNotSupported
TestRegisterProto_HierarchicalNamespacesNotSupported tests that hierarchical namespaces (with slashes) are rejected
pkg/registry/dependency_test.go:369
Function
TestRegisterProto_InvalidNamespaceCharacters
TestRegisterProto_InvalidNamespaceCharacters tests rejection of invalid characters
pkg/registry/validation_test.go:59
Function
TestRegisterProto_InvalidProtoName
TestRegisterProto_InvalidProtoName tests rejection of invalid proto names
pkg/registry/validation_test.go:104
Function
TestRegisterProto_MissingDependency
TestRegisterProto_MissingDependency tests that registering a proto with missing dependencies fails
pkg/registry/dependency_test.go:17
Function
TestRegisterProto_MultipleMessages
TestRegisterProto_MultipleMessages tests multiple message types
pkg/registry/registry_test.go:463
Function
TestRegisterProto_MultipleMissingDependencies
TestRegisterProto_MultipleMissingDependencies tests multiple missing dependencies
pkg/registry/dependency_test.go:54
Function
TestRegisterProto_MultipleNamespaces
TestRegisterProto_MultipleNamespaces tests same proto in different namespaces
pkg/registry/registry_test.go:297
Function
TestRegisterProto_NamespaceTooLong
TestRegisterProto_NamespaceTooLong tests rejection of extremely long namespaces
pkg/registry/validation_test.go:150
Function
TestRegisterProto_NilName
(t *testing.T)
pkg/registry/registry_test.go:210
Function
TestRegisterProto_ProtoNameTooLong
TestRegisterProto_ProtoNameTooLong tests rejection of extremely long proto names
pkg/registry/validation_test.go:180
Function
TestRegisterProto_ProtoSizeTooLarge
TestRegisterProto_ProtoSizeTooLarge tests rejection when proto size exceeds limit
pkg/registry/size_limits_test.go:98
Function
TestRegisterProto_RecursiveTypes
TestRegisterProto_RecursiveTypes tests self-referencing message types
pkg/registry/registry_test.go:737
Function
TestRegisterProto_ReservedNamespace
TestRegisterProto_ReservedNamespace tests that reserved namespaces are rejected
pkg/registry/validation_test.go:16
Function
TestRegisterProto_SlashInNamespaceRejected
TestRegisterProto_SlashInNamespaceRejected tests that forward slashes in namespaces are rejected (hierarchical namespaces are not supported)
pkg/registry/validation_test.go:275
Function
TestRegisterProto_TooManyMessageTypes
TestRegisterProto_TooManyMessageTypes tests rejection when proto has too many message types
pkg/registry/size_limits_test.go:17
← previous
next →
501–600 of 726, ranked by callers