Documentation
¶
Overview ¶
Package sddtest contains reusable conformance suites for SDD public ports. Adapter authors run these suites alongside their own backend-specific tests.
Index ¶
- func RunAccessResolverTests(t *testing.T, factory func(*testing.T) AccessResolverFixture)
- func RunEmbeddingExecutorTests(t *testing.T, factory func(*testing.T) EmbeddingExecutorFixture)
- func RunGraphStoreTests(t *testing.T, factory func(*testing.T) GraphStoreFixture)
- func RunLLMExecutorTests(t *testing.T, factory func(*testing.T) LLMExecutorFixture)
- func RunMutationFinalizerTests(t *testing.T, factory func(*testing.T) MutationFinalizerFixture)
- func RunSearchIndexStoreTests(t *testing.T, factory func(*testing.T) SearchIndexStoreFixture)
- func RunSessionStoreTests(t *testing.T, factory func(*testing.T) SessionStoreFixture)
- func RunStagedBlobStoreTests(t *testing.T, factory func(*testing.T) StagedBlobStoreFixture)
- type AccessResolverFixture
- type EmbeddingExecutorFixture
- type GraphStoreFixture
- type LLMExecutorFixture
- type MutationFinalizerFixture
- type SearchIndexStoreFixture
- type SessionStoreFixture
- type StagedBlobStoreFixture
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunAccessResolverTests ¶
func RunAccessResolverTests(t *testing.T, factory func(*testing.T) AccessResolverFixture)
func RunEmbeddingExecutorTests ¶
func RunEmbeddingExecutorTests(t *testing.T, factory func(*testing.T) EmbeddingExecutorFixture)
func RunGraphStoreTests ¶
func RunGraphStoreTests(t *testing.T, factory func(*testing.T) GraphStoreFixture)
func RunLLMExecutorTests ¶
func RunLLMExecutorTests(t *testing.T, factory func(*testing.T) LLMExecutorFixture)
func RunMutationFinalizerTests ¶
func RunMutationFinalizerTests(t *testing.T, factory func(*testing.T) MutationFinalizerFixture)
func RunSearchIndexStoreTests ¶
func RunSearchIndexStoreTests(t *testing.T, factory func(*testing.T) SearchIndexStoreFixture)
func RunSessionStoreTests ¶
func RunSessionStoreTests(t *testing.T, factory func(*testing.T) SessionStoreFixture)
func RunStagedBlobStoreTests ¶
func RunStagedBlobStoreTests(t *testing.T, factory func(*testing.T) StagedBlobStoreFixture)
Types ¶
type AccessResolverFixture ¶
type AccessResolverFixture struct {
Resolver sdd.AccessResolver
Identity sdd.RequestIdentity
Principal sdd.Principal
Project sdd.ProjectID
Dependency string
ProjectCount int
}
type EmbeddingExecutorFixture ¶
type EmbeddingExecutorFixture struct {
Executor sdd.EmbeddingExecutor
Inputs []sdd.EmbeddingInput
}
type GraphStoreFixture ¶
type GraphStoreFixture struct {
Store sdd.GraphStore
InitialRevision string
Batch sdd.MutationBatch
Blobs sdd.StagedBlobReader
AttachmentEntry string
AttachmentName string
}
type LLMExecutorFixture ¶
type LLMExecutorFixture struct {
Executor sdd.LLMExecutor
Request sdd.LLMRequest
RequiredCapability string
}
type MutationFinalizerFixture ¶
type MutationFinalizerFixture struct {
Finalizer sdd.MutationFinalizer
Applied sdd.AppliedMutation
}
type SearchIndexStoreFixture ¶
type SearchIndexStoreFixture struct {
Store sdd.SearchIndexStore
Namespace sdd.IndexNamespace
Revision string
Chunks []sdd.IndexedChunk
Query []float32
}
type SessionStoreFixture ¶
type SessionStoreFixture struct {
Store sdd.SessionStore
Metadata sdd.SessionMetadata
Append sdd.SessionAppend
}
type StagedBlobStoreFixture ¶
Click to show internal directories.
Click to hide internal directories.