Documentation ¶
Index ¶
- type Case
- type Suite
- func (suite *Suite) RETC(input string, errRegex string, isMatchError bool)
- func (suite *Suite) RNSTC(input string, remInput string, falseValue interface{})
- func (suite *Suite) RNTC(input string, remInput string, falseValue interface{})
- func (suite *Suite) RSTC(input string, remInput string, trueValue interface{}, ...)
- func (suite *Suite) RTC(input string, remInput string, trueValue interface{}, ...)
- func (suite *Suite) SetupTest()
- func (suite *Suite) TeardownTest()
- func (suite *Suite) ToTks(s string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Case ¶
type Case struct { Input string RemInput string SatisfyingValue interface{} ErrRegex *regexp.Regexp IsMatchError bool // contains filtered or unexported fields }
Case represents a parser test case
type Suite ¶
type Suite struct { suite.Suite Parser predicate.Parser SchemaPParser predicate.Parser IsTopLevelExpressionParser bool }
Suite represents a type that tests `wash find` predicate parsers
func (*Suite) RSTC ¶
func (suite *Suite) RSTC(input string, remInput string, trueValue interface{}, falseValue ...interface{})
RSTC => RunSchemaTestCase. Saves some typing.
func (*Suite) RTC ¶
func (suite *Suite) RTC(input string, remInput string, trueValue interface{}, falseValue ...interface{})
RTC => RunTestCase. Saves some typing
func (*Suite) TeardownTest ¶
func (suite *Suite) TeardownTest()
TeardownTest resets the ReferenceTime
Click to show internal directories.
Click to hide internal directories.