Skip to content

Commit

Permalink
Per issue #189 adding test data for #126 and #147.
Browse files Browse the repository at this point in the history
  • Loading branch information
chicoreus committed Oct 1, 2020
1 parent cb9aa5e commit b9c3bb6
Show file tree
Hide file tree
Showing 2 changed files with 111 additions and 0 deletions.
52 changes: 52 additions & 0 deletions tg2/core/testdata/testdata_VALIDATION_DAY_NOTSTANDARD.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
"dwc:day","Response.Status","Response.Result","Response.Comment"
"","INTERNAL_PREREQUISITES_NOT_MET","","[any human readable explanation, e.g. provided value for dwc:day is empty, unable to validate.]"
" ","INTERNAL_PREREQUISITES_NOT_MET","","[any human readable explanation, e.g. provided value for dwc:day is empty, unable to validate.]"
"1","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 1 is a valid value for dwc:day.]"
" 1","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 1 is a valid value for dwc:day.]"
"0","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 31 inclusive.]"
"1st","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 31 inclusive.]"
"-1","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 31 inclusive.]"
"1.1","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 31 inclusive.]"
"1.01","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 31 inclusive.]"
"1,1","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 31 inclusive.]"
"-33","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 31 inclusive.]"
"32","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 31 inclusive.]"
"33","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 31 inclusive.]"
"1900","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 31 inclusive.]"
"2147483647","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 31 inclusive.]"
"2147483648","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 31 inclusive.]"
"2147483649","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 31 inclusive.]"
"4294967294","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 31 inclusive.]"
"4294967295","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 31 inclusive.]"
"4294967296","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 31 inclusive.]"
"day","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 31 inclusive.]"
"2","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 2 is a valid value for dwc:day.]"
3,"RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 3 is a valid value for dwc:day.]"
"4 ","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 4 is a valid value for dwc:day.]"
" 5 ","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 5 is a valid value for dwc:day.]"
6,"RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 6 is a valid value for dwc:day.]"
7,"RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 7 is a valid value for dwc:day.]"
"8","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 8 is a valid value for dwc:day.]"
"9","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 9 is a valid value for dwc:day.]"
"10","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 10 is a valid value for dwc:day.]"
11,"RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 11 is a valid value for dwc:day.]"
"12","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 12 is a valid value for dwc:day.]"
"13","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 13 is a valid value for dwc:day.]"
"14","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 14 is a valid value for dwc:day.]"
"15","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 15 is a valid value for dwc:day.]"
"16","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 16 is a valid value for dwc:day.]"
"17","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 17 is a valid value for dwc:day.]"
"18","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 18 is a valid value for dwc:day.]"
"19","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 19 is a valid value for dwc:day.]"
20,"RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 20 is a valid value for dwc:day.]"
21,"RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 21 is a valid value for dwc:day.]"
22,"RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 22 is a valid value for dwc:day.]"
23,"RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 23 is a valid value for dwc:day.]"
24,"RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 24 is a valid value for dwc:day.]"
25,"RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 25 is a valid value for dwc:day.]"
26,"RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 26 is a valid value for dwc:day.]"
27,"RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 27 is a valid value for dwc:day.]"
28,"RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 28 is a valid value for dwc:day.]"
29,"RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 29 is a valid value for dwc:day for at least some months.]"
30,"RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 30 is a valid value for dwc:day for at least some months.]"
31,"RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 31 is a valid value for dwc:day for at least some months.]"
59 changes: 59 additions & 0 deletions tg2/core/testdata/testdata_VALIDATION_MONTH_NOTSTANDARD.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
"dwc:month","Response.Status","Response.Result","Response.Comment"
"","INTERNAL_PREREQUISITES_NOT_MET","","[any human readable explanation, e.g. provided value for dwc:month is empty, unable to validate.]"
" ","INTERNAL_PREREQUISITES_NOT_MET","","[any human readable explanation, e.g. provided value for dwc:month is empty, unable to validate.]"
"1","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 1 is a valid value for dwc:month.]"
" 1","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 1 is a valid value for dwc:month.]"
"0","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 12 inclusive.]"
"1st","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 12 inclusive.]"
"-1","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 12 inclusive.]"
"1.1","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 12 inclusive.]"
"1.01","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 12 inclusive.]"
"1,1","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 12 inclusive.]"
"-33","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 12 inclusive.]"
"32","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 12 inclusive.]"
"33","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 12 inclusive.]"
"1900","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 12 inclusive.]"
"2147483647","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 12 inclusive.]"
"2147483648","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 12 inclusive.]"
"2147483649","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 12 inclusive.]"
"4294967294","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 12 inclusive.]"
"4294967295","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 12 inclusive.]"
"4294967296","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 12 inclusive.]"
"month","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 12 inclusive.]"
"January","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 12 inclusive.]"
"Jan","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 12 inclusive.]"
"I","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 12 inclusive.]"
"II","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 12 inclusive.]"
"IV","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. provided value is not an integer in the range 1 to 12 inclusive.]"
"2","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 2 is a valid value for dwc:month.]"
3,"RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 3 is a valid value for dwc:month.]"
"4 ","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 4 is a valid value for dwc:month.]"
" 5 ","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 5 is a valid value for dwc:month.]"
6,"RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 6 is a valid value for dwc:month.]"
7,"RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 7 is a valid value for dwc:month.]"
"8","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 8 is a valid value for dwc:month.]"
"9","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 9 is a valid value for dwc:month.]"
"10","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 10 is a valid value for dwc:month.]"
11,"RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 11 is a valid value for dwc:month.]"
"12","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 12 is a valid value for dwc:month.]"
"13","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 13 is not a valid value for dwc:month.]"
13,"RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 13 is not a valid value for dwc:month.]"
" 13 ","RUN_HAS_RESULT","COMPLIANT","[any human readable explanation, e.g. 13 is not a valid value for dwc:month.]"
"14","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. 14 is not an integer in the range 1 to 12, and thus is not a valid value for dwc:month.]"
"15","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. 15 is not an integer in the range 1 to 12, and thus is not a valid value for dwc:month.]"
"16","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. 16 is not an integer in the range 1 to 12, and thus is not a valid value for dwc:month.]"
"17","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. 17 is not an integer in the range 1 to 12, and thus is not a valid value for dwc:month.]"
"18","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. 18 is not an integer in the range 1 to 12, and thus is not a valid value for dwc:month.]"
"19","RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. 19 is not an integer in the range 1 to 12, and thus is not a valid value for dwc:month.]"
20,"RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. 20 is not an integer in the range 1 to 12, and thus is not a valid value for dwc:month.]"
21,"RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. 21 is not an integer in the range 1 to 12, and thus is not a valid value for dwc:month.]"
22,"RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. 22 is not an integer in the range 1 to 12, and thus is not a valid value for dwc:month.]"
23,"RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. 23 is not an integer in the range 1 to 12, and thus is not a valid value for dwc:month.]"
24,"RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. 24 is not an integer in the range 1 to 12, and thus is not a valid value for dwc:month.]"
25,"RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. 25 is not an integer in the range 1 to 12, and thus is not a valid value for dwc:month.]"
26,"RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. 26 is not an integer in the range 1 to 12, and thus is not a valid value for dwc:month.]"
27,"RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. 27 is not an integer in the range 1 to 12, and thus is not a valid value for dwc:month.]"
28,"RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. 28 is not an integer in the range 1 to 12, and thus is not a valid value for dwc:month.]"
29,"RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. 29 is not an integer in the range 1 to 12, and thus is not a valid value for dwc:month.]"
30,"RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. 30 is not an integer in the range 1 to 12, and thus is not a valid value for dwc:month.]"
31,"RUN_HAS_RESULT","NOT_COMPLIANT","[any human readable explanation, e.g. 31 is not an integer in the range 1 to 12, and thus is not a valid value for dwc:month.]"

0 comments on commit b9c3bb6

Please sign in to comment.