-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathparser_test.go
More file actions
42 lines (31 loc) · 854 Bytes
/
parser_test.go
File metadata and controls
42 lines (31 loc) · 854 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package parser
import "github.com/drycc/workflow-cli/cmd"
// DryccCmd is an implementation of Commander.
type FakeDryccCmd cmd.DryccCmd
func (d FakeDryccCmd) Println(...interface{}) (int, error) {
return 1, nil
}
func (d FakeDryccCmd) Print(...interface{}) (int, error) {
return 1, nil
}
func (d FakeDryccCmd) Printf(string, ...interface{}) (int, error) {
return 1, nil
}
func (d FakeDryccCmd) PrintErrln(...interface{}) (int, error) {
return 1, nil
}
func (d FakeDryccCmd) PrintErr(...interface{}) (int, error) {
return 1, nil
}
func (d FakeDryccCmd) PrintErrf(string, ...interface{}) (int, error) {
return 1, nil
}
func (d FakeDryccCmd) ServicesAdd(string, string, string) error {
return nil
}
func (d FakeDryccCmd) ServicesList(string) error {
return nil
}
func (d FakeDryccCmd) ServicesRemove(string, string) error {
return nil
}