MCPcopy Create free account
hub / github.com/0xUnixIO/pulse / TestManager_ApplyEmpty

Function TestManager_ApplyEmpty

internal/sniproxy/manager_test.go:59–65  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

57}
58
59func TestManager_ApplyEmpty(t *testing.T) {
60 m := NewManager(filepath.Join(t.TempDir(), "state.json"))
61 defer m.Close()
62 if err := m.Apply(ManagerConfig{}); err != nil {
63 t.Errorf("Apply empty: %v", err)
64 }
65}
66
67func TestManager_TransparentOnly(t *testing.T) {
68 backend := startEchoTLS(t, "x.example.com")

Callers

nothing calls this directly

Calls 3

CloseMethod · 0.95
ApplyMethod · 0.95
NewManagerFunction · 0.70

Tested by

no test coverage detected