Lines Matching refs:test_one
39 #define test_one(input, output) _test_one(__LINE__, input, output) macro
121 test_one("Sat,Thu,Mon-Wed,Sat-Sun", "Mon..Thu,Sat,Sun *-*-* 00:00:00"); in TEST()
122 test_one("Sat,Thu,Mon..Wed,Sat..Sun", "Mon..Thu,Sat,Sun *-*-* 00:00:00"); in TEST()
123 test_one("Mon,Sun 12-*-* 2,1:23", "Mon,Sun 2012-*-* 01,02:23:00"); in TEST()
124 test_one("Wed *-1", "Wed *-*-01 00:00:00"); in TEST()
125 test_one("Wed-Wed,Wed *-1", "Wed *-*-01 00:00:00"); in TEST()
126 test_one("Wed..Wed,Wed *-1", "Wed *-*-01 00:00:00"); in TEST()
127 test_one("Wed, 17:48", "Wed *-*-* 17:48:00"); in TEST()
128 test_one("Wednesday,", "Wed *-*-* 00:00:00"); in TEST()
129 test_one("Wed-Sat,Tue 12-10-15 1:2:3", "Tue..Sat 2012-10-15 01:02:03"); in TEST()
130 test_one("Wed..Sat,Tue 12-10-15 1:2:3", "Tue..Sat 2012-10-15 01:02:03"); in TEST()
131 test_one("*-*-7 0:0:0", "*-*-07 00:00:00"); in TEST()
132 test_one("10-15", "*-10-15 00:00:00"); in TEST()
133 test_one("monday *-12-* 17:00", "Mon *-12-* 17:00:00"); in TEST()
134 test_one("Mon,Fri *-*-3,1,2 *:30:45", "Mon,Fri *-*-01,02,03 *:30:45"); in TEST()
135 test_one("12,14,13,12:20,10,30", "*-*-* 12,13,14:10,20,30:00"); in TEST()
136 test_one("mon,fri *-1/2-1,3 *:30:45", "Mon,Fri *-01/2-01,03 *:30:45"); in TEST()
137 test_one("03-05 08:05:40", "*-03-05 08:05:40"); in TEST()
138 test_one("08:05:40", "*-*-* 08:05:40"); in TEST()
139 test_one("05:40", "*-*-* 05:40:00"); in TEST()
140 test_one("Sat,Sun 12-05 08:05:40", "Sat,Sun *-12-05 08:05:40"); in TEST()
141 test_one("Sat,Sun 08:05:40", "Sat,Sun *-*-* 08:05:40"); in TEST()
142 test_one("2003-03-05 05:40", "2003-03-05 05:40:00"); in TEST()
143 test_one("2003-03-05", "2003-03-05 00:00:00"); in TEST()
144 test_one("03-05", "*-03-05 00:00:00"); in TEST()
145 test_one("hourly", "*-*-* *:00:00"); in TEST()
146 test_one("daily", "*-*-* 00:00:00"); in TEST()
147 test_one("monthly", "*-*-01 00:00:00"); in TEST()
148 test_one("weekly", "Mon *-*-* 00:00:00"); in TEST()
149 test_one("minutely", "*-*-* *:*:00"); in TEST()
150 test_one("quarterly", "*-01,04,07,10-01 00:00:00"); in TEST()
151 test_one("semi-annually", "*-01,07-01 00:00:00"); in TEST()
152 test_one("annually", "*-01-01 00:00:00"); in TEST()
153 test_one("*:2/3", "*-*-* *:02/3:00"); in TEST()
154 test_one("2015-10-25 01:00:00 uTc", "2015-10-25 01:00:00 UTC"); in TEST()
155 test_one("2015-10-25 01:00:00 Asia/Vladivostok", "2015-10-25 01:00:00 Asia/Vladivostok"); in TEST()
156 test_one("weekly Pacific/Auckland", "Mon *-*-* 00:00:00 Pacific/Auckland"); in TEST()
157 test_one("2016-03-27 03:17:00.4200005", "2016-03-27 03:17:00.420001"); in TEST()
158 test_one("2016-03-27 03:17:00/0.42", "2016-03-27 03:17:00/0.420000"); in TEST()
159 test_one("9..11,13:00,30", "*-*-* 09..11,13:00,30:00"); in TEST()
160 test_one("1..3-1..3 1..3:1..3", "*-01..03-01..03 01..03:01..03:00"); in TEST()
161 test_one("00:00:1.125..2.125", "*-*-* 00:00:01.125000..02.125000"); in TEST()
162 test_one("00:00:1.0..3.8", "*-*-* 00:00:01..03"); in TEST()
163 test_one("00:00:01..03", "*-*-* 00:00:01..03"); in TEST()
164 test_one("00:00:01/2,02..03", "*-*-* 00:00:01/2,02..03"); in TEST()
165 test_one("*:4,30:0..3", "*-*-* *:04,30:00..03"); in TEST()
166 test_one("*:4,30:0/1", "*-*-* *:04,30:*"); in TEST()
167 test_one("*:4,30:0/1,3,5", "*-*-* *:04,30:*"); in TEST()
168 test_one("*-*~1 Utc", "*-*~01 00:00:00 UTC"); in TEST()
169 test_one("*-*~05,3 ", "*-*~03,05 00:00:00"); in TEST()
170 test_one("*-*~* 00:00:00", "*-*-* 00:00:00"); in TEST()
171 test_one("Monday", "Mon *-*-* 00:00:00"); in TEST()
172 test_one("Monday *-*-*", "Mon *-*-* 00:00:00"); in TEST()
173 test_one("*-*-*", "*-*-* 00:00:00"); in TEST()
174 test_one("*:*:*", "*-*-* *:*:*"); in TEST()
175 test_one("*:*", "*-*-* *:*:00"); in TEST()
176 test_one("12:*", "*-*-* 12:*:00"); in TEST()
177 test_one("*:30", "*-*-* *:30:00"); in TEST()
178 test_one("93..00-*-*", "1993..2000-*-* 00:00:00"); in TEST()
179 test_one("00..07-*-*", "2000..2007-*-* 00:00:00"); in TEST()
180 test_one("*:20..39/5", "*-*-* *:20..35/5:00"); in TEST()
181 test_one("00:00:20..40/1", "*-*-* 00:00:20..40"); in TEST()
182 test_one("*~03/1,03..05", "*-*~03/1,03..05 00:00:00"); in TEST()
184 test_one("@1493187147", "2017-04-26 06:12:27 UTC"); in TEST()
185 test_one("@1493187147 UTC", "2017-04-26 06:12:27 UTC"); in TEST()
186 test_one("@0", "1970-01-01 00:00:00 UTC"); in TEST()
187 test_one("@0 UTC", "1970-01-01 00:00:00 UTC"); in TEST()
188 test_one("*:05..05", "*-*-* *:05:00"); in TEST()
189 test_one("*:05..10/6", "*-*-* *:05:00"); in TEST()