diff options
author | tsepez <tsepez@chromium.org> | 2016-03-28 14:13:16 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-28 14:13:16 -0700 |
commit | 4f1f41f338ce0899e48605c82375a72883f4eb7c (patch) | |
tree | a89cc3f1d8b981fa12d7fd423ef6883c7a502798 /testing/resources/javascript/util_printx_expected.txt | |
parent | 4678e283c5b48a8954bd0db3565b1376bd9c6b27 (diff) | |
download | pdfium-4f1f41f338ce0899e48605c82375a72883f4eb7c.tar.xz |
Added test for util.printx() and make it match spec.
R=dsinclair@chromium.org
Review URL: https://codereview.chromium.org/1837543002
Diffstat (limited to 'testing/resources/javascript/util_printx_expected.txt')
-rw-r--r-- | testing/resources/javascript/util_printx_expected.txt | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/resources/javascript/util_printx_expected.txt b/testing/resources/javascript/util_printx_expected.txt new file mode 100644 index 0000000000..124767d5fd --- /dev/null +++ b/testing/resources/javascript/util_printx_expected.txt @@ -0,0 +1,35 @@ +Alert: ('', '') => '' +Alert: ('', '123') => '' +Alert: ('??', '') => '' +Alert: ('??', 'f2') => 'f2' +Alert: ('??', 'f27') => 'f2' +Alert: ('XXX', '') => '' +Alert: ('XXX', '1afp3.') => '1af' +Alert: ('XXX', '-1Afp3.d33F$') => '1Af' +Alert: ('AAA', '') => '' +Alert: ('AAA', '-1Afp3.') => 'Afp' +Alert: ('AAA', '-1Afp3.d33F$') => 'Afp' +Alert: ('999', '') => '' +Alert: ('999', '-1Afp3.') => '13' +Alert: ('999', '-1Afp3.d33F$') => '133' +Alert: ('9*9', '') => '' +Alert: ('9*9', '-1Afp3.') => '1Afp3.' +Alert: ('[*]X', '-1Afp3.') => '[-1Afp3.]' +Alert: ('<*', '-1Afp3.d33F$') => '-1afp3.d33f$' +Alert: ('>*', '-1Afp3.d33F$') => '-1AFP3.D33F$' +Alert: ('<[AAAAAAAAAAA]', '-1Afp3.d33F$') => '[afpdf]' +Alert: ('>[AAAAAAAAAAA]', '-1Afp3.d33F$') => '[AFPDF]' +Alert: ('<[XXXXXXXXXXX]', '-1Afp3.d33F$') => '[1afp3d33f]' +Alert: ('>[XXXXXXXXXXX]', '-1Afp3.d33F$') => '[1AFP3D33F]' +Alert: ('<[XXXXXXXXXXX]', '-1Afp3.d33F$') => '[1afp3d33f]' +Alert: ('>[???????????]', '-1Afp3.d33F$') => '[-1AFP3.D33F]' +Alert: ('<[???????????]', '-1Afp3.d33F$') => '[-1afp3.d33f]' +Alert: ('\>[\**]', '-1Afp3.d33F$') => '>[*-1Afp3.d33F$]' +Alert: ('\>[\\**]', '-1Afp3.d33F$') => '>[\-1Afp3.d33F$]' +Alert: ('=*', '-1Afp3.d33F$') => '-1Afp3.d33F$' +Alert: ('<??????=*', '-1Afp3.d33F$') => '-1afp3.d33F$' +Alert: ('>??????=*', '-1Afp3.d33F$') => '-1AFP3.d33F$' +Alert: ('>??????<*', '-1Afp3.d33F$') => '-1AFP3.d33f$' +Alert: ('clams', '-1Afp3.d33F$') => 'clams' +Alert: ('cl9ms', '-1Afp3.d33F$') => 'cl1ms' +Alert: ('cl\9ms', '-1Afp3.d33F$') => 'cl9ms' |