(t *testing.T)
| 24 | } |
| 25 | |
| 26 | func TestParseQueue_ParseIP(t *testing.T) { |
| 27 | if !testutils.IsSingleTesting() { |
| 28 | return |
| 29 | } |
| 30 | |
| 31 | var queue = agents.NewQueue() |
| 32 | for _, ip := range []string{ |
| 33 | "192.168.1.100", |
| 34 | "42.120.160.1", |
| 35 | "42.236.10.98", |
| 36 | "124.115.0.100", |
| 37 | } { |
| 38 | ptr, err := queue.ParseIP(ip) |
| 39 | if err != nil { |
| 40 | t.Log(ip, "=>", err) |
| 41 | continue |
| 42 | } |
| 43 | t.Log(ip, "=>", ptr) |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | func TestParseQueue_ParsePtr(t *testing.T) { |
| 48 | var a = assert.NewAssertion(t) |
nothing calls this directly
no test coverage detected