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/util_printd_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/util_printd_expected.txt')
-rw-r--r-- | testing/resources/javascript/util_printd_expected.txt | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/testing/resources/javascript/util_printd_expected.txt b/testing/resources/javascript/util_printd_expected.txt index 2f077fc5fd..c609e34d1b 100644 --- a/testing/resources/javascript/util_printd_expected.txt +++ b/testing/resources/javascript/util_printd_expected.txt @@ -1,7 +1,7 @@ -Alert: mm/dd/yyyy HH:MM:ss: 07/04/2014 15:59:58 -Alert: 0: D:20140704155958 -Alert: 1: 2014.07.04 15:59:58 -Alert: 2: 2014/07/04 15:59:58 +Alert: mm/dd/yyyy HH:MM:ss: 07/04/2014 14:59:58 +Alert: 0: D:20140704145958 +Alert: 1: 2014.07.04 14:59:58 +Alert: 2: 2014/07/04 14:59:58 Alert: 3: Caught error: util.printd: Incorrect parameter value. Alert: mmmm: July Alert: mmm: Jul @@ -13,9 +13,9 @@ Alert: dd: 04 Alert: d: 4 Alert: yyyy: 2014 Alert: yy: 14 -Alert: HH: 15 -Alert: H: 15 -Alert: hh: 03 +Alert: HH: 14 +Alert: H: 14 +Alert: hh: 02 Alert: MM: 59 Alert: M: 59 Alert: ss: 58 @@ -23,7 +23,7 @@ Alert: s: 58 Alert: t: t Alert: abc.efg.i.kl.nopqr..uvwxyzABC.EFG.I.KL.NOPQR..UVWXYZ0123456780: abc.efg.i.kl.nopqr..uvwxyzABC.EFG.I.KL.NOPQR..UVWXYZ0123456780 Alert: !@#$^&*()-_<>[];:~: !@#$^&*()-_<>[];:~ -Alert: %z %d %%z %%d %%%z %%%d %%% hh:MM: z 4 z 4 z 4 03:59 +Alert: %z %d %%z %%d %%%z %%%d %%% hh:MM: z 4 z 4 z 4 02:59 Alert: : Alert: mm/dd/yyyy: 07/04/2014 Alert: mm/dd/yyyy: 12/31/1849 @@ -39,16 +39,16 @@ Alert: clams,3: Caught error: util.printd: Incorrect parameter type. Alert: mm: 07 Alert: mm: Caught error: util.printd: Operation not supported. Alert: mm/dd/yyyy HH:MM:ss: 07/03/1900 15:59:58 -Alert: mm/dd/yyyy HH:MM:ss: 09/04/2015 15:59:58 +Alert: mm/dd/yyyy HH:MM:ss: 09/04/2015 14:59:58 Alert: mm/dd/yyyy HH:MM:ss: 12/09/2015 15:59:58 -Alert: mm/dd/yyyy HH:MM:ss: 07/06/2014 02:59:58 -Alert: mm/dd/yyyy HH:MM:ss: 07/05/2014 11:34:58 -Alert: mm/dd/yyyy HH:MM:ss: 07/04/2014 16:00:05 -Alert: mm/dd/yyyy HH:MM:ss: 05/01/2014 15:59:58 +Alert: mm/dd/yyyy HH:MM:ss: 07/06/2014 01:59:58 +Alert: mm/dd/yyyy HH:MM:ss: 07/05/2014 10:34:58 +Alert: mm/dd/yyyy HH:MM:ss: 07/04/2014 15:00:05 +Alert: mm/dd/yyyy HH:MM:ss: 05/01/2014 14:59:58 Alert: mm/dd/yyyy HH:MM:ss: 03/02/2014 15:59:58 Alert: mm/dd/yyyy HH:MM:ss: Caught error: util.printd: Incorrect parameter value. Alert: mm/dd/yyyy HH:MM:ss: 12/30/2013 15:59:58 -Alert: mm/dd/yyyy HH:MM:ss: 06/29/2014 15:59:58 -Alert: mm/dd/yyyy HH:MM:ss: 07/03/2014 23:59:58 -Alert: mm/dd/yyyy HH:MM:ss: 07/04/2014 14:59:58 -Alert: mm/dd/yyyy HH:MM:ss: 07/04/2014 15:58:59 +Alert: mm/dd/yyyy HH:MM:ss: 06/29/2014 14:59:58 +Alert: mm/dd/yyyy HH:MM:ss: 07/03/2014 22:59:58 +Alert: mm/dd/yyyy HH:MM:ss: 07/04/2014 13:59:58 +Alert: mm/dd/yyyy HH:MM:ss: 07/04/2014 14:58:59 |