summaryrefslogtreecommitdiff
path: root/testing/resources/javascript/util_bytetochar_expected.txt
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-03-29 09:21:54 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-29 09:21:54 -0700
commit90d87793cf55f3c4e57e9db6c8de692ebef41e29 (patch)
treedab4c366cabd24503fee99005f9f336a128c87fb /testing/resources/javascript/util_bytetochar_expected.txt
parent41a53ad771411db3cdd98822f9d240456767fba8 (diff)
downloadpdfium-90d87793cf55f3c4e57e9db6c8de692ebef41e29.tar.xz
Add test for util.byteToChar() and fix error msg.
Review URL: https://codereview.chromium.org/1838543002
Diffstat (limited to 'testing/resources/javascript/util_bytetochar_expected.txt')
-rw-r--r--testing/resources/javascript/util_bytetochar_expected.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/resources/javascript/util_bytetochar_expected.txt b/testing/resources/javascript/util_bytetochar_expected.txt
new file mode 100644
index 0000000000..df15ee7226
--- /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.