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