summaryrefslogtreecommitdiff
path: root/testing/resources/javascript/field_expected.txt
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-10-12 23:21:58 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-12 23:21:58 +0000
commitb14a2f2e28d94d4a85b762a5eac9414b2a328bc6 (patch)
treeef149de8a6d89fafca08e6cb98d7ae84a25613ca /testing/resources/javascript/field_expected.txt
parentc98c7ec3f2827d92dd0575fb6b340d968dbba6b7 (diff)
downloadpdfium-b14a2f2e28d94d4a85b762a5eac9414b2a328bc6.tar.xz
Beef up coverage in CJS_Field.
Still a long way to go, but hit the easy ones first. Alphabetize property names in cjs_field.cpp file. Change-Id: I1ede770a1e159d464287775cf9e19cbaf9f2a62f Reviewed-on: https://pdfium-review.googlesource.com/c/43978 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'testing/resources/javascript/field_expected.txt')
-rw-r--r--testing/resources/javascript/field_expected.txt60
1 files changed, 60 insertions, 0 deletions
diff --git a/testing/resources/javascript/field_expected.txt b/testing/resources/javascript/field_expected.txt
index 04aafd737e..db1f6c90c8 100644
--- a/testing/resources/javascript/field_expected.txt
+++ b/testing/resources/javascript/field_expected.txt
@@ -6,3 +6,63 @@ Alert: MyField.Sub_A
Alert: MyField.Sub_B
Alert: MyField.Sub_X
Alert: MyField.Sub_Z
+Alert: Testing properties under delay
+Alert: PASS: delay = false
+Alert: PASS: delay = true
+Alert: Testing properties under non-delay
+Alert: PASS: delay = true
+Alert: PASS: delay = false
+Alert: PASS: alignment = left
+Alert: PASS: alignment = left
+Alert: PASS: calcOrderIndex = -1
+Alert: PASS: calcOrderIndex = -1
+Alert: PASS: charLimit = 0
+Alert: PASS: charLimit = 0
+Alert: PASS: comb = false
+Alert: PASS: comb = false
+Alert: PASS: defaultStyle threw error Field.defaultStyle: Operation not supported.
+Alert: PASS: defaultStyle threw error Field.defaultStyle: Operation not supported.
+Alert: PASS: doNotScroll = false
+Alert: PASS: doNotScroll = false
+Alert: PASS: doNotSpellCheck = false
+Alert: PASS: doNotSpellCheck = false
+Alert: PASS: doc = [object global]
+Alert: PASS: doc threw error Field.doc: Operation not supported.
+Alert: PASS: fileSelect = false
+Alert: PASS: fileSelect = false
+Alert: PASS: fillColor = T
+Alert: PASS: fillColor = T
+Alert: PASS: multiline = false
+Alert: PASS: multiline = false
+Alert: PASS: name = MyField
+Alert: PASS: name threw error Field.name: Operation not supported.
+Alert: PASS: page = -1
+Alert: PASS: page threw error Field.page: Cannot assign to readonly property.
+Alert: PASS: password = false
+Alert: PASS: password = false
+Alert: PASS: readonly = false
+Alert: PASS: readonly = false
+Alert: PASS: richText = false
+Alert: PASS: richText = false
+Alert: PASS: richValue = undefined
+Alert: PASS: richValue = undefined
+Alert: PASS: rotation = 0
+Alert: PASS: rotation = 0
+Alert: PASS: source = undefined
+Alert: PASS: source = undefined
+Alert: PASS: strokeColor = T
+Alert: PASS: strokeColor = T
+Alert: PASS: submitName = undefined
+Alert: PASS: submitName = undefined
+Alert: PASS: textColor = T
+Alert: PASS: textColor = T
+Alert: PASS: textSize = 0
+Alert: PASS: textSize = 0
+Alert: PASS: type = text
+Alert: PASS: type threw error Field.type: Operation not supported.
+Alert: PASS: userName =
+Alert: PASS: userName =
+Alert: PASS: value =
+Alert: PASS: value =
+Alert: PASS: valueAsString =
+Alert: PASS: valueAsString threw error Field.valueAsString: Operation not supported.