diff --git a/test/JPP_TestUsecases.csv b/test/JPP_TestUsecases.csv index be497a24..ceeb504c 100644 --- a/test/JPP_TestUsecases.csv +++ b/test/JPP_TestUsecases.csv @@ -3,83 +3,22 @@ TESTID|SECTION|SUBSECTION|DESCRIPTION JPP_0001|DATA_TYPES|GOODCASE|JSON file with parameters of different data types (basic and composite) JPP_0002|DATA_TYPES|GOODCASE|JSON file containing parameters with dollar operator syntax at right hand side of colon, basic data types JPP_0003|DATA_TYPES|GOODCASE|JSON file containing parameters with dollar operator syntax at right hand side of colon, composite data type: list -JPP_0004|DATA_TYPES|GOODCASE|JSON file containing parameters with dollar operator syntax at right hand side of colon, composite data type: dict -JPP_0005|DATA_TYPES|GOODCASE|JSON file with string values containing dollar operators JPP_0100|DATA_INTEGRITY|GOODCASE|JSON file is empty (single pair of brackets only) JPP_0101|DATA_INTEGRITY|GOODCASE|JSON file with string containing several separator characters and blanks; no parameters JPP_0102|DATA_INTEGRITY|GOODCASE|JSON file with string containing more special characters, masked special characters and escape sequences JPP_0200|PARAMETER_SUBSTITUTION|GOODCASE|JSON file with nested parameter / string parameter substitution in parameter value JPP_0201|PARAMETER_SUBSTITUTION|GOODCASE|JSON file with nested parameter / string parameter substitution in parameter name -JPP_0202|PARAMETER_SUBSTITUTION|GOODCASE|JSON file with nested parameter / index parameter substitution in parameter name / standard notation -JPP_0203|PARAMETER_SUBSTITUTION|GOODCASE|JSON file with nested parameter / index parameter substitution in parameter name / dotdict notation -JPP_0204|PARAMETER_SUBSTITUTION|GOODCASE|JSON file with nested parameter / index parameter substitution in parameter value / standard notation -JPP_0205|PARAMETER_SUBSTITUTION|GOODCASE|JSON file with nested parameter / index parameter substitution in parameter value / dotdict notation -JPP_0206|PARAMETER_SUBSTITUTION|GOODCASE|JSON file with nested parameter / key parameter substitution in parameter name / standard notation -JPP_0207|PARAMETER_SUBSTITUTION|GOODCASE|JSON file with nested parameter / key parameter substitution in parameter name / dotdict notation -JPP_0208|PARAMETER_SUBSTITUTION|GOODCASE|JSON file with nested parameter / key parameter substitution in parameter value / standard notation -JPP_0209|PARAMETER_SUBSTITUTION|GOODCASE|JSON file with nested parameter / key parameter substitution in parameter value / dotdict notation JPP_0250|PARAMETER_SUBSTITUTION|BADCASE|JSON file with nested parameter / string parameter substitution in parameter value / innermost parameter not existing JPP_0251|PARAMETER_SUBSTITUTION|BADCASE|JSON file with nested parameter / string parameter substitution in parameter name / in between parameter not existing -JPP_0252|PARAMETER_SUBSTITUTION|BADCASE|JSON file with nested parameter / index parameter substitution in parameter name / standard notation / index parameter not existing JPP_0253|PARAMETER_SUBSTITUTION|BADCASE|JSON file with nested parameter / index parameter substitution in parameter name / dotdict notation / index parameter not existing -JPP_0254|PARAMETER_SUBSTITUTION|BADCASE|JSON file with nested parameter / index parameter substitution in parameter value / standard notation / index parameter not existing JPP_0255|PARAMETER_SUBSTITUTION|BADCASE|JSON file with nested parameter / index parameter substitution in parameter value / dotdict notation / index parameter not existing -JPP_0256|PARAMETER_SUBSTITUTION|BADCASE|JSON file with nested parameter / key parameter substitution in parameter name / standard notation / variant number not existing JPP_0257|PARAMETER_SUBSTITUTION|BADCASE|JSON file with nested parameter / key parameter substitution in parameter name / dotdict notation / milestone number not existing -JPP_0258|PARAMETER_SUBSTITUTION|BADCASE|JSON file with nested parameter / key parameter substitution in parameter value / standard notation / variant number not existing JPP_0259|PARAMETER_SUBSTITUTION|BADCASE|JSON file with nested parameter / key parameter substitution in parameter value / dotdict notation / milestone number not existing -JPP_0260|PARAMETER_SUBSTITUTION|BADCASE|JSON file with list parameter substitution in parameter name (composite data types not allowed in names) / (1) -JPP_0261|PARAMETER_SUBSTITUTION|BADCASE|JSON file with list parameter substitution in parameter name (composite data types not allowed in names) / (2) -JPP_0262|PARAMETER_SUBSTITUTION|BADCASE|JSON file with dictionary parameter substitution in parameter name (composite data types not allowed in names) / (1) -JPP_0263|PARAMETER_SUBSTITUTION|BADCASE|JSON file with dictionary parameter substitution in parameter name (composite data types not allowed in names) / (2) -JPP_0264|PARAMETER_SUBSTITUTION|BADCASE|JSON file with list parameter substitution in key name (composite data types not allowed in names) / (1) -JPP_0265|PARAMETER_SUBSTITUTION|BADCASE|JSON file with list parameter substitution in key name (composite data types not allowed in names) / (2) -JPP_0266|PARAMETER_SUBSTITUTION|BADCASE|JSON file with dictionary parameter substitution in key name (composite data types not allowed in names) / (1) -JPP_0267|PARAMETER_SUBSTITUTION|BADCASE|JSON file with dictionary parameter substitution in key name (composite data types not allowed in names) / (2) JPP_0300|VALUE_DETECTION|GOODCASE|JSON file with parameter of type 'list' / index (in square brackets) defined outside the curly brackets (valid syntax) -JPP_0301|VALUE_DETECTION|GOODCASE|JSON file with expression containing more closing elements '}' than opening elements '${' (valid syntax) -JPP_0302|VALUE_DETECTION|GOODCASE|JSON file with expression starting with '${' and ending with '}' / no further matching '${' and '}' in between (valid syntax) -JPP_0303|VALUE_DETECTION|GOODCASE|JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (nested) (valid syntax) -JPP_0304|VALUE_DETECTION|GOODCASE|JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (not all nested) (valid syntax) -JPP_0350|VALUE_DETECTION|BADCASE|JSON file with parameter of type 'list' / index (in square brackets) defined inside the curly brackets (invalid syntax 1) -JPP_0351|VALUE_DETECTION|BADCASE|JSON file with parameter of type 'list' / index (in square brackets) defined inside the curly brackets (invalid syntax 2) -JPP_0352|VALUE_DETECTION|BADCASE|JSON file with parameter of type 'list' / index (in square brackets) defined inside the curly brackets (invalid syntax 3) -JPP_0353|VALUE_DETECTION|BADCASE|JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 1) -JPP_0354|VALUE_DETECTION|BADCASE|JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 2) -JPP_0355|VALUE_DETECTION|BADCASE|JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 3) -JPP_0356|VALUE_DETECTION|BADCASE|JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 4) -JPP_0357|VALUE_DETECTION|BADCASE|JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 5) -JPP_0358|VALUE_DETECTION|BADCASE|JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 6) -JPP_0359|VALUE_DETECTION|BADCASE|JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 6) -JPP_0360|VALUE_DETECTION|BADCASE|JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 9) JPP_0361|VALUE_DETECTION|BADCASE|JSON file with expression containing more closing elements '}' than opening elements '${' (invalid syntax 1) -JPP_0362|VALUE_DETECTION|BADCASE|JSON file with expression containing more closing elements '}' than opening elements '${' (invalid syntax 2) -JPP_0363|VALUE_DETECTION|BADCASE|JSON file with expression containing more closing elements '}' than opening elements '${' (invalid syntax 3) -JPP_0364|VALUE_DETECTION|BADCASE|JSON file with expression containing more closing elements '}' than opening elements '${' (invalid syntax 4) -JPP_0365|VALUE_DETECTION|BADCASE|JSON file with expression containing more closing elements '}' than opening elements '${' (invalid syntax 5) -JPP_0366|VALUE_DETECTION|BADCASE|JSON file with expression containing more closing elements '}' than opening elements '${' (invalid syntax 6) -JPP_0367|VALUE_DETECTION|BADCASE|JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (not all nested) (invalid syntax 1) -JPP_0368|VALUE_DETECTION|BADCASE|JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (not all nested) (invalid syntax 2) -JPP_0369|VALUE_DETECTION|BADCASE|JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (not all nested) (invalid syntax 3) -JPP_0370|VALUE_DETECTION|BADCASE|JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (not all nested) (invalid syntax 4) -JPP_0371|VALUE_DETECTION|BADCASE|JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (not all nested) (invalid syntax 5) -JPP_0450|NAMING_CONVENTION|BADCASE|JSON file with Python keywords used as parameter names (1) -JPP_0451|NAMING_CONVENTION|BADCASE|JSON file with Python keywords used as parameter names (2) -JPP_0452|NAMING_CONVENTION|BADCASE|JSON file with Python keywords used as parameter names (3) -JPP_0453|NAMING_CONVENTION|BADCASE|JSON file with Python keywords used as parameter names (4) -JPP_0454|NAMING_CONVENTION|BADCASE|JSON file with Python keywords used as parameter names (5) -JPP_0455|NAMING_CONVENTION|BADCASE|JSON file with Python keywords used as parameter names (6) -JPP_0456|NAMING_CONVENTION|BADCASE|JSON file with Python keywords used as parameter names (7) -JPP_0457|NAMING_CONVENTION|BADCASE|JSON file with Python keywords used as parameter names (8) -JPP_0458|NAMING_CONVENTION|BADCASE|JSON file with parameter name containing not allowed special characters JPP_0500|COMPOSITE_EXPRESSIONS|GOODCASE|JSON file with composite data structure (nested lists and dictionaries 1) -JPP_0501|COMPOSITE_EXPRESSIONS|GOODCASE|JSON file with composite data structure (nested lists and dictionaries 2) JPP_0502|COMPOSITE_EXPRESSIONS|GOODCASE|JSON file with composite data structure (nested lists and dictionaries 3 / some key names with dots inside) -JPP_0503|COMPOSITE_EXPRESSIONS|GOODCASE|JSON file with composite data structure (some lists) -JPP_0504|COMPOSITE_EXPRESSIONS|GOODCASE|JSON file with composite data structure (some dictionaries) -JPP_0505|COMPOSITE_EXPRESSIONS|GOODCASE|JSON file with composite strings containing several times a colon and a comma (JSON syntax elements) JPP_0506|COMPOSITE_EXPRESSIONS|GOODCASE|JSON file with composite strings containing several combinations of curly brackets and special characters before -JPP_0550|COMPOSITE_EXPRESSIONS|BADCASE|JSON file with composite data structure (nested lists and dictionaries / some key names with dots inside) JPP_0900|COMMON_SYNTAX_VIOLATIONS|GOODCASE|JSON file with syntax error, that is commented out JPP_0950|COMMON_SYNTAX_VIOLATIONS|BADCASE|JSON file with syntax error (1) JPP_0951|COMMON_SYNTAX_VIOLATIONS|BADCASE|JSON file with syntax error (2) diff --git a/test/JPP_TestUsecases.html b/test/JPP_TestUsecases.html index 07e073a8..89bae9ae 100644 --- a/test/JPP_TestUsecases.html +++ b/test/JPP_TestUsecases.html @@ -136,1965 +136,25 @@ -JPP_0004 - - - - -DATA_TYPES - - - - -GOODCASE - - - - -JSON file containing parameters with dollar operator syntax at right hand side of colon, composite data type: dict
-Expected: All parameters referenced by dollar operator are resolved correctly, with their correct data types - - -
- - - - - - - -5 - - - - - -JPP_0005 - - - - -DATA_TYPES - - - - -GOODCASE - - - - -JSON file with string values containing dollar operators
-Expected: All parameters referenced by dollar operator are resolved correctly, outcome is a string containing the values of all referenced parameters - - -
- - - - - - - -6 - - - - - -JPP_0100 - - - - -DATA_INTEGRITY - - - - -GOODCASE - - - - -JSON file is empty (single pair of brackets only)
-Expected: JsonPreprocessor returns empty dictionary - - -
- - - - - - - -7 - - - - - -JPP_0101 - - - - -DATA_INTEGRITY - - - - -GOODCASE - - - - -JSON file with string containing several separator characters and blanks; no parameters
-Expected: String is returned unchanged - - -
- - - - - - - -8 - - - - - -JPP_0102 - - - - -DATA_INTEGRITY - - - - -GOODCASE - - - - -JSON file with string containing more special characters, masked special characters and escape sequences
-Expected: String is returned unchanged (but with masked special characters and escape sequences resolved) - - -
- - - - - - - -9 - - - - - -JPP_0200 - - - - -PARAMETER_SUBSTITUTION - - - - -GOODCASE - - - - -JSON file with nested parameter / string parameter substitution in parameter value
-Expected: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string - - -
- - - - - - - -10 - - - - - -JPP_0201 - - - - -PARAMETER_SUBSTITUTION - - - - -GOODCASE - - - - -JSON file with nested parameter / string parameter substitution in parameter name
-Expected: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string - - -
- - - - - - - -11 - - - - - -JPP_0202 - - - - -PARAMETER_SUBSTITUTION - - - - -GOODCASE - - - - -JSON file with nested parameter / index parameter substitution in parameter name / standard notation
-Expected: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string - - -
- - - - - - - -12 - - - - - -JPP_0203 - - - - -PARAMETER_SUBSTITUTION - - - - -GOODCASE - - - - -JSON file with nested parameter / index parameter substitution in parameter name / dotdict notation
-Expected: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string - - -
- - - - - - - -13 - - - - - -JPP_0204 - - - - -PARAMETER_SUBSTITUTION - - - - -GOODCASE - - - - -JSON file with nested parameter / index parameter substitution in parameter value / standard notation
-Expected: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string - - -
- - - - - - - -14 - - - - - -JPP_0205 - - - - -PARAMETER_SUBSTITUTION - - - - -GOODCASE - - - - -JSON file with nested parameter / index parameter substitution in parameter value / dotdict notation
-Expected: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string - - -
- - - - - - - -15 - - - - - -JPP_0206 - - - - -PARAMETER_SUBSTITUTION - - - - -GOODCASE - - - - -JSON file with nested parameter / key parameter substitution in parameter name / standard notation
-Expected: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string - - -
- - - - - - - -16 - - - - - -JPP_0207 - - - - -PARAMETER_SUBSTITUTION - - - - -GOODCASE - - - - -JSON file with nested parameter / key parameter substitution in parameter name / dotdict notation
-Expected: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string - - -
- - - - - - - -17 - - - - - -JPP_0208 - - - - -PARAMETER_SUBSTITUTION - - - - -GOODCASE - - - - -JSON file with nested parameter / key parameter substitution in parameter value / standard notation
-Expected: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string - - -
- - - - - - - -18 - - - - - -JPP_0209 - - - - -PARAMETER_SUBSTITUTION - - - - -GOODCASE - - - - -JSON file with nested parameter / key parameter substitution in parameter value / dotdict notation
-Expected: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string - - -
- - - - - - - -19 - - - - - -JPP_0250 - - - - -PARAMETER_SUBSTITUTION - - - - -BADCASE - - - - -JSON file with nested parameter / string parameter substitution in parameter value / innermost parameter not existing
-Expected: No values are returned, and JsonPreprocessor throws an exception - - -
- - - - - - - -20 - - - - - -JPP_0251 - - - - -PARAMETER_SUBSTITUTION - - - - -BADCASE - - - - -JSON file with nested parameter / string parameter substitution in parameter name / in between parameter not existing
-Expected: No values are returned, and JsonPreprocessor throws an exception - - -
- - - - - - - -21 - - - - - -JPP_0252 - - - - -PARAMETER_SUBSTITUTION - - - - -BADCASE - - - - -JSON file with nested parameter / index parameter substitution in parameter name / standard notation / index parameter not existing
-Expected: No values are returned, and JsonPreprocessor throws an exception - - -
- - - - - - - -22 - - - - - -JPP_0253 - - - - -PARAMETER_SUBSTITUTION - - - - -BADCASE - - - - -JSON file with nested parameter / index parameter substitution in parameter name / dotdict notation / index parameter not existing
-Expected: No values are returned, and JsonPreprocessor throws an exception - - -
- - - - - - - -23 - - - - - -JPP_0254 - - - - -PARAMETER_SUBSTITUTION - - - - -BADCASE - - - - -JSON file with nested parameter / index parameter substitution in parameter value / standard notation / index parameter not existing
-Expected: No values are returned, and JsonPreprocessor throws an exception - - -
- - - - - - - -24 - - - - - -JPP_0255 - - - - -PARAMETER_SUBSTITUTION - - - - -BADCASE - - - - -JSON file with nested parameter / index parameter substitution in parameter value / dotdict notation / index parameter not existing
-Expected: No values are returned, and JsonPreprocessor throws an exception - - -
- - - - - - - -25 - - - - - -JPP_0256 - - - - -PARAMETER_SUBSTITUTION - - - - -BADCASE - - - - -JSON file with nested parameter / key parameter substitution in parameter name / standard notation / variant number not existing
-Expected: No values are returned, and JsonPreprocessor throws an exception - - -
- - - - - - - -26 - - - - - -JPP_0257 - - - - -PARAMETER_SUBSTITUTION - - - - -BADCASE - - - - -JSON file with nested parameter / key parameter substitution in parameter name / dotdict notation / milestone number not existing
-Expected: No values are returned, and JsonPreprocessor throws an exception - - -
- - - - - - - -27 - - - - - -JPP_0258 - - - - -PARAMETER_SUBSTITUTION - - - - -BADCASE - - - - -JSON file with nested parameter / key parameter substitution in parameter value / standard notation / variant number not existing
-Expected: No values are returned, and JsonPreprocessor throws an exception - - -
- - - - - - - -28 - - - - - -JPP_0259 - - - - -PARAMETER_SUBSTITUTION - - - - -BADCASE - - - - -JSON file with nested parameter / key parameter substitution in parameter value / dotdict notation / milestone number not existing
-Expected: No values are returned, and JsonPreprocessor throws an exception - - -
- - - - - - - -29 - - - - - -JPP_0260 - - - - -PARAMETER_SUBSTITUTION - - - - -BADCASE - - - - -JSON file with list parameter substitution in parameter name (composite data types not allowed in names) / (1)
-Expected: No values are returned, and JsonPreprocessor throws an exception - - -
- - - - - - - -30 - - - - - -JPP_0261 - - - - -PARAMETER_SUBSTITUTION - - - - -BADCASE - - - - -JSON file with list parameter substitution in parameter name (composite data types not allowed in names) / (2)
-Expected: No values are returned, and JsonPreprocessor throws an exception - - -
- - - - - - - -31 - - - - - -JPP_0262 - - - - -PARAMETER_SUBSTITUTION - - - - -BADCASE - - - - -JSON file with dictionary parameter substitution in parameter name (composite data types not allowed in names) / (1)
-Expected: No values are returned, and JsonPreprocessor throws an exception - - -
- - - - - - - -32 - - - - - -JPP_0263 - - - - -PARAMETER_SUBSTITUTION - - - - -BADCASE - - - - -JSON file with dictionary parameter substitution in parameter name (composite data types not allowed in names) / (2)
-Expected: No values are returned, and JsonPreprocessor throws an exception - - -
- - - - - - - -33 - - - - - -JPP_0264 - - - - -PARAMETER_SUBSTITUTION - - - - -BADCASE - - - - -JSON file with list parameter substitution in key name (composite data types not allowed in names) / (1)
-Expected: No values are returned, and JsonPreprocessor throws an exception - - -
- - - - - - - -34 - - - - - -JPP_0265 - - - - -PARAMETER_SUBSTITUTION - - - - -BADCASE - - - - -JSON file with list parameter substitution in key name (composite data types not allowed in names) / (2)
-Expected: No values are returned, and JsonPreprocessor throws an exception - - -
- - - - - - - -35 - - - - - -JPP_0266 - - - - -PARAMETER_SUBSTITUTION - - - - -BADCASE - - - - -JSON file with dictionary parameter substitution in key name (composite data types not allowed in names) / (1)
-Expected: No values are returned, and JsonPreprocessor throws an exception - - -
- - - - - - - -36 - - - - - -JPP_0267 - - - - -PARAMETER_SUBSTITUTION - - - - -BADCASE - - - - -JSON file with dictionary parameter substitution in key name (composite data types not allowed in names) / (2)
-Expected: No values are returned, and JsonPreprocessor throws an exception - - -
- - - - - - - -37 - - - - - -JPP_0300 - - - - -VALUE_DETECTION - - - - -GOODCASE - - - - -JSON file with parameter of type 'list' / index (in square brackets) defined outside the curly brackets (valid syntax)
-Expected: JsonPreprocessor returns values - -
-Checklist rule 1 -
- - - - - - - -38 - - - - - -JPP_0301 - - - - -VALUE_DETECTION - - - - -GOODCASE - - - - -JSON file with expression containing more closing elements '}' than opening elements '${' (valid syntax)
-Expected: JsonPreprocessor returns values - -
-Checklist rule 3 -
- - - - - - - -39 - - - - - -JPP_0302 - - - - -VALUE_DETECTION - - - - -GOODCASE - - - - -JSON file with expression starting with '${' and ending with '}' / no further matching '${' and '}' in between (valid syntax)
-Expected: JsonPreprocessor returns values - -
-Checklist rule 4 -
- - - - - - - -40 - - - - - -JPP_0303 - - - - -VALUE_DETECTION - - - - -GOODCASE - - - - -JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (nested) (valid syntax)
-Expected: JsonPreprocessor returns values - -
-Checklist rule 5 -
- - - - - - - -41 - - - - - -JPP_0304 - - - - -VALUE_DETECTION - - - - -GOODCASE - - - - -JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (not all nested) (valid syntax)
-Expected: JsonPreprocessor returns values - -
-Checklist rule 6 -
- - - - - - - -42 - - - - - -JPP_0350 - - - - -VALUE_DETECTION - - - - -BADCASE - - - - -JSON file with parameter of type 'list' / index (in square brackets) defined inside the curly brackets (invalid syntax 1)
-Expected: No values are returned, and JsonPreprocessor throws an exception - -
-Checklist rule 1 / pattern 1 -
- - - - - - - -43 - - - - - -JPP_0351 - - - - -VALUE_DETECTION - - - - -BADCASE - - - - -JSON file with parameter of type 'list' / index (in square brackets) defined inside the curly brackets (invalid syntax 2)
-Expected: No values are returned, and JsonPreprocessor throws an exception - -
-Checklist rule 1 / pattern 2 -
- - - - - - - -44 - - - - - -JPP_0352 - - - - -VALUE_DETECTION - - - - -BADCASE - - - - -JSON file with parameter of type 'list' / index (in square brackets) defined inside the curly brackets (invalid syntax 3)
-Expected: No values are returned, and JsonPreprocessor throws an exception - -
-Checklist rule 1 / pattern 3 -
- - - - - - - -45 - - - - - -JPP_0353 - - - - -VALUE_DETECTION - - - - -BADCASE - - - - -JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 1)
-Expected: No values are returned, and JsonPreprocessor throws an exception - -
-Checklist rule 2 / pattern 1 -
- - - - - - - -46 - - - - - -JPP_0354 - - - - -VALUE_DETECTION - - - - -BADCASE - - - - -JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 2)
-Expected: No values are returned, and JsonPreprocessor throws an exception - -
-Checklist rule 2 / pattern 2 -
- - - - - - - -47 - - - - - -JPP_0355 - - - - -VALUE_DETECTION - - - - -BADCASE - - - - -JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 3)
-Expected: No values are returned, and JsonPreprocessor throws an exception - -
-Checklist rule 2 / pattern 3 -
- - - - - - - -48 - - - - - -JPP_0356 - - - - -VALUE_DETECTION - - - - -BADCASE - - - - -JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 4)
-Expected: No values are returned, and JsonPreprocessor throws an exception - -
-Checklist rule 2 / pattern 4 -
- - - - - - - -49 - - - - - -JPP_0357 - - - - -VALUE_DETECTION - - - - -BADCASE - - - - -JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 5)
-Expected: No values are returned, and JsonPreprocessor throws an exception - -
-Checklist rule 2 / pattern 5 -
- - - - - - - -50 - - - - - -JPP_0358 - - - - -VALUE_DETECTION - - - - -BADCASE - - - - -JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 6)
-Expected: No values are returned, and JsonPreprocessor throws an exception - -
-Checklist rule 2 / pattern 6 -
- - - - - - - -51 - - - - - -JPP_0359 - - - - -VALUE_DETECTION - - - - -BADCASE - - - - -JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 6)
-Expected: No values are returned, and JsonPreprocessor throws an exception - -
-Checklist rule 2 / pattern 7 -
- - - - - - - -52 - - - - - -JPP_0360 - - - - -VALUE_DETECTION - - - - -BADCASE - - - - -JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 9)
-Expected: No values are returned, and JsonPreprocessor throws an exception - -
-Checklist rule 2 / pattern 8 -
- - - - - - - -53 - - - - - -JPP_0361 - - - - -VALUE_DETECTION - - - - -BADCASE - - - - -JSON file with expression containing more closing elements '}' than opening elements '${' (invalid syntax 1)
-Expected: No values are returned, and JsonPreprocessor throws an exception - -
-Checklist rule 3 / pattern 1 -
- - - - - - - -54 - - - - - -JPP_0362 - - - - -VALUE_DETECTION - - - - -BADCASE - - - - -JSON file with expression containing more closing elements '}' than opening elements '${' (invalid syntax 2)
-Expected: No values are returned, and JsonPreprocessor throws an exception - -
-Checklist rule 3 / pattern 2 -
- - - - - - - -55 - - - - - -JPP_0363 - - - - -VALUE_DETECTION - - - - -BADCASE - - - - -JSON file with expression containing more closing elements '}' than opening elements '${' (invalid syntax 3)
-Expected: No values are returned, and JsonPreprocessor throws an exception - -
-Checklist rule 3 / pattern 3 -
- - - - - - - -56 - - - - - -JPP_0364 - - - - -VALUE_DETECTION - - - - -BADCASE - - - - -JSON file with expression containing more closing elements '}' than opening elements '${' (invalid syntax 4)
-Expected: No values are returned, and JsonPreprocessor throws an exception - -
-Checklist rule 3 / pattern 4 -
- - - - - - - -57 - - - - - -JPP_0365 - - - - -VALUE_DETECTION - - - - -BADCASE - - - - -JSON file with expression containing more closing elements '}' than opening elements '${' (invalid syntax 5)
-Expected: No values are returned, and JsonPreprocessor throws an exception - -
-Checklist rule 3 / pattern 5 -
- - - - - - - -58 - - - - - -JPP_0366 - - - - -VALUE_DETECTION - - - - -BADCASE - - - - -JSON file with expression containing more closing elements '}' than opening elements '${' (invalid syntax 6)
-Expected: No values are returned, and JsonPreprocessor throws an exception - -
-Checklist rule 3 / pattern 6 -
- - - - - - - -59 - - - - - -JPP_0367 - - - - -VALUE_DETECTION - - - - -BADCASE - - - - -JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (not all nested) (invalid syntax 1)
-Expected: No values are returned, and JsonPreprocessor throws an exception - -
-Checklist rule 6 / pattern 1 -
- - - - - - - -60 - - - - - -JPP_0368 - - - - -VALUE_DETECTION - - - - -BADCASE - - - - -JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (not all nested) (invalid syntax 2)
-Expected: No values are returned, and JsonPreprocessor throws an exception - -
-Checklist rule 6 / pattern 2 -
- - - - - - - -61 - - - - - -JPP_0369 +JPP_0100 -VALUE_DETECTION +DATA_INTEGRITY - -BADCASE + +GOODCASE -JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (not all nested) (invalid syntax 3)
-Expected: No values are returned, and JsonPreprocessor throws an exception - -
-Checklist rule 6 / pattern 3 -
- - - - - - - -62 - - - - - -JPP_0370 - - - - -VALUE_DETECTION - - - - -BADCASE - +JSON file is empty (single pair of brackets only)
+Expected: JsonPreprocessor returns empty dictionary - - -JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (not all nested) (invalid syntax 4)
-Expected: No values are returned, and JsonPreprocessor throws an exception -
-Checklist rule 6 / pattern 4
@@ -2103,32 +163,31 @@ -63 +5 -JPP_0371 +JPP_0101 -VALUE_DETECTION +DATA_INTEGRITY - -BADCASE + +GOODCASE -JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (not all nested) (invalid syntax 5)
-Expected: No values are returned, and JsonPreprocessor throws an exception +JSON file with string containing several separator characters and blanks; no parameters
+Expected: String is returned unchanged + -
-Checklist rule 6 / pattern 5
@@ -2137,29 +196,29 @@ -64 +6 -JPP_0450 +JPP_0102 -NAMING_CONVENTION +DATA_INTEGRITY - -BADCASE + +GOODCASE -JSON file with Python keywords used as parameter names (1)
-Expected: No values are returned, and JsonPreprocessor throws an exception +JSON file with string containing more special characters, masked special characters and escape sequences
+Expected: String is returned unchanged (but with masked special characters and escape sequences resolved)
@@ -2170,29 +229,29 @@ -65 +7 -JPP_0451 +JPP_0200 -NAMING_CONVENTION +PARAMETER_SUBSTITUTION - -BADCASE + +GOODCASE -JSON file with Python keywords used as parameter names (2)
-Expected: No values are returned, and JsonPreprocessor throws an exception +JSON file with nested parameter / string parameter substitution in parameter value
+Expected: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string
@@ -2203,29 +262,29 @@ -66 +8 -JPP_0452 +JPP_0201 -NAMING_CONVENTION +PARAMETER_SUBSTITUTION - -BADCASE + +GOODCASE -JSON file with Python keywords used as parameter names (3)
-Expected: No values are returned, and JsonPreprocessor throws an exception +JSON file with nested parameter / string parameter substitution in parameter name
+Expected: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string
@@ -2236,18 +295,18 @@ -67 +9 -JPP_0453 +JPP_0250 -NAMING_CONVENTION +PARAMETER_SUBSTITUTION @@ -2257,7 +316,7 @@ -JSON file with Python keywords used as parameter names (4)
+JSON file with nested parameter / string parameter substitution in parameter value / innermost parameter not existing
Expected: No values are returned, and JsonPreprocessor throws an exception @@ -2269,18 +328,18 @@ -68 +10 -JPP_0454 +JPP_0251 -NAMING_CONVENTION +PARAMETER_SUBSTITUTION @@ -2290,7 +349,7 @@ -JSON file with Python keywords used as parameter names (5)
+JSON file with nested parameter / string parameter substitution in parameter name / in between parameter not existing
Expected: No values are returned, and JsonPreprocessor throws an exception @@ -2302,18 +361,18 @@ -69 +11 -JPP_0455 +JPP_0253 -NAMING_CONVENTION +PARAMETER_SUBSTITUTION @@ -2323,7 +382,7 @@ -JSON file with Python keywords used as parameter names (6)
+JSON file with nested parameter / index parameter substitution in parameter name / dotdict notation / index parameter not existing
Expected: No values are returned, and JsonPreprocessor throws an exception @@ -2335,18 +394,18 @@ -70 +12 -JPP_0456 +JPP_0255 -NAMING_CONVENTION +PARAMETER_SUBSTITUTION @@ -2356,7 +415,7 @@ -JSON file with Python keywords used as parameter names (7)
+JSON file with nested parameter / index parameter substitution in parameter value / dotdict notation / index parameter not existing
Expected: No values are returned, and JsonPreprocessor throws an exception @@ -2368,18 +427,18 @@ -71 +13 -JPP_0457 +JPP_0257 -NAMING_CONVENTION +PARAMETER_SUBSTITUTION @@ -2389,7 +448,7 @@ -JSON file with Python keywords used as parameter names (8)
+JSON file with nested parameter / key parameter substitution in parameter name / dotdict notation / milestone number not existing
Expected: No values are returned, and JsonPreprocessor throws an exception @@ -2401,18 +460,18 @@ -72 +14 -JPP_0458 +JPP_0259 -NAMING_CONVENTION +PARAMETER_SUBSTITUTION @@ -2422,7 +481,7 @@ -JSON file with parameter name containing not allowed special characters
+JSON file with nested parameter / key parameter substitution in parameter value / dotdict notation / milestone number not existing
Expected: No values are returned, and JsonPreprocessor throws an exception @@ -2434,18 +493,18 @@ -73 +15 -JPP_0500 +JPP_0300 -COMPOSITE_EXPRESSIONS +VALUE_DETECTION @@ -2455,11 +514,11 @@ -JSON file with composite data structure (nested lists and dictionaries 1)
-Expected: JsonPreprocessor returns expected value +JSON file with parameter of type 'list' / index (in square brackets) defined outside the curly brackets (valid syntax)
+Expected: JsonPreprocessor returns values
-Standard notation +Checklist rule 1
@@ -2468,32 +527,32 @@ -74 +16 -JPP_0501 +JPP_0361 -COMPOSITE_EXPRESSIONS +VALUE_DETECTION - -GOODCASE + +BADCASE -JSON file with composite data structure (nested lists and dictionaries 2)
-Expected: JsonPreprocessor returns expected value +JSON file with expression containing more closing elements '}' than opening elements '${' (invalid syntax 1)
+Expected: No values are returned, and JsonPreprocessor throws an exception
-Dotdict notation +Checklist rule 3 / pattern 1
@@ -2502,13 +561,13 @@ -75 +17 -JPP_0502 +JPP_0500 @@ -2523,7 +582,7 @@ -JSON file with composite data structure (nested lists and dictionaries 3 / some key names with dots inside)
+JSON file with composite data structure (nested lists and dictionaries 1)
Expected: JsonPreprocessor returns expected value
@@ -2536,79 +595,13 @@ -76 - - - - - -JPP_0503 - - - - -COMPOSITE_EXPRESSIONS - - - - -GOODCASE - - - - -JSON file with composite data structure (some lists)
-Expected: JsonPreprocessor returns expected value - - -
- - - - - - - -77 - - - - - -JPP_0504 - - - - -COMPOSITE_EXPRESSIONS - - - - -GOODCASE - - - - -JSON file with composite data structure (some dictionaries)
-Expected: JsonPreprocessor returns expected value - - -
- - - - - - - -78 +18 -JPP_0505 +JPP_0502 @@ -2623,10 +616,11 @@ -JSON file with composite strings containing several times a colon and a comma (JSON syntax elements)
+JSON file with composite data structure (nested lists and dictionaries 3 / some key names with dots inside)
Expected: JsonPreprocessor returns expected value - +
+Standard notation
@@ -2635,7 +629,7 @@ -79 +19 @@ -2668,42 +662,7 @@ -80 - - - - - -JPP_0550 - - - - -COMPOSITE_EXPRESSIONS - - - - -BADCASE - - - - -JSON file with composite data structure (nested lists and dictionaries / some key names with dots inside)
-Expected: No values are returned, and JsonPreprocessor throws an exception -
-Needs clarification! -
-Dotdict notation (ambiguous in this case) -
- - - - - - - -81 +20 @@ -2736,7 +695,7 @@ -82 +21 @@ -2769,7 +728,7 @@ -83 +22 @@ -2802,7 +761,7 @@ -84 +23 @@ -2835,7 +794,7 @@ -85 +24 @@ -2868,7 +827,7 @@ -86 +25 @@ -2901,7 +860,7 @@
 

-
Generated: 02.08.2023 - 14:43:07
+
Generated: 09.08.2023 - 11:47:23
 
diff --git a/test/JPP_TestUsecases.rst b/test/JPP_TestUsecases.rst index bf65d2f2..75bbe18f 100644 --- a/test/JPP_TestUsecases.rst +++ b/test/JPP_TestUsecases.rst @@ -45,26 +45,6 @@ Test Use Cases ---- -* **Test JPP_0004** - - [DATA_TYPES / GOODCASE] - - **JSON file containing parameters with dollar operator syntax at right hand side of colon, composite data type: dict** - - Expected: All parameters referenced by dollar operator are resolved correctly, with their correct data types - ----- - -* **Test JPP_0005** - - [DATA_TYPES / GOODCASE] - - **JSON file with string values containing dollar operators** - - Expected: All parameters referenced by dollar operator are resolved correctly, outcome is a string containing the values of all referenced parameters - ----- - * **Test JPP_0100** [DATA_INTEGRITY / GOODCASE] @@ -115,86 +95,6 @@ Test Use Cases ---- -* **Test JPP_0202** - - [PARAMETER_SUBSTITUTION / GOODCASE] - - **JSON file with nested parameter / index parameter substitution in parameter name / standard notation** - - Expected: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string - ----- - -* **Test JPP_0203** - - [PARAMETER_SUBSTITUTION / GOODCASE] - - **JSON file with nested parameter / index parameter substitution in parameter name / dotdict notation** - - Expected: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string - ----- - -* **Test JPP_0204** - - [PARAMETER_SUBSTITUTION / GOODCASE] - - **JSON file with nested parameter / index parameter substitution in parameter value / standard notation** - - Expected: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string - ----- - -* **Test JPP_0205** - - [PARAMETER_SUBSTITUTION / GOODCASE] - - **JSON file with nested parameter / index parameter substitution in parameter value / dotdict notation** - - Expected: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string - ----- - -* **Test JPP_0206** - - [PARAMETER_SUBSTITUTION / GOODCASE] - - **JSON file with nested parameter / key parameter substitution in parameter name / standard notation** - - Expected: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string - ----- - -* **Test JPP_0207** - - [PARAMETER_SUBSTITUTION / GOODCASE] - - **JSON file with nested parameter / key parameter substitution in parameter name / dotdict notation** - - Expected: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string - ----- - -* **Test JPP_0208** - - [PARAMETER_SUBSTITUTION / GOODCASE] - - **JSON file with nested parameter / key parameter substitution in parameter value / standard notation** - - Expected: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string - ----- - -* **Test JPP_0209** - - [PARAMETER_SUBSTITUTION / GOODCASE] - - **JSON file with nested parameter / key parameter substitution in parameter value / dotdict notation** - - Expected: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string - ----- - * **Test JPP_0250** [PARAMETER_SUBSTITUTION / BADCASE] @@ -215,16 +115,6 @@ Test Use Cases ---- -* **Test JPP_0252** - - [PARAMETER_SUBSTITUTION / BADCASE] - - **JSON file with nested parameter / index parameter substitution in parameter name / standard notation / index parameter not existing** - - Expected: No values are returned, and JsonPreprocessor throws an exception - ----- - * **Test JPP_0253** [PARAMETER_SUBSTITUTION / BADCASE] @@ -235,16 +125,6 @@ Test Use Cases ---- -* **Test JPP_0254** - - [PARAMETER_SUBSTITUTION / BADCASE] - - **JSON file with nested parameter / index parameter substitution in parameter value / standard notation / index parameter not existing** - - Expected: No values are returned, and JsonPreprocessor throws an exception - ----- - * **Test JPP_0255** [PARAMETER_SUBSTITUTION / BADCASE] @@ -255,16 +135,6 @@ Test Use Cases ---- -* **Test JPP_0256** - - [PARAMETER_SUBSTITUTION / BADCASE] - - **JSON file with nested parameter / key parameter substitution in parameter name / standard notation / variant number not existing** - - Expected: No values are returned, and JsonPreprocessor throws an exception - ----- - * **Test JPP_0257** [PARAMETER_SUBSTITUTION / BADCASE] @@ -275,16 +145,6 @@ Test Use Cases ---- -* **Test JPP_0258** - - [PARAMETER_SUBSTITUTION / BADCASE] - - **JSON file with nested parameter / key parameter substitution in parameter value / standard notation / variant number not existing** - - Expected: No values are returned, and JsonPreprocessor throws an exception - ----- - * **Test JPP_0259** [PARAMETER_SUBSTITUTION / BADCASE] @@ -295,86 +155,6 @@ Test Use Cases ---- -* **Test JPP_0260** - - [PARAMETER_SUBSTITUTION / BADCASE] - - **JSON file with list parameter substitution in parameter name (composite data types not allowed in names) / (1)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - ----- - -* **Test JPP_0261** - - [PARAMETER_SUBSTITUTION / BADCASE] - - **JSON file with list parameter substitution in parameter name (composite data types not allowed in names) / (2)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - ----- - -* **Test JPP_0262** - - [PARAMETER_SUBSTITUTION / BADCASE] - - **JSON file with dictionary parameter substitution in parameter name (composite data types not allowed in names) / (1)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - ----- - -* **Test JPP_0263** - - [PARAMETER_SUBSTITUTION / BADCASE] - - **JSON file with dictionary parameter substitution in parameter name (composite data types not allowed in names) / (2)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - ----- - -* **Test JPP_0264** - - [PARAMETER_SUBSTITUTION / BADCASE] - - **JSON file with list parameter substitution in key name (composite data types not allowed in names) / (1)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - ----- - -* **Test JPP_0265** - - [PARAMETER_SUBSTITUTION / BADCASE] - - **JSON file with list parameter substitution in key name (composite data types not allowed in names) / (2)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - ----- - -* **Test JPP_0266** - - [PARAMETER_SUBSTITUTION / BADCASE] - - **JSON file with dictionary parameter substitution in key name (composite data types not allowed in names) / (1)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - ----- - -* **Test JPP_0267** - - [PARAMETER_SUBSTITUTION / BADCASE] - - **JSON file with dictionary parameter substitution in key name (composite data types not allowed in names) / (2)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - ----- - * **Test JPP_0300** [VALUE_DETECTION / GOODCASE] @@ -387,186 +167,6 @@ Test Use Cases ---- -* **Test JPP_0301** - - [VALUE_DETECTION / GOODCASE] - - **JSON file with expression containing more closing elements '}' than opening elements '${' (valid syntax)** - - Expected: JsonPreprocessor returns values - - *Hint: Checklist rule 3* - ----- - -* **Test JPP_0302** - - [VALUE_DETECTION / GOODCASE] - - **JSON file with expression starting with '${' and ending with '}' / no further matching '${' and '}' in between (valid syntax)** - - Expected: JsonPreprocessor returns values - - *Hint: Checklist rule 4* - ----- - -* **Test JPP_0303** - - [VALUE_DETECTION / GOODCASE] - - **JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (nested) (valid syntax)** - - Expected: JsonPreprocessor returns values - - *Hint: Checklist rule 5* - ----- - -* **Test JPP_0304** - - [VALUE_DETECTION / GOODCASE] - - **JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (not all nested) (valid syntax)** - - Expected: JsonPreprocessor returns values - - *Hint: Checklist rule 6* - ----- - -* **Test JPP_0350** - - [VALUE_DETECTION / BADCASE] - - **JSON file with parameter of type 'list' / index (in square brackets) defined inside the curly brackets (invalid syntax 1)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - - *Hint: Checklist rule 1 / pattern 1* - ----- - -* **Test JPP_0351** - - [VALUE_DETECTION / BADCASE] - - **JSON file with parameter of type 'list' / index (in square brackets) defined inside the curly brackets (invalid syntax 2)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - - *Hint: Checklist rule 1 / pattern 2* - ----- - -* **Test JPP_0352** - - [VALUE_DETECTION / BADCASE] - - **JSON file with parameter of type 'list' / index (in square brackets) defined inside the curly brackets (invalid syntax 3)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - - *Hint: Checklist rule 1 / pattern 3* - ----- - -* **Test JPP_0353** - - [VALUE_DETECTION / BADCASE] - - **JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 1)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - - *Hint: Checklist rule 2 / pattern 1* - ----- - -* **Test JPP_0354** - - [VALUE_DETECTION / BADCASE] - - **JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 2)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - - *Hint: Checklist rule 2 / pattern 2* - ----- - -* **Test JPP_0355** - - [VALUE_DETECTION / BADCASE] - - **JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 3)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - - *Hint: Checklist rule 2 / pattern 3* - ----- - -* **Test JPP_0356** - - [VALUE_DETECTION / BADCASE] - - **JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 4)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - - *Hint: Checklist rule 2 / pattern 4* - ----- - -* **Test JPP_0357** - - [VALUE_DETECTION / BADCASE] - - **JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 5)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - - *Hint: Checklist rule 2 / pattern 5* - ----- - -* **Test JPP_0358** - - [VALUE_DETECTION / BADCASE] - - **JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 6)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - - *Hint: Checklist rule 2 / pattern 6* - ----- - -* **Test JPP_0359** - - [VALUE_DETECTION / BADCASE] - - **JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 6)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - - *Hint: Checklist rule 2 / pattern 7* - ----- - -* **Test JPP_0360** - - [VALUE_DETECTION / BADCASE] - - **JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 9)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - - *Hint: Checklist rule 2 / pattern 8* - ----- - * **Test JPP_0361** [VALUE_DETECTION / BADCASE] @@ -579,216 +179,6 @@ Test Use Cases ---- -* **Test JPP_0362** - - [VALUE_DETECTION / BADCASE] - - **JSON file with expression containing more closing elements '}' than opening elements '${' (invalid syntax 2)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - - *Hint: Checklist rule 3 / pattern 2* - ----- - -* **Test JPP_0363** - - [VALUE_DETECTION / BADCASE] - - **JSON file with expression containing more closing elements '}' than opening elements '${' (invalid syntax 3)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - - *Hint: Checklist rule 3 / pattern 3* - ----- - -* **Test JPP_0364** - - [VALUE_DETECTION / BADCASE] - - **JSON file with expression containing more closing elements '}' than opening elements '${' (invalid syntax 4)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - - *Hint: Checklist rule 3 / pattern 4* - ----- - -* **Test JPP_0365** - - [VALUE_DETECTION / BADCASE] - - **JSON file with expression containing more closing elements '}' than opening elements '${' (invalid syntax 5)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - - *Hint: Checklist rule 3 / pattern 5* - ----- - -* **Test JPP_0366** - - [VALUE_DETECTION / BADCASE] - - **JSON file with expression containing more closing elements '}' than opening elements '${' (invalid syntax 6)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - - *Hint: Checklist rule 3 / pattern 6* - ----- - -* **Test JPP_0367** - - [VALUE_DETECTION / BADCASE] - - **JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (not all nested) (invalid syntax 1)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - - *Hint: Checklist rule 6 / pattern 1* - ----- - -* **Test JPP_0368** - - [VALUE_DETECTION / BADCASE] - - **JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (not all nested) (invalid syntax 2)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - - *Hint: Checklist rule 6 / pattern 2* - ----- - -* **Test JPP_0369** - - [VALUE_DETECTION / BADCASE] - - **JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (not all nested) (invalid syntax 3)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - - *Hint: Checklist rule 6 / pattern 3* - ----- - -* **Test JPP_0370** - - [VALUE_DETECTION / BADCASE] - - **JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (not all nested) (invalid syntax 4)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - - *Hint: Checklist rule 6 / pattern 4* - ----- - -* **Test JPP_0371** - - [VALUE_DETECTION / BADCASE] - - **JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (not all nested) (invalid syntax 5)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - - *Hint: Checklist rule 6 / pattern 5* - ----- - -* **Test JPP_0450** - - [NAMING_CONVENTION / BADCASE] - - **JSON file with Python keywords used as parameter names (1)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - ----- - -* **Test JPP_0451** - - [NAMING_CONVENTION / BADCASE] - - **JSON file with Python keywords used as parameter names (2)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - ----- - -* **Test JPP_0452** - - [NAMING_CONVENTION / BADCASE] - - **JSON file with Python keywords used as parameter names (3)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - ----- - -* **Test JPP_0453** - - [NAMING_CONVENTION / BADCASE] - - **JSON file with Python keywords used as parameter names (4)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - ----- - -* **Test JPP_0454** - - [NAMING_CONVENTION / BADCASE] - - **JSON file with Python keywords used as parameter names (5)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - ----- - -* **Test JPP_0455** - - [NAMING_CONVENTION / BADCASE] - - **JSON file with Python keywords used as parameter names (6)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - ----- - -* **Test JPP_0456** - - [NAMING_CONVENTION / BADCASE] - - **JSON file with Python keywords used as parameter names (7)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - ----- - -* **Test JPP_0457** - - [NAMING_CONVENTION / BADCASE] - - **JSON file with Python keywords used as parameter names (8)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - ----- - -* **Test JPP_0458** - - [NAMING_CONVENTION / BADCASE] - - **JSON file with parameter name containing not allowed special characters** - - Expected: No values are returned, and JsonPreprocessor throws an exception - ----- - * **Test JPP_0500** [COMPOSITE_EXPRESSIONS / GOODCASE] @@ -801,18 +191,6 @@ Test Use Cases ---- -* **Test JPP_0501** - - [COMPOSITE_EXPRESSIONS / GOODCASE] - - **JSON file with composite data structure (nested lists and dictionaries 2)** - - Expected: JsonPreprocessor returns expected value - - *Hint: Dotdict notation* - ----- - * **Test JPP_0502** [COMPOSITE_EXPRESSIONS / GOODCASE] @@ -825,36 +203,6 @@ Test Use Cases ---- -* **Test JPP_0503** - - [COMPOSITE_EXPRESSIONS / GOODCASE] - - **JSON file with composite data structure (some lists)** - - Expected: JsonPreprocessor returns expected value - ----- - -* **Test JPP_0504** - - [COMPOSITE_EXPRESSIONS / GOODCASE] - - **JSON file with composite data structure (some dictionaries)** - - Expected: JsonPreprocessor returns expected value - ----- - -* **Test JPP_0505** - - [COMPOSITE_EXPRESSIONS / GOODCASE] - - **JSON file with composite strings containing several times a colon and a comma (JSON syntax elements)** - - Expected: JsonPreprocessor returns expected value - ----- - * **Test JPP_0506** [COMPOSITE_EXPRESSIONS / GOODCASE] @@ -865,20 +213,6 @@ Test Use Cases ---- -* **Test JPP_0550** - - [COMPOSITE_EXPRESSIONS / BADCASE] - - **JSON file with composite data structure (nested lists and dictionaries / some key names with dots inside)** - - Expected: No values are returned, and JsonPreprocessor throws an exception - - *Comment: Needs clarification!* - - *Hint: Dotdict notation (ambiguous in this case)* - ----- - * **Test JPP_0900** [COMMON_SYNTAX_VIOLATIONS / GOODCASE] @@ -939,5 +273,5 @@ Test Use Cases ---- -Generated: 02.08.2023 - 14:43:07 +Generated: 09.08.2023 - 11:47:23 diff --git a/test/JPP_TestUsecases.txt b/test/JPP_TestUsecases.txt index 5c42a13c..0ede77ee 100644 --- a/test/JPP_TestUsecases.txt +++ b/test/JPP_TestUsecases.txt @@ -27,14 +27,6 @@ Test JPP_0003 / DATA_TYPES / GOODCASE Description: JSON file containing parameters with dollar operator syntax at right hand side of colon, composite data type: list Expectation: All parameters referenced by dollar operator are resolved correctly, with their correct data types ------------------------------------------------------------------------------------------------------------------------ -Test JPP_0004 / DATA_TYPES / GOODCASE -Description: JSON file containing parameters with dollar operator syntax at right hand side of colon, composite data type: dict -Expectation: All parameters referenced by dollar operator are resolved correctly, with their correct data types ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0005 / DATA_TYPES / GOODCASE -Description: JSON file with string values containing dollar operators -Expectation: All parameters referenced by dollar operator are resolved correctly, outcome is a string containing the values of all referenced parameters ------------------------------------------------------------------------------------------------------------------------- Test JPP_0100 / DATA_INTEGRITY / GOODCASE Description: JSON file is empty (single pair of brackets only) Expectation: JsonPreprocessor returns empty dictionary @@ -55,38 +47,6 @@ Test JPP_0201 / PARAMETER_SUBSTITUTION / GOODCASE Description: JSON file with nested parameter / string parameter substitution in parameter name Expectation: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string ------------------------------------------------------------------------------------------------------------------------ -Test JPP_0202 / PARAMETER_SUBSTITUTION / GOODCASE -Description: JSON file with nested parameter / index parameter substitution in parameter name / standard notation -Expectation: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0203 / PARAMETER_SUBSTITUTION / GOODCASE -Description: JSON file with nested parameter / index parameter substitution in parameter name / dotdict notation -Expectation: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0204 / PARAMETER_SUBSTITUTION / GOODCASE -Description: JSON file with nested parameter / index parameter substitution in parameter value / standard notation -Expectation: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0205 / PARAMETER_SUBSTITUTION / GOODCASE -Description: JSON file with nested parameter / index parameter substitution in parameter value / dotdict notation -Expectation: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0206 / PARAMETER_SUBSTITUTION / GOODCASE -Description: JSON file with nested parameter / key parameter substitution in parameter name / standard notation -Expectation: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0207 / PARAMETER_SUBSTITUTION / GOODCASE -Description: JSON file with nested parameter / key parameter substitution in parameter name / dotdict notation -Expectation: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0208 / PARAMETER_SUBSTITUTION / GOODCASE -Description: JSON file with nested parameter / key parameter substitution in parameter value / standard notation -Expectation: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0209 / PARAMETER_SUBSTITUTION / GOODCASE -Description: JSON file with nested parameter / key parameter substitution in parameter value / dotdict notation -Expectation: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string ------------------------------------------------------------------------------------------------------------------------- Test JPP_0250 / PARAMETER_SUBSTITUTION / BADCASE Description: JSON file with nested parameter / string parameter substitution in parameter value / innermost parameter not existing Expectation: No values are returned, and JsonPreprocessor throws an exception @@ -95,278 +55,46 @@ Test JPP_0251 / PARAMETER_SUBSTITUTION / BADCASE Description: JSON file with nested parameter / string parameter substitution in parameter name / in between parameter not existing Expectation: No values are returned, and JsonPreprocessor throws an exception ------------------------------------------------------------------------------------------------------------------------ -Test JPP_0252 / PARAMETER_SUBSTITUTION / BADCASE -Description: JSON file with nested parameter / index parameter substitution in parameter name / standard notation / index parameter not existing -Expectation: No values are returned, and JsonPreprocessor throws an exception ------------------------------------------------------------------------------------------------------------------------- Test JPP_0253 / PARAMETER_SUBSTITUTION / BADCASE Description: JSON file with nested parameter / index parameter substitution in parameter name / dotdict notation / index parameter not existing Expectation: No values are returned, and JsonPreprocessor throws an exception ------------------------------------------------------------------------------------------------------------------------ -Test JPP_0254 / PARAMETER_SUBSTITUTION / BADCASE -Description: JSON file with nested parameter / index parameter substitution in parameter value / standard notation / index parameter not existing -Expectation: No values are returned, and JsonPreprocessor throws an exception ------------------------------------------------------------------------------------------------------------------------- Test JPP_0255 / PARAMETER_SUBSTITUTION / BADCASE Description: JSON file with nested parameter / index parameter substitution in parameter value / dotdict notation / index parameter not existing Expectation: No values are returned, and JsonPreprocessor throws an exception ------------------------------------------------------------------------------------------------------------------------ -Test JPP_0256 / PARAMETER_SUBSTITUTION / BADCASE -Description: JSON file with nested parameter / key parameter substitution in parameter name / standard notation / variant number not existing -Expectation: No values are returned, and JsonPreprocessor throws an exception ------------------------------------------------------------------------------------------------------------------------- Test JPP_0257 / PARAMETER_SUBSTITUTION / BADCASE Description: JSON file with nested parameter / key parameter substitution in parameter name / dotdict notation / milestone number not existing Expectation: No values are returned, and JsonPreprocessor throws an exception ------------------------------------------------------------------------------------------------------------------------ -Test JPP_0258 / PARAMETER_SUBSTITUTION / BADCASE -Description: JSON file with nested parameter / key parameter substitution in parameter value / standard notation / variant number not existing -Expectation: No values are returned, and JsonPreprocessor throws an exception ------------------------------------------------------------------------------------------------------------------------- Test JPP_0259 / PARAMETER_SUBSTITUTION / BADCASE Description: JSON file with nested parameter / key parameter substitution in parameter value / dotdict notation / milestone number not existing Expectation: No values are returned, and JsonPreprocessor throws an exception ------------------------------------------------------------------------------------------------------------------------ -Test JPP_0260 / PARAMETER_SUBSTITUTION / BADCASE -Description: JSON file with list parameter substitution in parameter name (composite data types not allowed in names) / (1) -Expectation: No values are returned, and JsonPreprocessor throws an exception ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0261 / PARAMETER_SUBSTITUTION / BADCASE -Description: JSON file with list parameter substitution in parameter name (composite data types not allowed in names) / (2) -Expectation: No values are returned, and JsonPreprocessor throws an exception ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0262 / PARAMETER_SUBSTITUTION / BADCASE -Description: JSON file with dictionary parameter substitution in parameter name (composite data types not allowed in names) / (1) -Expectation: No values are returned, and JsonPreprocessor throws an exception ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0263 / PARAMETER_SUBSTITUTION / BADCASE -Description: JSON file with dictionary parameter substitution in parameter name (composite data types not allowed in names) / (2) -Expectation: No values are returned, and JsonPreprocessor throws an exception ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0264 / PARAMETER_SUBSTITUTION / BADCASE -Description: JSON file with list parameter substitution in key name (composite data types not allowed in names) / (1) -Expectation: No values are returned, and JsonPreprocessor throws an exception ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0265 / PARAMETER_SUBSTITUTION / BADCASE -Description: JSON file with list parameter substitution in key name (composite data types not allowed in names) / (2) -Expectation: No values are returned, and JsonPreprocessor throws an exception ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0266 / PARAMETER_SUBSTITUTION / BADCASE -Description: JSON file with dictionary parameter substitution in key name (composite data types not allowed in names) / (1) -Expectation: No values are returned, and JsonPreprocessor throws an exception ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0267 / PARAMETER_SUBSTITUTION / BADCASE -Description: JSON file with dictionary parameter substitution in key name (composite data types not allowed in names) / (2) -Expectation: No values are returned, and JsonPreprocessor throws an exception ------------------------------------------------------------------------------------------------------------------------- Test JPP_0300 / VALUE_DETECTION / GOODCASE Description: JSON file with parameter of type 'list' / index (in square brackets) defined outside the curly brackets (valid syntax) Expectation: JsonPreprocessor returns values Hint.......: Checklist rule 1 ------------------------------------------------------------------------------------------------------------------------ -Test JPP_0301 / VALUE_DETECTION / GOODCASE -Description: JSON file with expression containing more closing elements '}' than opening elements '${' (valid syntax) -Expectation: JsonPreprocessor returns values -Hint.......: Checklist rule 3 ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0302 / VALUE_DETECTION / GOODCASE -Description: JSON file with expression starting with '${' and ending with '}' / no further matching '${' and '}' in between (valid syntax) -Expectation: JsonPreprocessor returns values -Hint.......: Checklist rule 4 ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0303 / VALUE_DETECTION / GOODCASE -Description: JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (nested) (valid syntax) -Expectation: JsonPreprocessor returns values -Hint.......: Checklist rule 5 ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0304 / VALUE_DETECTION / GOODCASE -Description: JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (not all nested) (valid syntax) -Expectation: JsonPreprocessor returns values -Hint.......: Checklist rule 6 ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0350 / VALUE_DETECTION / BADCASE -Description: JSON file with parameter of type 'list' / index (in square brackets) defined inside the curly brackets (invalid syntax 1) -Expectation: No values are returned, and JsonPreprocessor throws an exception -Hint.......: Checklist rule 1 / pattern 1 ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0351 / VALUE_DETECTION / BADCASE -Description: JSON file with parameter of type 'list' / index (in square brackets) defined inside the curly brackets (invalid syntax 2) -Expectation: No values are returned, and JsonPreprocessor throws an exception -Hint.......: Checklist rule 1 / pattern 2 ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0352 / VALUE_DETECTION / BADCASE -Description: JSON file with parameter of type 'list' / index (in square brackets) defined inside the curly brackets (invalid syntax 3) -Expectation: No values are returned, and JsonPreprocessor throws an exception -Hint.......: Checklist rule 1 / pattern 3 ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0353 / VALUE_DETECTION / BADCASE -Description: JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 1) -Expectation: No values are returned, and JsonPreprocessor throws an exception -Hint.......: Checklist rule 2 / pattern 1 ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0354 / VALUE_DETECTION / BADCASE -Description: JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 2) -Expectation: No values are returned, and JsonPreprocessor throws an exception -Hint.......: Checklist rule 2 / pattern 2 ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0355 / VALUE_DETECTION / BADCASE -Description: JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 3) -Expectation: No values are returned, and JsonPreprocessor throws an exception -Hint.......: Checklist rule 2 / pattern 3 ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0356 / VALUE_DETECTION / BADCASE -Description: JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 4) -Expectation: No values are returned, and JsonPreprocessor throws an exception -Hint.......: Checklist rule 2 / pattern 4 ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0357 / VALUE_DETECTION / BADCASE -Description: JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 5) -Expectation: No values are returned, and JsonPreprocessor throws an exception -Hint.......: Checklist rule 2 / pattern 5 ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0358 / VALUE_DETECTION / BADCASE -Description: JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 6) -Expectation: No values are returned, and JsonPreprocessor throws an exception -Hint.......: Checklist rule 2 / pattern 6 ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0359 / VALUE_DETECTION / BADCASE -Description: JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 6) -Expectation: No values are returned, and JsonPreprocessor throws an exception -Hint.......: Checklist rule 2 / pattern 7 ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0360 / VALUE_DETECTION / BADCASE -Description: JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 9) -Expectation: No values are returned, and JsonPreprocessor throws an exception -Hint.......: Checklist rule 2 / pattern 8 ------------------------------------------------------------------------------------------------------------------------- Test JPP_0361 / VALUE_DETECTION / BADCASE Description: JSON file with expression containing more closing elements '}' than opening elements '${' (invalid syntax 1) Expectation: No values are returned, and JsonPreprocessor throws an exception Hint.......: Checklist rule 3 / pattern 1 ------------------------------------------------------------------------------------------------------------------------ -Test JPP_0362 / VALUE_DETECTION / BADCASE -Description: JSON file with expression containing more closing elements '}' than opening elements '${' (invalid syntax 2) -Expectation: No values are returned, and JsonPreprocessor throws an exception -Hint.......: Checklist rule 3 / pattern 2 ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0363 / VALUE_DETECTION / BADCASE -Description: JSON file with expression containing more closing elements '}' than opening elements '${' (invalid syntax 3) -Expectation: No values are returned, and JsonPreprocessor throws an exception -Hint.......: Checklist rule 3 / pattern 3 ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0364 / VALUE_DETECTION / BADCASE -Description: JSON file with expression containing more closing elements '}' than opening elements '${' (invalid syntax 4) -Expectation: No values are returned, and JsonPreprocessor throws an exception -Hint.......: Checklist rule 3 / pattern 4 ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0365 / VALUE_DETECTION / BADCASE -Description: JSON file with expression containing more closing elements '}' than opening elements '${' (invalid syntax 5) -Expectation: No values are returned, and JsonPreprocessor throws an exception -Hint.......: Checklist rule 3 / pattern 5 ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0366 / VALUE_DETECTION / BADCASE -Description: JSON file with expression containing more closing elements '}' than opening elements '${' (invalid syntax 6) -Expectation: No values are returned, and JsonPreprocessor throws an exception -Hint.......: Checklist rule 3 / pattern 6 ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0367 / VALUE_DETECTION / BADCASE -Description: JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (not all nested) (invalid syntax 1) -Expectation: No values are returned, and JsonPreprocessor throws an exception -Hint.......: Checklist rule 6 / pattern 1 ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0368 / VALUE_DETECTION / BADCASE -Description: JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (not all nested) (invalid syntax 2) -Expectation: No values are returned, and JsonPreprocessor throws an exception -Hint.......: Checklist rule 6 / pattern 2 ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0369 / VALUE_DETECTION / BADCASE -Description: JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (not all nested) (invalid syntax 3) -Expectation: No values are returned, and JsonPreprocessor throws an exception -Hint.......: Checklist rule 6 / pattern 3 ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0370 / VALUE_DETECTION / BADCASE -Description: JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (not all nested) (invalid syntax 4) -Expectation: No values are returned, and JsonPreprocessor throws an exception -Hint.......: Checklist rule 6 / pattern 4 ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0371 / VALUE_DETECTION / BADCASE -Description: JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (not all nested) (invalid syntax 5) -Expectation: No values are returned, and JsonPreprocessor throws an exception -Hint.......: Checklist rule 6 / pattern 5 ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0450 / NAMING_CONVENTION / BADCASE -Description: JSON file with Python keywords used as parameter names (1) -Expectation: No values are returned, and JsonPreprocessor throws an exception ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0451 / NAMING_CONVENTION / BADCASE -Description: JSON file with Python keywords used as parameter names (2) -Expectation: No values are returned, and JsonPreprocessor throws an exception ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0452 / NAMING_CONVENTION / BADCASE -Description: JSON file with Python keywords used as parameter names (3) -Expectation: No values are returned, and JsonPreprocessor throws an exception ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0453 / NAMING_CONVENTION / BADCASE -Description: JSON file with Python keywords used as parameter names (4) -Expectation: No values are returned, and JsonPreprocessor throws an exception ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0454 / NAMING_CONVENTION / BADCASE -Description: JSON file with Python keywords used as parameter names (5) -Expectation: No values are returned, and JsonPreprocessor throws an exception ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0455 / NAMING_CONVENTION / BADCASE -Description: JSON file with Python keywords used as parameter names (6) -Expectation: No values are returned, and JsonPreprocessor throws an exception ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0456 / NAMING_CONVENTION / BADCASE -Description: JSON file with Python keywords used as parameter names (7) -Expectation: No values are returned, and JsonPreprocessor throws an exception ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0457 / NAMING_CONVENTION / BADCASE -Description: JSON file with Python keywords used as parameter names (8) -Expectation: No values are returned, and JsonPreprocessor throws an exception ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0458 / NAMING_CONVENTION / BADCASE -Description: JSON file with parameter name containing not allowed special characters -Expectation: No values are returned, and JsonPreprocessor throws an exception ------------------------------------------------------------------------------------------------------------------------- Test JPP_0500 / COMPOSITE_EXPRESSIONS / GOODCASE Description: JSON file with composite data structure (nested lists and dictionaries 1) Expectation: JsonPreprocessor returns expected value Hint.......: Standard notation ------------------------------------------------------------------------------------------------------------------------ -Test JPP_0501 / COMPOSITE_EXPRESSIONS / GOODCASE -Description: JSON file with composite data structure (nested lists and dictionaries 2) -Expectation: JsonPreprocessor returns expected value -Hint.......: Dotdict notation ------------------------------------------------------------------------------------------------------------------------- Test JPP_0502 / COMPOSITE_EXPRESSIONS / GOODCASE Description: JSON file with composite data structure (nested lists and dictionaries 3 / some key names with dots inside) Expectation: JsonPreprocessor returns expected value Hint.......: Standard notation ------------------------------------------------------------------------------------------------------------------------ -Test JPP_0503 / COMPOSITE_EXPRESSIONS / GOODCASE -Description: JSON file with composite data structure (some lists) -Expectation: JsonPreprocessor returns expected value ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0504 / COMPOSITE_EXPRESSIONS / GOODCASE -Description: JSON file with composite data structure (some dictionaries) -Expectation: JsonPreprocessor returns expected value ------------------------------------------------------------------------------------------------------------------------- -Test JPP_0505 / COMPOSITE_EXPRESSIONS / GOODCASE -Description: JSON file with composite strings containing several times a colon and a comma (JSON syntax elements) -Expectation: JsonPreprocessor returns expected value ------------------------------------------------------------------------------------------------------------------------- Test JPP_0506 / COMPOSITE_EXPRESSIONS / GOODCASE Description: JSON file with composite strings containing several combinations of curly brackets and special characters before Expectation: JsonPreprocessor returns expected value ------------------------------------------------------------------------------------------------------------------------ -Test JPP_0550 / COMPOSITE_EXPRESSIONS / BADCASE -Description: JSON file with composite data structure (nested lists and dictionaries / some key names with dots inside) -Expectation: No values are returned, and JsonPreprocessor throws an exception -Comment....: Needs clarification! -Hint.......: Dotdict notation (ambiguous in this case) ------------------------------------------------------------------------------------------------------------------------- Test JPP_0900 / COMMON_SYNTAX_VIOLATIONS / GOODCASE Description: JSON file with syntax error, that is commented out Expectation: JsonPreprocessor returns remaining content of JSON file (valid parameters) @@ -391,5 +119,5 @@ Test JPP_0954 / COMMON_SYNTAX_VIOLATIONS / BADCASE Description: JSON file with syntax error (5): file is empty (multiple pairs of brackets only) Expectation: No values are returned, and JsonPreprocessor throws an exception ------------------------------------------------------------------------------------------------------------------------ -Generated: 02.08.2023 - 14:43:07 +Generated: 09.08.2023 - 11:47:23 diff --git a/test/component_test.py b/test/component_test.py index bc14e2bf..65aeb28a 100644 --- a/test/component_test.py +++ b/test/component_test.py @@ -22,8 +22,8 @@ # # -------------------------------------------------------------------------------------------------------------- # -VERSION = "0.2.0" -VERSION_DATE = "07.08.2023" +VERSION = "0.5.0" +VERSION_DATE = "09.08.2023" # # -------------------------------------------------------------------------------------------------------------- #TM*** diff --git a/test/pytest/pytestfiles/test_01_DATA_TYPES_GOODCASE.py b/test/pytest/pytestfiles/test_01_DATA_TYPES_GOODCASE.py index 8fc9ac3c..dc79b7f6 100644 --- a/test/pytest/pytestfiles/test_01_DATA_TYPES_GOODCASE.py +++ b/test/pytest/pytestfiles/test_01_DATA_TYPES_GOODCASE.py @@ -18,7 +18,7 @@ # # XC-CT/ECA3-Queckenstedt # -# 18.07.2023 - 15:09:36 +# 09.08.2023 - 11:47:23 # # -------------------------------------------------------------------------------------------------------------- @@ -53,20 +53,4 @@ def test_JPP_0002(self, Description): def test_JPP_0003(self, Description): nReturn = CExecute.Execute("JPP_0003") assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: All parameters referenced by dollar operator are resolved correctly, with their correct data types - @pytest.mark.parametrize( - "Description", ["JSON file containing parameters with dollar operator syntax at right hand side of colon, composite data type: dict",] - ) - def test_JPP_0004(self, Description): - nReturn = CExecute.Execute("JPP_0004") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: All parameters referenced by dollar operator are resolved correctly, outcome is a string containing the values of all referenced parameters - @pytest.mark.parametrize( - "Description", ["JSON file with string values containing dollar operators",] - ) - def test_JPP_0005(self, Description): - nReturn = CExecute.Execute("JPP_0005") - assert nReturn == 0 # -------------------------------------------------------------------------------------------------------------- diff --git a/test/pytest/pytestfiles/test_02_DATA_INTEGRITY_GOODCASE.py b/test/pytest/pytestfiles/test_02_DATA_INTEGRITY_GOODCASE.py index 89b0c396..c1bba20e 100644 --- a/test/pytest/pytestfiles/test_02_DATA_INTEGRITY_GOODCASE.py +++ b/test/pytest/pytestfiles/test_02_DATA_INTEGRITY_GOODCASE.py @@ -18,7 +18,7 @@ # # XC-CT/ECA3-Queckenstedt # -# 18.07.2023 - 15:09:36 +# 09.08.2023 - 11:47:23 # # -------------------------------------------------------------------------------------------------------------- diff --git a/test/pytest/pytestfiles/test_03_PARAMETER_SUBSTITUTION_GOODCASE.py b/test/pytest/pytestfiles/test_03_PARAMETER_SUBSTITUTION_GOODCASE.py index 1129d4b9..7b14f10e 100644 --- a/test/pytest/pytestfiles/test_03_PARAMETER_SUBSTITUTION_GOODCASE.py +++ b/test/pytest/pytestfiles/test_03_PARAMETER_SUBSTITUTION_GOODCASE.py @@ -18,7 +18,7 @@ # # XC-CT/ECA3-Queckenstedt # -# 18.07.2023 - 15:09:36 +# 09.08.2023 - 11:47:23 # # -------------------------------------------------------------------------------------------------------------- @@ -45,68 +45,4 @@ def test_JPP_0200(self, Description): def test_JPP_0201(self, Description): nReturn = CExecute.Execute("JPP_0201") assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string - @pytest.mark.parametrize( - "Description", ["JSON file with nested parameter / index parameter substitution in parameter name / standard notation",] - ) - def test_JPP_0202(self, Description): - nReturn = CExecute.Execute("JPP_0202") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string - @pytest.mark.parametrize( - "Description", ["JSON file with nested parameter / index parameter substitution in parameter name / dotdict notation",] - ) - def test_JPP_0203(self, Description): - nReturn = CExecute.Execute("JPP_0203") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string - @pytest.mark.parametrize( - "Description", ["JSON file with nested parameter / index parameter substitution in parameter value / standard notation",] - ) - def test_JPP_0204(self, Description): - nReturn = CExecute.Execute("JPP_0204") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string - @pytest.mark.parametrize( - "Description", ["JSON file with nested parameter / index parameter substitution in parameter value / dotdict notation",] - ) - def test_JPP_0205(self, Description): - nReturn = CExecute.Execute("JPP_0205") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string - @pytest.mark.parametrize( - "Description", ["JSON file with nested parameter / key parameter substitution in parameter name / standard notation",] - ) - def test_JPP_0206(self, Description): - nReturn = CExecute.Execute("JPP_0206") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string - @pytest.mark.parametrize( - "Description", ["JSON file with nested parameter / key parameter substitution in parameter name / dotdict notation",] - ) - def test_JPP_0207(self, Description): - nReturn = CExecute.Execute("JPP_0207") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string - @pytest.mark.parametrize( - "Description", ["JSON file with nested parameter / key parameter substitution in parameter value / standard notation",] - ) - def test_JPP_0208(self, Description): - nReturn = CExecute.Execute("JPP_0208") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: JsonPreprocessor creates a new string with all dollar operator expressions resolved as string - @pytest.mark.parametrize( - "Description", ["JSON file with nested parameter / key parameter substitution in parameter value / dotdict notation",] - ) - def test_JPP_0209(self, Description): - nReturn = CExecute.Execute("JPP_0209") - assert nReturn == 0 # -------------------------------------------------------------------------------------------------------------- diff --git a/test/pytest/pytestfiles/test_04_PARAMETER_SUBSTITUTION_BADCASE.py b/test/pytest/pytestfiles/test_04_PARAMETER_SUBSTITUTION_BADCASE.py index 98e57aa7..11ce7b41 100644 --- a/test/pytest/pytestfiles/test_04_PARAMETER_SUBSTITUTION_BADCASE.py +++ b/test/pytest/pytestfiles/test_04_PARAMETER_SUBSTITUTION_BADCASE.py @@ -18,7 +18,7 @@ # # XC-CT/ECA3-Queckenstedt # -# 18.07.2023 - 15:09:36 +# 09.08.2023 - 11:47:23 # # -------------------------------------------------------------------------------------------------------------- @@ -45,14 +45,6 @@ def test_JPP_0250(self, Description): def test_JPP_0251(self, Description): nReturn = CExecute.Execute("JPP_0251") assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with nested parameter / index parameter substitution in parameter name / standard notation / index parameter not existing",] - ) - def test_JPP_0252(self, Description): - nReturn = CExecute.Execute("JPP_0252") - assert nReturn == 0 # -------------------------------------------------------------------------------------------------------------- # Expected: No values are returned, and JsonPreprocessor throws an exception @pytest.mark.parametrize( @@ -61,14 +53,6 @@ def test_JPP_0252(self, Description): def test_JPP_0253(self, Description): nReturn = CExecute.Execute("JPP_0253") assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with nested parameter / index parameter substitution in parameter value / standard notation / index parameter not existing",] - ) - def test_JPP_0254(self, Description): - nReturn = CExecute.Execute("JPP_0254") - assert nReturn == 0 # -------------------------------------------------------------------------------------------------------------- # Expected: No values are returned, and JsonPreprocessor throws an exception @pytest.mark.parametrize( @@ -77,14 +61,6 @@ def test_JPP_0254(self, Description): def test_JPP_0255(self, Description): nReturn = CExecute.Execute("JPP_0255") assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with nested parameter / key parameter substitution in parameter name / standard notation / variant number not existing",] - ) - def test_JPP_0256(self, Description): - nReturn = CExecute.Execute("JPP_0256") - assert nReturn == 0 # -------------------------------------------------------------------------------------------------------------- # Expected: No values are returned, and JsonPreprocessor throws an exception @pytest.mark.parametrize( @@ -93,14 +69,6 @@ def test_JPP_0256(self, Description): def test_JPP_0257(self, Description): nReturn = CExecute.Execute("JPP_0257") assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with nested parameter / key parameter substitution in parameter value / standard notation / variant number not existing",] - ) - def test_JPP_0258(self, Description): - nReturn = CExecute.Execute("JPP_0258") - assert nReturn == 0 # -------------------------------------------------------------------------------------------------------------- # Expected: No values are returned, and JsonPreprocessor throws an exception @pytest.mark.parametrize( @@ -109,68 +77,4 @@ def test_JPP_0258(self, Description): def test_JPP_0259(self, Description): nReturn = CExecute.Execute("JPP_0259") assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with list parameter substitution in parameter name (composite data types not allowed in names) / (1)",] - ) - def test_JPP_0260(self, Description): - nReturn = CExecute.Execute("JPP_0260") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with list parameter substitution in parameter name (composite data types not allowed in names) / (2)",] - ) - def test_JPP_0261(self, Description): - nReturn = CExecute.Execute("JPP_0261") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with dictionary parameter substitution in parameter name (composite data types not allowed in names) / (1)",] - ) - def test_JPP_0262(self, Description): - nReturn = CExecute.Execute("JPP_0262") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with dictionary parameter substitution in parameter name (composite data types not allowed in names) / (2)",] - ) - def test_JPP_0263(self, Description): - nReturn = CExecute.Execute("JPP_0263") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with list parameter substitution in key name (composite data types not allowed in names) / (1)",] - ) - def test_JPP_0264(self, Description): - nReturn = CExecute.Execute("JPP_0264") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with list parameter substitution in key name (composite data types not allowed in names) / (2)",] - ) - def test_JPP_0265(self, Description): - nReturn = CExecute.Execute("JPP_0265") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with dictionary parameter substitution in key name (composite data types not allowed in names) / (1)",] - ) - def test_JPP_0266(self, Description): - nReturn = CExecute.Execute("JPP_0266") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with dictionary parameter substitution in key name (composite data types not allowed in names) / (2)",] - ) - def test_JPP_0267(self, Description): - nReturn = CExecute.Execute("JPP_0267") - assert nReturn == 0 # -------------------------------------------------------------------------------------------------------------- diff --git a/test/pytest/pytestfiles/test_05_VALUE_DETECTION_GOODCASE.py b/test/pytest/pytestfiles/test_05_VALUE_DETECTION_GOODCASE.py index 1d8a8de6..ca126b6c 100644 --- a/test/pytest/pytestfiles/test_05_VALUE_DETECTION_GOODCASE.py +++ b/test/pytest/pytestfiles/test_05_VALUE_DETECTION_GOODCASE.py @@ -18,7 +18,7 @@ # # XC-CT/ECA3-Queckenstedt # -# 18.07.2023 - 15:09:36 +# 09.08.2023 - 11:47:23 # # -------------------------------------------------------------------------------------------------------------- @@ -37,36 +37,4 @@ class Test_VALUE_DETECTION_GOODCASE: def test_JPP_0300(self, Description): nReturn = CExecute.Execute("JPP_0300") assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: JsonPreprocessor returns values - @pytest.mark.parametrize( - "Description", ["JSON file with expression containing more closing elements '}' than opening elements '${' (valid syntax)",] - ) - def test_JPP_0301(self, Description): - nReturn = CExecute.Execute("JPP_0301") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: JsonPreprocessor returns values - @pytest.mark.parametrize( - "Description", ["JSON file with expression starting with '${' and ending with '}' / no further matching '${' and '}' in between (valid syntax)",] - ) - def test_JPP_0302(self, Description): - nReturn = CExecute.Execute("JPP_0302") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: JsonPreprocessor returns values - @pytest.mark.parametrize( - "Description", ["JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (nested) (valid syntax)",] - ) - def test_JPP_0303(self, Description): - nReturn = CExecute.Execute("JPP_0303") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: JsonPreprocessor returns values - @pytest.mark.parametrize( - "Description", ["JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (not all nested) (valid syntax)",] - ) - def test_JPP_0304(self, Description): - nReturn = CExecute.Execute("JPP_0304") - assert nReturn == 0 # -------------------------------------------------------------------------------------------------------------- diff --git a/test/pytest/pytestfiles/test_06_VALUE_DETECTION_BADCASE.py b/test/pytest/pytestfiles/test_06_VALUE_DETECTION_BADCASE.py index 031e983f..dd7f77c4 100644 --- a/test/pytest/pytestfiles/test_06_VALUE_DETECTION_BADCASE.py +++ b/test/pytest/pytestfiles/test_06_VALUE_DETECTION_BADCASE.py @@ -18,7 +18,7 @@ # # XC-CT/ECA3-Queckenstedt # -# 18.07.2023 - 15:09:36 +# 09.08.2023 - 11:47:23 # # -------------------------------------------------------------------------------------------------------------- @@ -29,94 +29,6 @@ class Test_VALUE_DETECTION_BADCASE: -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with parameter of type 'list' / index (in square brackets) defined inside the curly brackets (invalid syntax 1)",] - ) - def test_JPP_0350(self, Description): - nReturn = CExecute.Execute("JPP_0350") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with parameter of type 'list' / index (in square brackets) defined inside the curly brackets (invalid syntax 2)",] - ) - def test_JPP_0351(self, Description): - nReturn = CExecute.Execute("JPP_0351") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with parameter of type 'list' / index (in square brackets) defined inside the curly brackets (invalid syntax 3)",] - ) - def test_JPP_0352(self, Description): - nReturn = CExecute.Execute("JPP_0352") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 1)",] - ) - def test_JPP_0353(self, Description): - nReturn = CExecute.Execute("JPP_0353") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 2)",] - ) - def test_JPP_0354(self, Description): - nReturn = CExecute.Execute("JPP_0354") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 3)",] - ) - def test_JPP_0355(self, Description): - nReturn = CExecute.Execute("JPP_0355") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 4)",] - ) - def test_JPP_0356(self, Description): - nReturn = CExecute.Execute("JPP_0356") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 5)",] - ) - def test_JPP_0357(self, Description): - nReturn = CExecute.Execute("JPP_0357") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 6)",] - ) - def test_JPP_0358(self, Description): - nReturn = CExecute.Execute("JPP_0358") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 6)",] - ) - def test_JPP_0359(self, Description): - nReturn = CExecute.Execute("JPP_0359") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with expression containing more opening elements '${' than closing elements '}' (invalid syntax 9)",] - ) - def test_JPP_0360(self, Description): - nReturn = CExecute.Execute("JPP_0360") - assert nReturn == 0 # -------------------------------------------------------------------------------------------------------------- # Expected: No values are returned, and JsonPreprocessor throws an exception @pytest.mark.parametrize( @@ -125,84 +37,4 @@ def test_JPP_0360(self, Description): def test_JPP_0361(self, Description): nReturn = CExecute.Execute("JPP_0361") assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with expression containing more closing elements '}' than opening elements '${' (invalid syntax 2)",] - ) - def test_JPP_0362(self, Description): - nReturn = CExecute.Execute("JPP_0362") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with expression containing more closing elements '}' than opening elements '${' (invalid syntax 3)",] - ) - def test_JPP_0363(self, Description): - nReturn = CExecute.Execute("JPP_0363") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with expression containing more closing elements '}' than opening elements '${' (invalid syntax 4)",] - ) - def test_JPP_0364(self, Description): - nReturn = CExecute.Execute("JPP_0364") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with expression containing more closing elements '}' than opening elements '${' (invalid syntax 5)",] - ) - def test_JPP_0365(self, Description): - nReturn = CExecute.Execute("JPP_0365") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with expression containing more closing elements '}' than opening elements '${' (invalid syntax 6)",] - ) - def test_JPP_0366(self, Description): - nReturn = CExecute.Execute("JPP_0366") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (not all nested) (invalid syntax 1)",] - ) - def test_JPP_0367(self, Description): - nReturn = CExecute.Execute("JPP_0367") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (not all nested) (invalid syntax 2)",] - ) - def test_JPP_0368(self, Description): - nReturn = CExecute.Execute("JPP_0368") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (not all nested) (invalid syntax 3)",] - ) - def test_JPP_0369(self, Description): - nReturn = CExecute.Execute("JPP_0369") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (not all nested) (invalid syntax 4)",] - ) - def test_JPP_0370(self, Description): - nReturn = CExecute.Execute("JPP_0370") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with expression starting with '${' and ending with '}', further matching '${' and '}' in between (not all nested) (invalid syntax 5)",] - ) - def test_JPP_0371(self, Description): - nReturn = CExecute.Execute("JPP_0371") - assert nReturn == 0 # -------------------------------------------------------------------------------------------------------------- diff --git a/test/pytest/pytestfiles/test_08_COMPOSITE_EXPRESSIONS_GOODCASE.py b/test/pytest/pytestfiles/test_07_COMPOSITE_EXPRESSIONS_GOODCASE.py similarity index 60% rename from test/pytest/pytestfiles/test_08_COMPOSITE_EXPRESSIONS_GOODCASE.py rename to test/pytest/pytestfiles/test_07_COMPOSITE_EXPRESSIONS_GOODCASE.py index d41d5950..ecab0ff4 100644 --- a/test/pytest/pytestfiles/test_08_COMPOSITE_EXPRESSIONS_GOODCASE.py +++ b/test/pytest/pytestfiles/test_07_COMPOSITE_EXPRESSIONS_GOODCASE.py @@ -14,11 +14,11 @@ # limitations under the License. # -------------------------------------------------------------------------------------------------------------- # -# test_08_COMPOSITE_EXPRESSIONS_GOODCASE.py +# test_07_COMPOSITE_EXPRESSIONS_GOODCASE.py # # XC-CT/ECA3-Queckenstedt # -# 18.07.2023 - 15:09:36 +# 09.08.2023 - 11:47:23 # # -------------------------------------------------------------------------------------------------------------- @@ -37,14 +37,6 @@ class Test_COMPOSITE_EXPRESSIONS_GOODCASE: def test_JPP_0500(self, Description): nReturn = CExecute.Execute("JPP_0500") assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: JsonPreprocessor returns expected value - @pytest.mark.parametrize( - "Description", ["JSON file with composite data structure (nested lists and dictionaries 2)",] - ) - def test_JPP_0501(self, Description): - nReturn = CExecute.Execute("JPP_0501") - assert nReturn == 0 # -------------------------------------------------------------------------------------------------------------- # Expected: JsonPreprocessor returns expected value @pytest.mark.parametrize( @@ -53,30 +45,6 @@ def test_JPP_0501(self, Description): def test_JPP_0502(self, Description): nReturn = CExecute.Execute("JPP_0502") assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: JsonPreprocessor returns expected value - @pytest.mark.parametrize( - "Description", ["JSON file with composite data structure (some lists)",] - ) - def test_JPP_0503(self, Description): - nReturn = CExecute.Execute("JPP_0503") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: JsonPreprocessor returns expected value - @pytest.mark.parametrize( - "Description", ["JSON file with composite data structure (some dictionaries)",] - ) - def test_JPP_0504(self, Description): - nReturn = CExecute.Execute("JPP_0504") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: JsonPreprocessor returns expected value - @pytest.mark.parametrize( - "Description", ["JSON file with composite strings containing several times a colon and a comma (JSON syntax elements)",] - ) - def test_JPP_0505(self, Description): - nReturn = CExecute.Execute("JPP_0505") - assert nReturn == 0 # -------------------------------------------------------------------------------------------------------------- # Expected: JsonPreprocessor returns expected value @pytest.mark.parametrize( diff --git a/test/pytest/pytestfiles/test_07_NAMING_CONVENTION_BADCASE.py b/test/pytest/pytestfiles/test_07_NAMING_CONVENTION_BADCASE.py deleted file mode 100644 index 6c2dba56..00000000 --- a/test/pytest/pytestfiles/test_07_NAMING_CONVENTION_BADCASE.py +++ /dev/null @@ -1,104 +0,0 @@ -# ************************************************************************************************************** -# Copyright 2020-2023 Robert Bosch GmbH -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -------------------------------------------------------------------------------------------------------------- -# -# test_07_NAMING_CONVENTION_BADCASE.py -# -# XC-CT/ECA3-Queckenstedt -# -# 18.07.2023 - 15:09:36 -# -# -------------------------------------------------------------------------------------------------------------- - -import pytest -from pytestlibs.CExecute import CExecute - -# -------------------------------------------------------------------------------------------------------------- - -class Test_NAMING_CONVENTION_BADCASE: - -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with Python keywords used as parameter names (1)",] - ) - def test_JPP_0450(self, Description): - nReturn = CExecute.Execute("JPP_0450") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with Python keywords used as parameter names (2)",] - ) - def test_JPP_0451(self, Description): - nReturn = CExecute.Execute("JPP_0451") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with Python keywords used as parameter names (3)",] - ) - def test_JPP_0452(self, Description): - nReturn = CExecute.Execute("JPP_0452") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with Python keywords used as parameter names (4)",] - ) - def test_JPP_0453(self, Description): - nReturn = CExecute.Execute("JPP_0453") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with Python keywords used as parameter names (5)",] - ) - def test_JPP_0454(self, Description): - nReturn = CExecute.Execute("JPP_0454") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with Python keywords used as parameter names (6)",] - ) - def test_JPP_0455(self, Description): - nReturn = CExecute.Execute("JPP_0455") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with Python keywords used as parameter names (7)",] - ) - def test_JPP_0456(self, Description): - nReturn = CExecute.Execute("JPP_0456") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with Python keywords used as parameter names (8)",] - ) - def test_JPP_0457(self, Description): - nReturn = CExecute.Execute("JPP_0457") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with parameter name containing not allowed special characters",] - ) - def test_JPP_0458(self, Description): - nReturn = CExecute.Execute("JPP_0458") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- diff --git a/test/pytest/pytestfiles/test_10_COMMON_SYNTAX_VIOLATIONS_GOODCASE.py b/test/pytest/pytestfiles/test_08_COMMON_SYNTAX_VIOLATIONS_GOODCASE.py similarity index 96% rename from test/pytest/pytestfiles/test_10_COMMON_SYNTAX_VIOLATIONS_GOODCASE.py rename to test/pytest/pytestfiles/test_08_COMMON_SYNTAX_VIOLATIONS_GOODCASE.py index 2fc8cad3..55b1d2df 100644 --- a/test/pytest/pytestfiles/test_10_COMMON_SYNTAX_VIOLATIONS_GOODCASE.py +++ b/test/pytest/pytestfiles/test_08_COMMON_SYNTAX_VIOLATIONS_GOODCASE.py @@ -14,11 +14,11 @@ # limitations under the License. # -------------------------------------------------------------------------------------------------------------- # -# test_10_COMMON_SYNTAX_VIOLATIONS_GOODCASE.py +# test_08_COMMON_SYNTAX_VIOLATIONS_GOODCASE.py # # XC-CT/ECA3-Queckenstedt # -# 18.07.2023 - 15:09:36 +# 09.08.2023 - 11:47:23 # # -------------------------------------------------------------------------------------------------------------- diff --git a/test/pytest/pytestfiles/test_11_COMMON_SYNTAX_VIOLATIONS_BADCASE.py b/test/pytest/pytestfiles/test_09_COMMON_SYNTAX_VIOLATIONS_BADCASE.py similarity index 97% rename from test/pytest/pytestfiles/test_11_COMMON_SYNTAX_VIOLATIONS_BADCASE.py rename to test/pytest/pytestfiles/test_09_COMMON_SYNTAX_VIOLATIONS_BADCASE.py index 7953853c..bc6c6241 100644 --- a/test/pytest/pytestfiles/test_11_COMMON_SYNTAX_VIOLATIONS_BADCASE.py +++ b/test/pytest/pytestfiles/test_09_COMMON_SYNTAX_VIOLATIONS_BADCASE.py @@ -14,11 +14,11 @@ # limitations under the License. # -------------------------------------------------------------------------------------------------------------- # -# test_11_COMMON_SYNTAX_VIOLATIONS_BADCASE.py +# test_09_COMMON_SYNTAX_VIOLATIONS_BADCASE.py # # XC-CT/ECA3-Queckenstedt # -# 18.07.2023 - 15:09:36 +# 09.08.2023 - 11:47:23 # # -------------------------------------------------------------------------------------------------------------- diff --git a/test/pytest/pytestfiles/test_09_COMPOSITE_EXPRESSIONS_BADCASE.py b/test/pytest/pytestfiles/test_09_COMPOSITE_EXPRESSIONS_BADCASE.py deleted file mode 100644 index 6b83e3ae..00000000 --- a/test/pytest/pytestfiles/test_09_COMPOSITE_EXPRESSIONS_BADCASE.py +++ /dev/null @@ -1,40 +0,0 @@ -# ************************************************************************************************************** -# Copyright 2020-2023 Robert Bosch GmbH -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -------------------------------------------------------------------------------------------------------------- -# -# test_09_COMPOSITE_EXPRESSIONS_BADCASE.py -# -# XC-CT/ECA3-Queckenstedt -# -# 18.07.2023 - 15:09:36 -# -# -------------------------------------------------------------------------------------------------------------- - -import pytest -from pytestlibs.CExecute import CExecute - -# -------------------------------------------------------------------------------------------------------------- - -class Test_COMPOSITE_EXPRESSIONS_BADCASE: - -# -------------------------------------------------------------------------------------------------------------- - # Expected: No values are returned, and JsonPreprocessor throws an exception - @pytest.mark.parametrize( - "Description", ["JSON file with composite data structure (nested lists and dictionaries / some key names with dots inside)",] - ) - def test_JPP_0550(self, Description): - nReturn = CExecute.Execute("JPP_0550") - assert nReturn == 0 -# -------------------------------------------------------------------------------------------------------------- diff --git a/test/testconfig/TestConfig.py b/test/testconfig/TestConfig.py index 7c2bcdba..4077c0fd 100644 --- a/test/testconfig/TestConfig.py +++ b/test/testconfig/TestConfig.py @@ -22,7 +22,7 @@ # # -------------------------------------------------------------------------------------------------------------- # -# 07.08.2023 +# 09.08.2023 # # !!! Temporarily tests are deactivated by the following line commented out: # # # listofdictUsecases.append(dictUsecase) @@ -235,15 +235,15 @@ [DICT] (53/52) > {param_100} [LIST] (51/26) > [STR] : '4.56' [DICT] (53/52) > {param_100} [LIST] (51/27) > [STR] : '4.56' [DICT] (53/52) > {param_100} [LIST] (51/28) > [BOOL] : True -[DICT] (53/52) > {param_100} [LIST] (51/29) > [STR] : 'true' +[DICT] (53/52) > {param_100} [LIST] (51/29) > [STR] : 'True' [DICT] (53/52) > {param_100} [LIST] (51/30) > [STR] : 'true' [DICT] (53/52) > {param_100} [LIST] (51/31) > [STR] : 'true' [DICT] (53/52) > {param_100} [LIST] (51/32) > [BOOL] : False -[DICT] (53/52) > {param_100} [LIST] (51/33) > [STR] : 'false' +[DICT] (53/52) > {param_100} [LIST] (51/33) > [STR] : 'False' [DICT] (53/52) > {param_100} [LIST] (51/34) > [STR] : 'false' [DICT] (53/52) > {param_100} [LIST] (51/35) > [STR] : 'false' -[DICT] (53/52) > {param_100} [LIST] (51/36) > [BOOL] : None -[DICT] (53/52) > {param_100} [LIST] (51/37) > [STR] : 'null' +[DICT] (53/52) > {param_100} [LIST] (51/36) > [NONE] : None +[DICT] (53/52) > {param_100} [LIST] (51/37) > [STR] : 'None' [DICT] (53/52) > {param_100} [LIST] (51/38) > [STR] : 'null' [DICT] (53/52) > {param_100} [LIST] (51/39) > [STR] : 'null' [DICT] (53/52) > {param_100} [LIST] (51/40) > [BOOL] : True @@ -254,7 +254,7 @@ [DICT] (53/52) > {param_100} [LIST] (51/45) > [STR] : 'False' [DICT] (53/52) > {param_100} [LIST] (51/46) > [STR] : 'False' [DICT] (53/52) > {param_100} [LIST] (51/47) > [STR] : 'False' -[DICT] (53/52) > {param_100} [LIST] (51/48) > [BOOL] : None +[DICT] (53/52) > {param_100} [LIST] (51/48) > [NONE] : None [DICT] (53/52) > {param_100} [LIST] (51/49) > [STR] : 'None' [DICT] (53/52) > {param_100} [LIST] (51/50) > [STR] : 'None' [DICT] (53/52) > {param_100} [LIST] (51/51) > [STR] : 'None' @@ -286,15 +286,15 @@ [DICT] (53/53) > {param_101} [LIST] (51/26) > [STR] : '4.56' [DICT] (53/53) > {param_101} [LIST] (51/27) > [STR] : '4.56' [DICT] (53/53) > {param_101} [LIST] (51/28) > [BOOL] : True -[DICT] (53/53) > {param_101} [LIST] (51/29) > [STR] : 'true' +[DICT] (53/53) > {param_101} [LIST] (51/29) > [STR] : 'True' [DICT] (53/53) > {param_101} [LIST] (51/30) > [STR] : 'true' [DICT] (53/53) > {param_101} [LIST] (51/31) > [STR] : 'true' [DICT] (53/53) > {param_101} [LIST] (51/32) > [BOOL] : False -[DICT] (53/53) > {param_101} [LIST] (51/33) > [STR] : 'false' +[DICT] (53/53) > {param_101} [LIST] (51/33) > [STR] : 'False' [DICT] (53/53) > {param_101} [LIST] (51/34) > [STR] : 'false' [DICT] (53/53) > {param_101} [LIST] (51/35) > [STR] : 'false' -[DICT] (53/53) > {param_101} [LIST] (51/36) > [BOOL] : None -[DICT] (53/53) > {param_101} [LIST] (51/37) > [STR] : 'null' +[DICT] (53/53) > {param_101} [LIST] (51/36) > [NONE] : None +[DICT] (53/53) > {param_101} [LIST] (51/37) > [STR] : 'None' [DICT] (53/53) > {param_101} [LIST] (51/38) > [STR] : 'null' [DICT] (53/53) > {param_101} [LIST] (51/39) > [STR] : 'null' [DICT] (53/53) > {param_101} [LIST] (51/40) > [BOOL] : True @@ -305,12 +305,12 @@ [DICT] (53/53) > {param_101} [LIST] (51/45) > [STR] : 'False' [DICT] (53/53) > {param_101} [LIST] (51/46) > [STR] : 'False' [DICT] (53/53) > {param_101} [LIST] (51/47) > [STR] : 'False' -[DICT] (53/53) > {param_101} [LIST] (51/48) > [BOOL] : None +[DICT] (53/53) > {param_101} [LIST] (51/48) > [NONE] : None [DICT] (53/53) > {param_101} [LIST] (51/49) > [STR] : 'None' [DICT] (53/53) > {param_101} [LIST] (51/50) > [STR] : 'None' [DICT] (53/53) > {param_101} [LIST] (51/51) > [STR] : 'None' """ -# # # listofdictUsecases.append(dictUsecase) +listofdictUsecases.append(dictUsecase) del dictUsecase # -------------------------------------------------------------------------------------------------------------- dictUsecase = {} @@ -578,7 +578,7 @@ [DICT] (21/20) > {milestone} [STR] : 'milestone' [DICT] (21/21) > {variant_1} [STR] : 'VARIANT-1 (new value)' """ -# # # listofdictUsecases.append(dictUsecase) +listofdictUsecases.append(dictUsecase) del dictUsecase # -------------------------------------------------------------------------------------------------------------- dictUsecase = {} @@ -592,37 +592,35 @@ dictUsecase['JSONFILE'] = r"..\testfiles\jpp-test_config_0201.jsonp" dictUsecase['EXPECTEDEXCEPTION'] = None dictUsecase['EXPECTEDRETURN'] = """ -[DICT] (22/1) > {variant_1} [STR] : 'VARIANT-1' -[DICT] (22/2) > {variant_2} [STR] : 'VARIANT-2' -[DICT] (22/3) > {list_variant_numbers} [LIST] (2/1) > [INT] : 1 -[DICT] (22/3) > {list_variant_numbers} [LIST] (2/2) > [INT] : 2 -[DICT] (22/4) > {list_variant_index} [INT] : 0 -[DICT] (22/5) > {variant_number} [STR] : '1' -[DICT] (22/6) > {dict_variants} [DICT] (2/1) > {variant_1} [STR] : 'VARIANT-1' -[DICT] (22/6) > {dict_variants} [DICT] (2/2) > {variant_2} [STR] : 'VARIANT-2' -[DICT] (22/7) > {variant_key_1} [STR] : 'variant_1' -[DICT] (22/8) > {INNERMOST_VARIANT_VALUE} [STR] : 'RIA' -[DICT] (22/9) > {ARIAN} [STR] : 'ARIAN' -[DICT] (22/10) > {VARIANT} [STR] : 'VARIANT' -[DICT] (22/11) > {milestone_1} [STR] : 'MILESTONE-1' -[DICT] (22/12) > {milestone_2} [STR] : 'MILESTONE-2' -[DICT] (22/13) > {milestone_3} [STR] : 'MILESTONE-3' -[DICT] (22/14) > {list_milestone_numbers} [LIST] (3/1) > [INT] : 1 -[DICT] (22/14) > {list_milestone_numbers} [LIST] (3/2) > [INT] : 2 -[DICT] (22/14) > {list_milestone_numbers} [LIST] (3/3) > [INT] : 3 -[DICT] (22/15) > {list_milestone_index} [INT] : 1 -[DICT] (22/16) > {milestone_number} [STR] : '2' -[DICT] (22/17) > {dict_milestones} [DICT] (3/1) > {milestone_1} [STR] : 'MILESTONE-1' -[DICT] (22/17) > {dict_milestones} [DICT] (3/2) > {milestone_2} [STR] : 'MILESTONE-2' -[DICT] (22/17) > {dict_milestones} [DICT] (3/3) > {milestone_3} [STR] : 'MILESTONE-3' -[DICT] (22/18) > {milestone_key_2} [STR] : 'milestone_2' -[DICT] (22/19) > {innermost_milestone_name} [STR] : 'est' -[DICT] (22/20) > {ilesto} [STR] : 'ilesto' -[DICT] (22/21) > {milestone} [STR] : 'milestone' -[DICT] (22/22) > {milestone_2} [STR] : 'MILESTONE-2 (new value)' +[DICT] (21/1) > {variant_1} [STR] : 'VARIANT-1' +[DICT] (21/2) > {variant_2} [STR] : 'VARIANT-2' +[DICT] (21/3) > {list_variant_numbers} [LIST] (2/1) > [INT] : 1 +[DICT] (21/3) > {list_variant_numbers} [LIST] (2/2) > [INT] : 2 +[DICT] (21/4) > {list_variant_index} [INT] : 0 +[DICT] (21/5) > {variant_number} [STR] : '1' +[DICT] (21/6) > {dict_variants} [DICT] (2/1) > {variant_1} [STR] : 'VARIANT-1' +[DICT] (21/6) > {dict_variants} [DICT] (2/2) > {variant_2} [STR] : 'VARIANT-2' +[DICT] (21/7) > {variant_key_1} [STR] : 'variant_1' +[DICT] (21/8) > {INNERMOST_VARIANT_VALUE} [STR] : 'RIA' +[DICT] (21/9) > {ARIAN} [STR] : 'ARIAN' +[DICT] (21/10) > {VARIANT} [STR] : 'VARIANT' +[DICT] (21/11) > {milestone_1} [STR] : 'MILESTONE-1' +[DICT] (21/12) > {milestone_2} [STR] : 'MILESTONE-2 (new value)' +[DICT] (21/13) > {milestone_3} [STR] : 'MILESTONE-3' +[DICT] (21/14) > {list_milestone_numbers} [LIST] (3/1) > [INT] : 1 +[DICT] (21/14) > {list_milestone_numbers} [LIST] (3/2) > [INT] : 2 +[DICT] (21/14) > {list_milestone_numbers} [LIST] (3/3) > [INT] : 3 +[DICT] (21/15) > {list_milestone_index} [INT] : 1 +[DICT] (21/16) > {milestone_number} [STR] : '2' +[DICT] (21/17) > {dict_milestones} [DICT] (3/1) > {milestone_1} [STR] : 'MILESTONE-1' +[DICT] (21/17) > {dict_milestones} [DICT] (3/2) > {milestone_2} [STR] : 'MILESTONE-2' +[DICT] (21/17) > {dict_milestones} [DICT] (3/3) > {milestone_3} [STR] : 'MILESTONE-3' +[DICT] (21/18) > {milestone_key_2} [STR] : 'milestone_2' +[DICT] (21/19) > {innermost_milestone_name} [STR] : 'est' +[DICT] (21/20) > {ilesto} [STR] : 'ilesto' +[DICT] (21/21) > {milestone} [STR] : 'milestone' """ - -# # # listofdictUsecases.append(dictUsecase) +listofdictUsecases.append(dictUsecase) del dictUsecase # -------------------------------------------------------------------------------------------------------------- dictUsecase = {} @@ -995,7 +993,7 @@ dictUsecase['JSONFILE'] = r"..\testfiles\jpp-test_config_0251.jsonp" dictUsecase['EXPECTEDEXCEPTION'] = "The variable '${IAMNOTEXISTING}' is not available!" dictUsecase['EXPECTEDRETURN'] = None -# # # listofdictUsecases.append(dictUsecase) +listofdictUsecases.append(dictUsecase) del dictUsecase # -------------------------------------------------------------------------------------------------------------- dictUsecase = {} @@ -1009,7 +1007,7 @@ dictUsecase['JSONFILE'] = r"..\testfiles\jpp-test_config_0252.jsonp" dictUsecase['EXPECTEDEXCEPTION'] = "The variable '${IAMNOTEXISTING}' is not available!" dictUsecase['EXPECTEDRETURN'] = None -listofdictUsecases.append(dictUsecase) +# # # listofdictUsecases.append(dictUsecase) del dictUsecase # -------------------------------------------------------------------------------------------------------------- dictUsecase = {} @@ -1023,7 +1021,7 @@ dictUsecase['JSONFILE'] = r"..\testfiles\jpp-test_config_0253.jsonp" dictUsecase['EXPECTEDEXCEPTION'] = "The variable '${IAMNOTEXISTING}' is not available!" dictUsecase['EXPECTEDRETURN'] = None -# # # listofdictUsecases.append(dictUsecase) +listofdictUsecases.append(dictUsecase) del dictUsecase # -------------------------------------------------------------------------------------------------------------- dictUsecase = {} @@ -1079,7 +1077,7 @@ dictUsecase['JSONFILE'] = r"..\testfiles\jpp-test_config_0257.jsonp" dictUsecase['EXPECTEDEXCEPTION'] = "The variable '${IAMNOTEXISTING}' is not available!" dictUsecase['EXPECTEDRETURN'] = None -# # # listofdictUsecases.append(dictUsecase) +listofdictUsecases.append(dictUsecase) del dictUsecase # -------------------------------------------------------------------------------------------------------------- dictUsecase = {} @@ -1241,7 +1239,7 @@ [DICT] (4/3) > {val2} [STR] : '3.4' [DICT] (4/4) > {val3} [STR] : 'value_56' """ -# # # listofdictUsecases.append(dictUsecase) +listofdictUsecases.append(dictUsecase) del dictUsecase # -------------------------------------------------------------------------------------------------------------- dictUsecase = {} @@ -1658,125 +1656,13 @@ # -------------------------------------------------------------------------------------------------------------- dictUsecase = {} dictUsecase['TESTID'] = "JPP_0450" -dictUsecase['DESCRIPTION'] = "JSON file with Python keywords used as parameter names (1)" -dictUsecase['EXPECTATION'] = "No values are returned, and JsonPreprocessor throws an exception" -dictUsecase['SECTION'] = "NAMING_CONVENTION" -dictUsecase['SUBSECTION'] = "BADCASE" -dictUsecase['HINT'] = None -dictUsecase['COMMENT'] = None -dictUsecase['JSONFILE'] = r"..\testfiles\jpp-test_config_0450.jsonp" -dictUsecase['EXPECTEDEXCEPTION'] = "detected unexpected Python keyword as parameter name (placeholder)" -dictUsecase['EXPECTEDRETURN'] = None -# # # listofdictUsecases.append(dictUsecase) -del dictUsecase -# -------------------------------------------------------------------------------------------------------------- -dictUsecase = {} -dictUsecase['TESTID'] = "JPP_0451" -dictUsecase['DESCRIPTION'] = "JSON file with Python keywords used as parameter names (2)" -dictUsecase['EXPECTATION'] = "No values are returned, and JsonPreprocessor throws an exception" -dictUsecase['SECTION'] = "NAMING_CONVENTION" -dictUsecase['SUBSECTION'] = "BADCASE" -dictUsecase['HINT'] = None -dictUsecase['COMMENT'] = None -dictUsecase['JSONFILE'] = r"..\testfiles\jpp-test_config_0451.jsonp" -dictUsecase['EXPECTEDEXCEPTION'] = "detected unexpected Python keyword as parameter name (placeholder)" -dictUsecase['EXPECTEDRETURN'] = None -# # # listofdictUsecases.append(dictUsecase) -del dictUsecase -# -------------------------------------------------------------------------------------------------------------- -dictUsecase = {} -dictUsecase['TESTID'] = "JPP_0452" -dictUsecase['DESCRIPTION'] = "JSON file with Python keywords used as parameter names (3)" -dictUsecase['EXPECTATION'] = "No values are returned, and JsonPreprocessor throws an exception" -dictUsecase['SECTION'] = "NAMING_CONVENTION" -dictUsecase['SUBSECTION'] = "BADCASE" -dictUsecase['HINT'] = None -dictUsecase['COMMENT'] = None -dictUsecase['JSONFILE'] = r"..\testfiles\jpp-test_config_0452.jsonp" -dictUsecase['EXPECTEDEXCEPTION'] = "detected unexpected Python keyword as parameter name (placeholder)" -dictUsecase['EXPECTEDRETURN'] = None -# # # listofdictUsecases.append(dictUsecase) -del dictUsecase -# -------------------------------------------------------------------------------------------------------------- -dictUsecase = {} -dictUsecase['TESTID'] = "JPP_0453" -dictUsecase['DESCRIPTION'] = "JSON file with Python keywords used as parameter names (4)" -dictUsecase['EXPECTATION'] = "No values are returned, and JsonPreprocessor throws an exception" -dictUsecase['SECTION'] = "NAMING_CONVENTION" -dictUsecase['SUBSECTION'] = "BADCASE" -dictUsecase['HINT'] = None -dictUsecase['COMMENT'] = None -dictUsecase['JSONFILE'] = r"..\testfiles\jpp-test_config_0453.jsonp" -dictUsecase['EXPECTEDEXCEPTION'] = "detected unexpected Python keyword as parameter name (placeholder)" -dictUsecase['EXPECTEDRETURN'] = None -# # # listofdictUsecases.append(dictUsecase) -del dictUsecase -# -------------------------------------------------------------------------------------------------------------- -dictUsecase = {} -dictUsecase['TESTID'] = "JPP_0454" -dictUsecase['DESCRIPTION'] = "JSON file with Python keywords used as parameter names (5)" -dictUsecase['EXPECTATION'] = "No values are returned, and JsonPreprocessor throws an exception" -dictUsecase['SECTION'] = "NAMING_CONVENTION" -dictUsecase['SUBSECTION'] = "BADCASE" -dictUsecase['HINT'] = None -dictUsecase['COMMENT'] = None -dictUsecase['JSONFILE'] = r"..\testfiles\jpp-test_config_0454.jsonp" -dictUsecase['EXPECTEDEXCEPTION'] = "detected unexpected Python keyword as parameter name (placeholder)" -dictUsecase['EXPECTEDRETURN'] = None -# # # listofdictUsecases.append(dictUsecase) -del dictUsecase -# -------------------------------------------------------------------------------------------------------------- -dictUsecase = {} -dictUsecase['TESTID'] = "JPP_0455" -dictUsecase['DESCRIPTION'] = "JSON file with Python keywords used as parameter names (6)" -dictUsecase['EXPECTATION'] = "No values are returned, and JsonPreprocessor throws an exception" -dictUsecase['SECTION'] = "NAMING_CONVENTION" -dictUsecase['SUBSECTION'] = "BADCASE" -dictUsecase['HINT'] = None -dictUsecase['COMMENT'] = None -dictUsecase['JSONFILE'] = r"..\testfiles\jpp-test_config_0455.jsonp" -dictUsecase['EXPECTEDEXCEPTION'] = "detected unexpected Python keyword as parameter name (placeholder)" -dictUsecase['EXPECTEDRETURN'] = None -# # # listofdictUsecases.append(dictUsecase) -del dictUsecase -# -------------------------------------------------------------------------------------------------------------- -dictUsecase = {} -dictUsecase['TESTID'] = "JPP_0456" -dictUsecase['DESCRIPTION'] = "JSON file with Python keywords used as parameter names (7)" -dictUsecase['EXPECTATION'] = "No values are returned, and JsonPreprocessor throws an exception" -dictUsecase['SECTION'] = "NAMING_CONVENTION" -dictUsecase['SUBSECTION'] = "BADCASE" -dictUsecase['HINT'] = None -dictUsecase['COMMENT'] = None -dictUsecase['JSONFILE'] = r"..\testfiles\jpp-test_config_0456.jsonp" -dictUsecase['EXPECTEDEXCEPTION'] = "detected unexpected Python keyword as parameter name (placeholder)" -dictUsecase['EXPECTEDRETURN'] = None -# # # listofdictUsecases.append(dictUsecase) -del dictUsecase -# -------------------------------------------------------------------------------------------------------------- -dictUsecase = {} -dictUsecase['TESTID'] = "JPP_0457" -dictUsecase['DESCRIPTION'] = "JSON file with Python keywords used as parameter names (8)" -dictUsecase['EXPECTATION'] = "No values are returned, and JsonPreprocessor throws an exception" -dictUsecase['SECTION'] = "NAMING_CONVENTION" -dictUsecase['SUBSECTION'] = "BADCASE" -dictUsecase['HINT'] = None -dictUsecase['COMMENT'] = None -dictUsecase['JSONFILE'] = r"..\testfiles\jpp-test_config_0457.jsonp" -dictUsecase['EXPECTEDEXCEPTION'] = "detected unexpected Python keyword as parameter name (placeholder)" -dictUsecase['EXPECTEDRETURN'] = None -# # # listofdictUsecases.append(dictUsecase) -del dictUsecase -# -------------------------------------------------------------------------------------------------------------- -dictUsecase = {} -dictUsecase['TESTID'] = "JPP_0458" dictUsecase['DESCRIPTION'] = "JSON file with parameter name containing not allowed special characters" dictUsecase['EXPECTATION'] = "No values are returned, and JsonPreprocessor throws an exception" dictUsecase['SECTION'] = "NAMING_CONVENTION" dictUsecase['SUBSECTION'] = "BADCASE" dictUsecase['HINT'] = None dictUsecase['COMMENT'] = None -dictUsecase['JSONFILE'] = r"..\testfiles\jpp-test_config_0458.jsonp" +dictUsecase['JSONFILE'] = r"..\testfiles\jpp-test_config_0450.jsonp" dictUsecase['EXPECTEDEXCEPTION'] = "detected unexpected characters in parameter name (placeholder)" dictUsecase['EXPECTEDRETURN'] = None # # # listofdictUsecases.append(dictUsecase) @@ -1806,7 +1692,7 @@ [DICT] (2/1) > {params} [LIST] (2/2) > [DICT] (2/2) > {dict_2_key_2} [DICT] (2/2) > {dict_2_A_key_2} [LIST] (3/3) > [DICT] (2/2) > {dict_2_A_key_2_subkey_2} [LIST] (2/2) > [STR] : 'value_2' [DICT] (2/2) > {param} [STR] : 'value_2' """ -# # # listofdictUsecases.append(dictUsecase) +listofdictUsecases.append(dictUsecase) del dictUsecase # -------------------------------------------------------------------------------------------------------------- dictUsecase = {} @@ -1858,7 +1744,7 @@ [DICT] (2/1) > {params} [LIST] (2/2) > [DICT] (2/2) > {dict_2_key_2} [DICT] (2/2) > {dict.2.A.key.2} [LIST] (3/3) > [DICT] (2/2) > {dict_2_A_key_2_subkey_2} [LIST] (2/2) > [STR] : 'value_2' [DICT] (2/2) > {param} [STR] : 'value_2' """ -# # # listofdictUsecases.append(dictUsecase) +listofdictUsecases.append(dictUsecase) del dictUsecase # -------------------------------------------------------------------------------------------------------------- dictUsecase = {} @@ -1971,7 +1857,7 @@ [DICT] (12/11) > {var8} [STR] : 'value 8 > @{param2}' [DICT] (12/12) > {var9} [STR] : 'value 9 > @{param3}' """ -# # # listofdictUsecases.append(dictUsecase) +listofdictUsecases.append(dictUsecase) del dictUsecase # -------------------------------------------------------------------------------------------------------------- # -------------------------------------------------------------------------------------------------------------- diff --git a/test/testfiles/jpp-test_config_0450.jsonp b/test/testfiles/jpp-test_config_0450.jsonp index b9ea9193..0afe695c 100644 --- a/test/testfiles/jpp-test_config_0450.jsonp +++ b/test/testfiles/jpp-test_config_0450.jsonp @@ -13,5 +13,5 @@ // limitations under the License. //************************************************************************** { - "str" : "string" + "$/{/}/[/]/&/#/,/;" : "string" } diff --git a/test/testfiles/jpp-test_config_0451.jsonp b/test/testfiles/jpp-test_config_0451.jsonp deleted file mode 100644 index 2afc4c89..00000000 --- a/test/testfiles/jpp-test_config_0451.jsonp +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2020-2023 Robert Bosch GmbH -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -//************************************************************************** -{ - "int" : 123 -} diff --git a/test/testfiles/jpp-test_config_0452.jsonp b/test/testfiles/jpp-test_config_0452.jsonp deleted file mode 100644 index b76e24a1..00000000 --- a/test/testfiles/jpp-test_config_0452.jsonp +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2020-2023 Robert Bosch GmbH -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -//************************************************************************** -{ - "float" : 4.56 -} diff --git a/test/testfiles/jpp-test_config_0453.jsonp b/test/testfiles/jpp-test_config_0453.jsonp deleted file mode 100644 index d949de45..00000000 --- a/test/testfiles/jpp-test_config_0453.jsonp +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2020-2023 Robert Bosch GmbH -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -//************************************************************************** -{ - "list" : [1,2,3] -} diff --git a/test/testfiles/jpp-test_config_0454.jsonp b/test/testfiles/jpp-test_config_0454.jsonp deleted file mode 100644 index 8471ea5f..00000000 --- a/test/testfiles/jpp-test_config_0454.jsonp +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2020-2023 Robert Bosch GmbH -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -//************************************************************************** -{ - "dict" : {"A" : 1, "B" : 2} -} diff --git a/test/testfiles/jpp-test_config_0455.jsonp b/test/testfiles/jpp-test_config_0455.jsonp deleted file mode 100644 index 03d40feb..00000000 --- a/test/testfiles/jpp-test_config_0455.jsonp +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2020-2023 Robert Bosch GmbH -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -//************************************************************************** -{ - "param" : {"str" : "string", "B" : 2} -} diff --git a/test/testfiles/jpp-test_config_0456.jsonp b/test/testfiles/jpp-test_config_0456.jsonp deleted file mode 100644 index e981f7f2..00000000 --- a/test/testfiles/jpp-test_config_0456.jsonp +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2020-2023 Robert Bosch GmbH -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -//************************************************************************** -{ - "param" : {"list" : [1, 2], "B" : 2} -} diff --git a/test/testfiles/jpp-test_config_0457.jsonp b/test/testfiles/jpp-test_config_0457.jsonp deleted file mode 100644 index 487458bf..00000000 --- a/test/testfiles/jpp-test_config_0457.jsonp +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2020-2023 Robert Bosch GmbH -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -//************************************************************************** -{ - "param" : {"dict" : {"A" : 1, "B" : 2}, "C" : 3} -} diff --git a/test/testfiles/jpp-test_config_0458.jsonp b/test/testfiles/jpp-test_config_0458.jsonp deleted file mode 100644 index 0afe695c..00000000 --- a/test/testfiles/jpp-test_config_0458.jsonp +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2020-2023 Robert Bosch GmbH -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -//************************************************************************** -{ - "$/{/}/[/]/&/#/,/;" : "string" -}