From 7f3e0d7da81d2c64a507a60d5bea9af8e4464fcb Mon Sep 17 00:00:00 2001 From: ewy Date: Wed, 22 Apr 2026 21:33:17 +0200 Subject: add hydratedstub for unit tests --- runner/stub.go | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) 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") +} -- cgit v1.3.1