mirror of
https://github.com/prometheus-community/windows_exporter
synced 2025-02-09 16:19:51 +00:00
19 lines
401 B
Go
19 lines
401 B
Go
//go:build windows
|
|
|
|
package tcp_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/prometheus-community/windows_exporter/internal/collector/tcp"
|
|
"github.com/prometheus-community/windows_exporter/internal/utils/testutils"
|
|
)
|
|
|
|
func BenchmarkCollector(b *testing.B) {
|
|
testutils.FuncBenchmarkCollector(b, tcp.Name, tcp.NewWithFlags)
|
|
}
|
|
|
|
func TestCollector(t *testing.T) {
|
|
testutils.TestCollector(t, tcp.New, nil)
|
|
}
|