Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Unified Diff: testing/resources/javascript/util_printx_expected.txt

Issue 1837543002: Added test for util.printx() and make it match spec. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Need wchar in one more place. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « testing/resources/javascript/util_printx.in ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/resources/javascript/util_printx_expected.txt
diff --git a/testing/resources/javascript/util_printx_expected.txt b/testing/resources/javascript/util_printx_expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..124767d5fd2b0d99d3000418ee7fd36847fc970b
--- /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'
« no previous file with comments | « testing/resources/javascript/util_printx.in ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698