Matthias Andreas Benkard | 832a54e | 2019-01-29 09:27:38 +0100 | [diff] [blame] | 1 | package leafnodes |
2 | |||||
3 | import ( | ||||
4 | "github.com/onsi/ginkgo/types" | ||||
5 | ) | ||||
6 | |||||
7 | type BasicNode interface { | ||||
8 | Type() types.SpecComponentType | ||||
9 | Run() (types.SpecState, types.SpecFailure) | ||||
10 | CodeLocation() types.CodeLocation | ||||
11 | } | ||||
12 | |||||
13 | type SubjectNode interface { | ||||
14 | BasicNode | ||||
15 | |||||
16 | Text() string | ||||
17 | Flag() types.FlagType | ||||
18 | Samples() int | ||||
19 | } |