aboutsummaryrefslogtreecommitdiff
path: root/runner.go
diff options
context:
space:
mode:
authorFlu0r1ne <flur01ne@flu0r1ne.net>2021-09-03 21:14:28 -0500
committerFlu0r1ne <flur01ne@flu0r1ne.net>2021-09-03 21:14:28 -0500
commit2d197f1ce3eac8cecb5a655fcb5343cbe562ab1a (patch)
tree3b24b0cdd0ddf6456b8bac5fafcf6a1503aaa6aa /runner.go
parent8fa0c34eac027c69a0fce8b5a8251e394cd4d888 (diff)
downloadplanr-2d197f1ce3eac8cecb5a655fcb5343cbe562ab1a.tar.xz
planr-2d197f1ce3eac8cecb5a655fcb5343cbe562ab1a.zip
Add new test runner API
Diffstat (limited to 'runner.go')
-rw-r--r--runner.go20
1 files changed, 0 insertions, 20 deletions
diff --git a/runner.go b/runner.go
index c0c926a..1cc509e 100644
--- a/runner.go
+++ b/runner.go
@@ -11,10 +11,6 @@ type Runner struct {
dirs DirConfig
}
-func (r *Runner) RegisterAdapter(a Adapter) {
- r.adapters = append(r.adapters, a)
-}
-
func (r Runner) adapterCfgs() []AdapterConfig {
cgs := make([]AdapterConfig, len(r.adapters))
@@ -122,22 +118,6 @@ func (r Runner) Clean() {
r.dirs.CleanBuild()
}
-func (r * Runner) SetConfigDirFromTree(childPath string) {
- r.dirs.SetConfigFromTree(childPath)
-}
-
-func (r * Runner) SetBuildDir(dir string) {
- r.dirs.SetBuild(dir)
-}
-
-func (r * Runner) SetConfigDir(dir string) {
- r.dirs.SetConfig(dir)
-}
-
-func (r * Runner) SetSrcDir(dir string) {
- r.dirs.SetSrc(dir)
-}
-
func (r Runner) BuildDir() string {
return r.dirs.Build();
}