Files
windows_exporter/internal/collector/tcp/tcp_test.go
2024-10-17 02:29:53 +02:00

17 lines
375 B
Go

package tcp_test
import (
"testing"
"github.com/prometheus-community/windows_exporter/internal/collector/tcp"
"github.com/prometheus-community/windows_exporter/internal/testutils"
)
func BenchmarkCollector(b *testing.B) {
testutils.FuncBenchmarkCollector(b, tcp.Name, tcp.NewWithFlags)
}
func TestCollector(t *testing.T) {
testutils.TestCollector(t, tcp.New, nil)
}