diff options
| author | ewy <ewy0@protonmail.com> | 2026-04-22 21:33:17 +0200 |
|---|---|---|
| committer | ewy <ewy0@protonmail.com> | 2026-04-22 21:33:17 +0200 |
| commit | 7f3e0d7da81d2c64a507a60d5bea9af8e4464fcb (patch) | |
| tree | 3e7fa34d7024791c2c5296b6a6ac41d3934ef2a1 /runner | |
| parent | 059f7c703dc9138e6217528805874811304882ac (diff) | |
add hydratedstub for unit tests
Diffstat (limited to 'runner')
| -rw-r--r-- | runner/stub.go | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/runner/stub.go b/runner/stub.go index e1fd8ed..3282fe8 100644 --- a/runner/stub.go +++ b/runner/stub.go @@ -54,3 +54,66 @@ func (s Stub) Invocation(src *model.Source) []string { //TODO implement me panic("implement me") } + +type HydratedStub struct { +} + +func (h HydratedStub) Matches(input string) bool { + //TODO implement me + panic("implement me") +} + +func (h HydratedStub) Create(s *model.Source) *exec.Cmd { + //TODO implement me + panic("implement me") +} + +func (h HydratedStub) Sub() []string { + //TODO implement me + panic("implement me") +} + +func (h HydratedStub) Label() string { + //TODO implement me + panic("implement me") +} + +func (h HydratedStub) Hydrate(src *model.Source) (model.HydratedTarget, error) { + //TODO implement me + panic("implement me") +} + +func (h HydratedStub) Tags() model.Tags { + //TODO implement me + panic("implement me") +} + +func (h HydratedStub) ShortestId() string { + //TODO implement me + panic("implement me") +} + +func (h HydratedStub) Visible() bool { + //TODO implement me + panic("implement me") +} + +func (h HydratedStub) Invocation(src *model.Source) []string { + //TODO implement me + panic("implement me") +} + +func (h HydratedStub) Icon() string { + //TODO implement me + panic("implement me") +} + +func (h HydratedStub) Description() string { + //TODO implement me + panic("implement me") +} + +func (h HydratedStub) Target() model.Target { + //TODO implement me + panic("implement me") +} |
