public class TestConditionCombi
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | TestConditionCombi.NumStringResult item of parsing the expression. | 
| Constructor and Description | 
|---|
| TestConditionCombi() | 
| Modifier and Type | Method and Description | 
|---|---|
| (package private) boolean | assertCheckNr(java.util.List<TestConditionCombi.NumString[]> selectList,
             boolean shouldThrow)Checks whether the nr in each item element is the same as position in array as expected. | 
| private static java.util.List<java.util.List<java.util.List<java.util.List<TestConditionCombi.NumString>>>> | parseTestCases(java.lang.String select,
              int nrConditions)Internal operation to parse the test case string. | 
| static java.util.List<TestConditionCombi.NumString[]> | prepareTestCases(java.lang.String select,
                int nConditions)Prepares the container for comparison, see  #checkSameItem(String, CharSequence...) | 
private static java.util.List<java.util.List<java.util.List<java.util.List<TestConditionCombi.NumString>>>> parseTestCases(java.lang.String select, int nrConditions) throws java.text.ParseException
select - nrConditions - java.text.ParseExceptionpublic static java.util.List<TestConditionCombi.NumString[]> prepareTestCases(java.lang.String select, int nConditions)
#checkSameItem(String, CharSequence...)
 The select pattern has the following syntax (ZBNF):
 select::= {  ? : }.  ##multiple independent select pattern, one should match, ':' is a OR 
 selAnd::= {  ? & }.   ##select pattern which`s all parts  should match.
 selOr::=  {  ? + }. ##select pattern part which checks some lines, one should match, separated with |
 selLine::= { [{<#table>?,}=]{? , }[;] }. ##select pattern for items in lines. starts optional with one digit line number.
 selItem::= ... ends either with space or an following upper case character.           
 Examples:
 select - text for selection.java.text.ParseExceptionboolean assertCheckNr(java.util.List<TestConditionCombi.NumString[]> selectList, boolean shouldThrow)
selectList - The list returned from prepareTestCases(String, int)shouldThrow - true then throws, false then returns false on error.