diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-10-22 19:34:53 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-22 19:34:53 +0000 |
commit | 706e187ed8be44eb50bdf7024674930a4e10fa45 (patch) | |
tree | 9157a2c483b35d8e2ac11f655c29322594ad8d0b /testing/resources/javascript/public_methods_expected.txt | |
parent | 2f62d36bfac781428f3896b443177e033be4c554 (diff) | |
download | pdfium-706e187ed8be44eb50bdf7024674930a4e10fa45.tar.xz |
Fix timezone inconsistency in document methods test.
We do this by adding an override that forces GM time on
everyone when run from the test harness.
Generalize presubmit warnings so that the new function passes.
De-duplicate lambda capture in place of static function.
Change-Id: I15b34bea558baf1763476b36f0bca76614984107
Reviewed-on: https://pdfium-review.googlesource.com/c/44390
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'testing/resources/javascript/public_methods_expected.txt')
-rw-r--r-- | testing/resources/javascript/public_methods_expected.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/resources/javascript/public_methods_expected.txt b/testing/resources/javascript/public_methods_expected.txt index 12e8496af5..48928f51b9 100644 --- a/testing/resources/javascript/public_methods_expected.txt +++ b/testing/resources/javascript/public_methods_expected.txt @@ -55,7 +55,7 @@ Alert: PASS: AFNumber_Keystroke(1, 2, 3) = 123 Alert: ********************** Alert: PASS: AFParseDateEx() threw AFParseDateEx: Incorrect number of parameters passed to function. Alert: PASS: AFParseDateEx(1, 2, 3) threw AFParseDateEx: Incorrect number of parameters passed to function. -Alert: PASS: AFParseDateEx(1, 2) = 1399646930000 +Alert: PASS: AFParseDateEx(1, 2) = 1399672130000 Alert: ********************** Alert: PASS: AFPercent_Format() threw AFPercent_Format: Incorrect number of parameters passed to function. Alert: PASS: AFPercent_Format(1, 2, 3) threw AFPercent_Format: Incorrect number of parameters passed to function. @@ -96,7 +96,7 @@ Alert: PASS: AFSpecial_KeystrokeEx('999999') = 12 Alert: ********************** Alert: PASS: AFTime_Format() threw AFTime_Format: Incorrect number of parameters passed to function. Alert: PASS: AFTime_Format(1, 2) threw AFTime_Format: Incorrect number of parameters passed to function. -Alert: PASS: AFTime_Format(1) = 2:48 pm +Alert: PASS: AFTime_Format(1) = 9:48 pm Alert: ********************** Alert: PASS: AFTime_FormatEx() threw AFTime_FormatEx: Incorrect number of parameters passed to function. Alert: PASS: AFTime_FormatEx('blooey', 42) threw AFTime_FormatEx: Incorrect number of parameters passed to function. |