• Home
  • Raw
  • Download

Lines Matching refs:expectError

140     function expectError(initial, expression) {
153 expectError('', "AFDate_Format()");
154 expectError('', "AFDate_Format(1, 2)");
162 expectError('', "AFDate_FormatEx()");
163 expectError('', "AFDate_FormatEx(1, 2)");
174 expectError('', "AFDate_Keystroke()");
175 expectError('', "AFDate_Keystroke(1, 2)");
181 expectError('', "AFDate_KeystrokeEx()");
182 expectError('', "AFDate_KeystrokeEx(1, 2)");
189 expectError('', "AFExtractNums()");
190 expectError('', "AFExtractNums(1, 2)");
195 expectError('', "AFMakeNumber()");
196 expectError('', "AFMakeNumber(1, 2)");
204 expectError('', "AFMergeChange()");
205 expectError('', "AFMergeChange(1, 2)");
210 expectError('', "AFNumber_Format()");
211 expectError('', "AFNumber_Format(0, 1, 0, 0, '', false, 42)");
217 expectError('', "AFNumber_Keystroke()");
218 expectError('', "AFNumber_Keystroke(1)");
219 expectError("abc", "AFNumber_Keystroke(1, 2)");
225 expectError('', "AFParseDateEx()");
226 expectError('', "AFParseDateEx(1, 2, 3)");
232 expectError('', "AFPercent_Format()");
233 expectError('', "AFPercent_Format(0)");
261 expectError(0, "AFPercent_Format(-3, 0)");
262 expectError(0, "AFPercent_Format(-3, 1)");
263 expectError(0, "AFPercent_Format(-1, 3)");
264 expectError(0, "AFPercent_Format(0, -3)");
265 expectError(0, "AFPercent_Format(0, -1)");
266 expectError(0, "AFPercent_Format(0, 50)");
267 expectError(0, "AFPercent_Format(0, 51)");
476 expectError('', "AFPercent_Keystroke()");
477 expectError('', "AFPercent_Keystroke(1)");
478 expectError("abc", "AFPercent_Keystroke(1, 0)");
483 expectError('', "AFRange_Validate()", '');
484 expectError('', "AFRange_Validate(1, 2, 3, 4, 5)", '');
495 expectError('', "AFSimple()", 2);
496 expectError('', "AFSimple(1, 2, 3, 4)");
497 expectError('', "AFSimple(1, 2, 3)");
498 expectError('', "AFSimple('nonesuch', 2, 3)");
504 expectError('', "AFSimple('AVG', 2, 'nonesuch')");
505 expectError('', "AFSimple('MIN', 2, 'nonesuch')");
506 expectError('', "AFSimple('MAX', 2, 'nonesuch')");
507 expectError('', "AFSimple('SUM', 2, 'nonesuch')");
508 expectError('', "AFSimple('PRD', 2, 'nonesuch')");
514 expectError('', "AFSimple_Calculate()");
515 expectError('', "AFSimple_Calculate(1)");
538 expectError('', "AFSpecial_Format()", '');
539 expectError('', "AFSpecial_Format(1, 2)", '');
551 expectError('', "AFSpecial_Keystroke()");
552 expectError('', "AFSpecial_Keystroke(65, 66)");
557 expectError('', "AFSpecial_KeystrokeEx()", '');
567 expectError('', "AFTime_Format()");
568 expectError('', "AFTime_Format(1, 2)");
573 expectError('', "AFTime_FormatEx()");
574 expectError('', "AFTime_FormatEx('blooey', 42)");
579 expectError('', "AFTime_Keystroke()", '');
580 expectError('', "AFTime_Keystroke(1, 2)", '');
585 expectError('', "AFTime_KeystrokeEx()");
586 expectError('', "AFTime_KeystrokeEx(1, 2)");
604 expectError('', "AFDate_Keystroke()");
605 expectError('', "AFDate_Keystroke(1, 2)");
611 expectError('', "AFNumber_Keystroke()");
612 expectError('', "AFNumber_Keystroke(1)");
613 expectError("abc", "AFNumber_Keystroke(1, 2)");
619 expectError('', "AFSpecial_KeystrokeEx()", '');
629 expectError('', "AFMergeChange()");
630 expectError('', "AFMergeChange(1, 2)");