summaryrefslogtreecommitdiff
path: root/testing/resources/javascript/app_methods_expected.txt
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-10-22 22:40:05 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-22 22:40:05 +0000
commitc87b9348a4f2ffcad1992d26504efa46548b5d83 (patch)
treef8534fe878d78b74ebc56689d5b0391d9016d653 /testing/resources/javascript/app_methods_expected.txt
parent36623f65c39c38effe681aa82e3a11f1d4d6cc7b (diff)
downloadpdfium-c87b9348a4f2ffcad1992d26504efa46548b5d83.tar.xz
Consolidate app_*.in tests into app_methods.in
One file per method is excessive. Change-Id: I02e3e9dffd2fc2d98f77f15a4669bd15c0119dd3 Reviewed-on: https://pdfium-review.googlesource.com/c/44412 Commit-Queue: Tom Sepez <tsepez@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'testing/resources/javascript/app_methods_expected.txt')
-rw-r--r--testing/resources/javascript/app_methods_expected.txt34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/resources/javascript/app_methods_expected.txt b/testing/resources/javascript/app_methods_expected.txt
new file mode 100644
index 0000000000..ecd89ad72f
--- /dev/null
+++ b/testing/resources/javascript/app_methods_expected.txt
@@ -0,0 +1,34 @@
+title[icon=1,type=2]: message
+title: message
+title[icon=3,type=4]: message
+Alert: undefined
+Alert: null
+Alert: true
+Alert: false
+Alert: 42
+Alert: [1, 2, 3]
+Alert: [1, 2, [object Object]]
+title[icon=5,type=6]: [object Object]
+Alert: Caught expected error app.alert: Incorrect number of parameters passed to function.
+Alert: Caught expected error app.alert: Incorrect number of parameters passed to function.
+Alert: Caught expected error app.alert: Incorrect number of parameters passed to function.
+BEEP!!! 1
+Mail Msg: 1, to=, cc=, bcc=, subject=, body=
+Mail Msg: 0, to=user@example.com, cc=, bcc=, subject=, body=
+Mail Msg: 0, to=user@example.com, cc=cc@example.com, bcc=bcc@example.com, subject=subject, body=body
+Mail Msg: 1, to=, cc=, bcc=, subject=, body=
+Mail Msg: 0, to=user@example.com, cc=, bcc=, subject=, body=
+Mail Msg: 0, to=user@example.com, cc=cc@example.com, bcc=bcc@example.com, subject=subject, body=body
+Alert: Caught expected error app.mailMsg: Incorrect number of parameters passed to function.
+Alert: Caught expected error app.mailMsg: Incorrect number of parameters passed to function.
+Alert: Caught expected error app.mailMsg: Incorrect number of parameters passed to function.
+PDF: question, defaultValue=, label=, isPassword=0, length=2048
+Alert: result: No
+title: question, defaultValue=default, label=label, isPassword=1, length=2048
+Alert: result: No
+PDF: question, defaultValue=, label=, isPassword=0, length=2048
+Alert: result: No
+title: question, defaultValue=default, label=label, isPassword=1, length=2048
+Alert: result: No
+Alert: Caught expected error app.response: Incorrect number of parameters passed to function.
+Alert: Caught expected error app.response: Incorrect number of parameters passed to function.