Documentation
¶
Index ¶
- func AssertGoldenFile(t *testing.T, actual []byte, goldenPath string)
- func CreateTestLogEntry(t *testing.T, entryType, content string) *models.LogEntry
- func CreateTestProcessedEntry(t *testing.T, entryType, content string) *models.ProcessedEntry
- func CreateTestToolCallWithResult(t *testing.T, toolName string, delay time.Duration) (toolCall *models.LogEntry, toolResult *models.LogEntry)
- func CreateToolCallEntry(t *testing.T, toolName string, input interface{}) *models.LogEntry
- func CreateToolResultEntry(t *testing.T, toolUseID string, output string) *models.LogEntry
- func GenerateTestUUID() string
- func LoadTestFile(t *testing.T, path string) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertGoldenFile ¶
AssertGoldenFile compares output with golden file
func CreateTestLogEntry ¶
CreateTestLogEntry creates a LogEntry for testing
func CreateTestProcessedEntry ¶
func CreateTestProcessedEntry(t *testing.T, entryType, content string) *models.ProcessedEntry
CreateTestProcessedEntry creates a ProcessedEntry for testing
func CreateTestToolCallWithResult ¶
func CreateTestToolCallWithResult(t *testing.T, toolName string, delay time.Duration) (toolCall *models.LogEntry, toolResult *models.LogEntry)
CreateTestToolCallWithResult creates a matched tool call and result pair
func CreateToolCallEntry ¶
CreateToolCallEntry creates a tool call entry for testing
func CreateToolResultEntry ¶
CreateToolResultEntry creates a tool result entry for testing
func GenerateTestUUID ¶
func GenerateTestUUID() string
GenerateTestUUID generates a UUID for testing
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.