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

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

Issue 1838543002: Add test for util.byteToChar() and fix error msg. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: static cast. 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_bytetochar.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_bytetochar_expected.txt
diff --git a/testing/resources/javascript/util_bytetochar_expected.txt b/testing/resources/javascript/util_bytetochar_expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..df15ee7226aa2b3e70a2b710070bfbd3cd3ee815
--- /dev/null
+++ b/testing/resources/javascript/util_bytetochar_expected.txt
@@ -0,0 +1,9 @@
+Alert: 0 =>
+Alert: 65 => 65
+Alert: 127 => 127
+Alert: 128 => 128
+Alert: 255 => 255
+Alert: 256: Caught error: util.byteToChar: Incorrect parameter value.
+Alert: 40000000: Caught error: util.byteToChar: Incorrect parameter value.
+Alert: -1: Caught error: util.byteToChar: Incorrect parameter value.
+Alert: Caught expected error: util.byteToChar: Incorrect number of parameters passed to function.
« no previous file with comments | « testing/resources/javascript/util_bytetochar.in ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698