(t *testing.T)
| 137 | } |
| 138 | |
| 139 | func TestActivate(t *testing.T) { |
| 140 | response, err := http.Get("http://localhost:32234/Plugin.Activate") |
| 141 | if err != nil { |
| 142 | t.Fatal(err) |
| 143 | } |
| 144 | defer response.Body.Close() |
| 145 | body, err := io.ReadAll(response.Body) |
| 146 | |
| 147 | if string(body) != manifest+"\n" { |
| 148 | t.Fatalf("Expected %s, got %s\n", manifest+"\n", string(body)) |
| 149 | } |
| 150 | } |
| 151 | |
| 152 | func TestCapabilitiesExchange(t *testing.T) { |
| 153 | response, err := http.Get("http://localhost:32234/NetworkDriver.GetCapabilities") |
nothing calls this directly
no test coverage detected
searching dependent graphs…