You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
300 B

  1. package leafnodes
  2. import (
  3. "github.com/onsi/ginkgo/types"
  4. )
  5. type BasicNode interface {
  6. Type() types.SpecComponentType
  7. Run() (types.SpecState, types.SpecFailure)
  8. CodeLocation() types.CodeLocation
  9. }
  10. type SubjectNode interface {
  11. BasicNode
  12. Text() string
  13. Flag() types.FlagType
  14. Samples() int
  15. }