MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / TestTable_DeleteChain

Function TestTable_DeleteChain

internal/firewalls/nftables/table_test.go:75–82  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

73}
74
75func TestTable_DeleteChain(t *testing.T) {
76 var table = getIPv4Table(t)
77 err := table.DeleteChain("test_default_chain")
78 if err != nil {
79 t.Fatal(err)
80 }
81 t.Log("ok")
82}
83
84func TestTable_AddSet(t *testing.T) {
85 var table = getIPv4Table(t)

Callers

nothing calls this directly

Calls 3

getIPv4TableFunction · 0.85
DeleteChainMethod · 0.80
LogMethod · 0.80

Tested by

no test coverage detected