Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksanford committed Nov 7, 2024
1 parent b1e8a27 commit ab96093
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion components/encoder/collectors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const (
captureInterval = time.Millisecond
)

func TestEncoderCollector(t *testing.T) {
func TestCollectors(t *testing.T) {
start := time.Now()
ctx, cancel := context.WithTimeout(context.Background(), time.Second)
defer cancel()
Expand Down
2 changes: 1 addition & 1 deletion components/gantry/collectors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const (
// floatList is a lit of floats in units of millimeters.
var floatList = []float64{1000, 2000, 3000}

func TestGantryCollectors(t *testing.T) {
func TestCollectors(t *testing.T) {
l, err := structpb.NewList([]any{1000, 2000, 3000})
test.That(t, err, test.ShouldBeNil)

Expand Down
2 changes: 1 addition & 1 deletion components/motor/collectors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const (
captureInterval = time.Millisecond
)

func TestMotorCollectors(t *testing.T) {
func TestCollectors(t *testing.T) {
tests := []struct {
name string
collector data.CollectorConstructor
Expand Down
2 changes: 1 addition & 1 deletion components/movementsensor/collectors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var vec = r3.Vector{

var readingMap = map[string]any{"reading1": false, "reading2": "test"}

func TestMovementSensorCollectors(t *testing.T) {
func TestCollectors(t *testing.T) {
tests := []struct {
name string
collector data.CollectorConstructor
Expand Down
2 changes: 1 addition & 1 deletion components/powersensor/collectors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const (

var readingMap = map[string]any{"reading1": false, "reading2": "test"}

func TestPowerSensorCollectors(t *testing.T) {
func TestCollectors(t *testing.T) {
tests := []struct {
name string
collector data.CollectorConstructor
Expand Down
2 changes: 1 addition & 1 deletion components/sensor/collector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const (

var readingMap = map[string]any{"reading1": false, "reading2": "test"}

func TestSensorCollector(t *testing.T) {
func TestCollectors(t *testing.T) {
start := time.Now()
ctx, cancel := context.WithTimeout(context.Background(), time.Second)
defer cancel()
Expand Down
2 changes: 1 addition & 1 deletion components/servo/collectors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const (
captureInterval = time.Millisecond
)

func TestServoCollector(t *testing.T) {
func TestCollectors(t *testing.T) {
start := time.Now()
ctx, cancel := context.WithTimeout(context.Background(), time.Second)
defer cancel()
Expand Down

0 comments on commit ab96093

Please sign in to comment.