adk

package
v0.1.0-proto2a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2026 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestHarness

type TestHarness struct {
	// contains filtered or unexported fields
}

TestHarness provides utilities for ADK integration testing

func NewHarness

func NewHarness() (*TestHarness, error)

NewHarness creates a new test harness

func (*TestHarness) GetAgentState

func (h *TestHarness) GetAgentState(id string) (string, error)

GetAgentState returns the current state of an agent

func (*TestHarness) SendLifecycleAction

func (h *TestHarness) SendLifecycleAction(id, action string) error

SendLifecycleAction sends a lifecycle action to an agent

func (*TestHarness) Start

func (h *TestHarness) Start() error

Start starts the gapid supervisor

func (*TestHarness) Stop

func (h *TestHarness) Stop() error

Stop stops the gapid supervisor

func (*TestHarness) WaitForState

func (h *TestHarness) WaitForState(id, expectedState string, timeout time.Duration) error

WaitForState waits for an agent to reach a specific state

Directories

Path Synopsis
fixtures
go command
go/capabilities_agent command
Capabilities agent with capability detection
Capabilities agent with capability detection
go/hash_agent command
Hash agent for testing schema hashing
Hash agent for testing schema hashing
go/lifecycle_agent command
Lifecycle agent demonstrating full lifecycle support
Lifecycle agent demonstrating full lifecycle support
go/simple_service command
Simple service agent for cross-ADK testing
Simple service agent for cross-ADK testing

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL