(WIP) Add tests for rule target generators.
This commit is contained in:
parent
23422fac3c
commit
496ec531e4
1 changed files with 27 additions and 0 deletions
27
internal/config/make_rule_targets_test.go
Normal file
27
internal/config/make_rule_targets_test.go
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
package config
|
||||||
|
|
||||||
|
import (
|
||||||
|
"testing"
|
||||||
|
|
||||||
|
"github.com/holoplot/go-evdev"
|
||||||
|
"github.com/stretchr/testify/suite"
|
||||||
|
)
|
||||||
|
|
||||||
|
type MakeRuleTargetsTests struct {
|
||||||
|
suite.Suite
|
||||||
|
devs map[string]*evdev.InputDevice
|
||||||
|
}
|
||||||
|
|
||||||
|
func (t *MakeRuleTargetsTests) SetupSuite() {
|
||||||
|
t.devs = map[string]*evdev.InputDevice{
|
||||||
|
"test": {},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (t *MakeRuleTargetsTests) TestMakeRuleTargetButton() {
|
||||||
|
// STUB
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestRunnerMakeRuleTargets(t *testing.T) {
|
||||||
|
suite.Run(t, new(MakeRuleTargetsTests))
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue