MCPcopy Create free account
hub / github.com/EBWi11/AgentSmith-HUB / clearProjectTestOutputChannels

Function clearProjectTestOutputChannels

src/api/testing.go:860–864  ·  view source on GitHub ↗
(tempProject *project.Project)

Source from the content-addressed store, hash-verified

858func clearProjectTestOutputChannels(tempProject *project.Project) {
859 for _, outputComp := range tempProject.Outputs {
860 outputComp.SetTestCollectionChan(nil)
861 }
862}
863
864func initProjectTestOutputResults(outputChannels map[string]chan map[string]interface{}) map[string][]map[string]interface{} {
865 outputResults := make(map[string][]map[string]interface{}, len(outputChannels))
866 for outputId := range outputChannels {
867 outputResults[outputId] = []map[string]interface{}{}

Callers 1

testProjectFunction · 0.85

Calls 1

SetTestCollectionChanMethod · 0.80

Tested by

no test coverage detected