(b *testing.B)
| 170 | } |
| 171 | |
| 172 | func BenchmarkDecodeOptsTemplate(b *testing.B) { |
| 173 | ip := net.ParseIP("127.0.0.1") |
| 174 | mCache := GetCache("cache.file") |
| 175 | for i := 0; i < b.N; i++ { |
| 176 | d := NewDecoder(ip, optsTpl) |
| 177 | d.Decode(mCache) |
| 178 | } |
| 179 | } |
| 180 | |
| 181 | func TestMultiMessage(t *testing.T) { |
| 182 | ip := net.ParseIP("127.0.0.1") |
nothing calls this directly
no test coverage detected