Alois Mahdal
b18e155bd0
Added error handling for Condition
11 gadus atpakaļ
Alois Mahdal (@azzgoat)
b2e6a5eea1
Fortified op handlers against mising $a
12 gadus atpakaļ
Alois Mahdal
946fc24e9b
Simplified warnings to text-only
12 gadus atpakaļ
Alois Mahdal
47eef42b92
Made more informative warnings
12 gadus atpakaļ
Alois Mahdal
25dbbb2a0d
Enabled reporting multiple warnings
12 gadus atpakaļ
Alois Mahdal
ce94e72d7d
Added new operator handler
12 gadus atpakaļ
Alois Mahdal
3e58bfdafa
Implemented warnings to SugarTrail::Template::Condition
Method match() now returns result *and* a reference to list of warnings
12 gadus atpakaļ
Alois Mahdal
2a9f9cb747
Added useful warning for undecided condition
If step has a conition based on var but var has not been
specified in params, it is not possible to decide if this
condition is fulfilled.
This case cannot be copletely avoided, byu now it will
generate a useful warning.
Functional behavor is that such steps are *allowed* and
eventually revealed to tester. (Possibly in a helpful manner.)
12 gadus atpakaļ
Alois Mahdal (@azzgoat)
1dc522dd0a
Added error handling for unknown operators
12 gadus atpakaļ
Alois Mahdal (@azzgoat)
2d0d16bd27
Added regex handler to Condition
12 gadus atpakaļ
Alois Mahdal (@azzgoat)
359d0f10b6
Moved condition parsing and evaluation to separate class (away from CondBlock)
12 gadus atpakaļ