MCPcopy Index your code
hub / github.com/netdata/netdata / TestDISABLE

Function TestDISABLE

src/go/pkg/netdataapi/api_test.go:183–192  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

181}
182
183func TestDISABLE(t *testing.T) {
184 w := &bytes.Buffer{}
185 api := New(w)
186
187 api.DISABLE()
188
189 expected := "DISABLE\n"
190
191 require.Equal(t, expected, w.String())
192}
193
194func TestEMPTYLINE(t *testing.T) {
195 w := &bytes.Buffer{}

Callers

nothing calls this directly

Calls 4

DISABLEMethod · 0.80
EqualMethod · 0.80
NewFunction · 0.70
StringMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…