document_methods_expected.txt revision 4d3acf4ec42bf6e838f9060103aff98fbf170794
1Alert: *** Testing Unsupported Methods ***
2Alert: PASS: typeof this.addAnnot = function
3Alert: PASS: this.addAnnot() = undefined
4Alert: PASS: this.addAnnot(1, 2, "clams", [1, 2, 3]) = undefined
5Alert: PASS: typeof this.addField = function
6Alert: PASS: this.addField() = undefined
7Alert: PASS: this.addField(1, 2, "clams", [1, 2, 3]) = undefined
8Alert: PASS: typeof this.addLink = function
9Alert: PASS: this.addLink() = undefined
10Alert: PASS: this.addLink(1, 2, "clams", [1, 2, 3]) = undefined
11Alert: PASS: typeof this.closeDoc = function
12Alert: PASS: this.closeDoc() = undefined
13Alert: PASS: this.closeDoc(1, 2, "clams", [1, 2, 3]) = undefined
14Alert: PASS: typeof this.createDataObject = function
15Alert: PASS: this.createDataObject() = undefined
16Alert: PASS: this.createDataObject(1, 2, "clams", [1, 2, 3]) = undefined
17Alert: PASS: typeof this.deletePages = function
18Alert: PASS: this.deletePages() = undefined
19Alert: PASS: this.deletePages(1, 2, "clams", [1, 2, 3]) = undefined
20Alert: PASS: typeof this.exportAsFDF = function
21Alert: PASS: this.exportAsFDF() = undefined
22Alert: PASS: this.exportAsFDF(1, 2, "clams", [1, 2, 3]) = undefined
23Alert: PASS: typeof this.exportAsText = function
24Alert: PASS: this.exportAsText() = undefined
25Alert: PASS: this.exportAsText(1, 2, "clams", [1, 2, 3]) = undefined
26Alert: PASS: typeof this.exportAsXFDF = function
27Alert: PASS: this.exportAsXFDF() = undefined
28Alert: PASS: this.exportAsXFDF(1, 2, "clams", [1, 2, 3]) = undefined
29Alert: PASS: typeof this.extractPages = function
30Alert: PASS: this.extractPages() = undefined
31Alert: PASS: this.extractPages(1, 2, "clams", [1, 2, 3]) = undefined
32Alert: PASS: typeof this.getAnnot3D = function
33Alert: PASS: this.getAnnot3D() = undefined
34Alert: PASS: this.getAnnot3D(1, 2, "clams", [1, 2, 3]) = undefined
35Alert: PASS: typeof this.getLinks = function
36Alert: PASS: this.getLinks() = undefined
37Alert: PASS: this.getLinks(1, 2, "clams", [1, 2, 3]) = undefined
38Alert: PASS: typeof this.getOCGs = function
39Alert: PASS: this.getOCGs() = undefined
40Alert: PASS: this.getOCGs(1, 2, "clams", [1, 2, 3]) = undefined
41Alert: PASS: typeof this.getPageBox = function
42Alert: PASS: this.getPageBox() = undefined
43Alert: PASS: this.getPageBox(1, 2, "clams", [1, 2, 3]) = undefined
44Alert: PASS: typeof this.getURL = function
45Alert: PASS: this.getURL() = undefined
46Alert: PASS: this.getURL(1, 2, "clams", [1, 2, 3]) = undefined
47Alert: PASS: typeof this.importAnFDF = function
48Alert: PASS: this.importAnFDF() = undefined
49Alert: PASS: this.importAnFDF(1, 2, "clams", [1, 2, 3]) = undefined
50Alert: PASS: typeof this.importAnXFDF = function
51Alert: PASS: this.importAnXFDF() = undefined
52Alert: PASS: this.importAnXFDF(1, 2, "clams", [1, 2, 3]) = undefined
53Alert: PASS: typeof this.importTextData = function
54Alert: PASS: this.importTextData() = undefined
55Alert: PASS: this.importTextData(1, 2, "clams", [1, 2, 3]) = undefined
56Alert: PASS: typeof this.insertPages = function
57Alert: PASS: this.insertPages() = undefined
58Alert: PASS: this.insertPages(1, 2, "clams", [1, 2, 3]) = undefined
59Alert: PASS: typeof this.removeIcon = function
60Alert: PASS: this.removeIcon() = undefined
61Alert: PASS: this.removeIcon(1, 2, "clams", [1, 2, 3]) = undefined
62Alert: PASS: typeof this.replacePages = function
63Alert: PASS: this.replacePages() = undefined
64Alert: PASS: this.replacePages(1, 2, "clams", [1, 2, 3]) = undefined
65Alert: PASS: typeof this.saveAs = function
66Alert: PASS: this.saveAs() = undefined
67Alert: PASS: this.saveAs(1, 2, "clams", [1, 2, 3]) = undefined
68Alert: PASS: typeof this.syncAnnotScan = function
69Alert: PASS: this.syncAnnotScan() = undefined
70Alert: PASS: this.syncAnnotScan(1, 2, "clams", [1, 2, 3]) = undefined
71Alert: *** Testing Supported Methods ***
72Alert: PASS: typeof this.addIcon = function
73Alert: PASS: this.addIcon() threw error Document.addIcon: Incorrect number of parameters passed to function.
74Alert: PASS: this.addIcon(1) threw error Document.addIcon: Incorrect number of parameters passed to function.
75Alert: PASS: this.addIcon(1, 2, 3) threw error Document.addIcon: Incorrect number of parameters passed to function.
76Alert: PASS: this.addIcon("myicon", 3) threw error Document.addIcon: Incorrect parameter type.
77Alert: PASS: this.addIcon("myicon", undefined) threw error Document.addIcon: Incorrect parameter type.
78Alert: PASS: typeof this.calculateNow = function
79Alert: PASS: typeof this.getAnnot = function
80Alert: PASS: this.getAnnot() threw error Document.getAnnot: Incorrect number of parameters passed to function.
81Alert: PASS: this.getAnnot(0) threw error Document.getAnnot: Incorrect number of parameters passed to function.
82Alert: PASS: this.getAnnot(0, "test", 0) threw error Document.getAnnot: Incorrect number of parameters passed to function.
83Alert: PASS: typeof this.getAnnots = function
84Alert: PASS: typeof this.getField = function
85Alert: PASS: this.getField() threw error Document.getField: Incorrect number of parameters passed to function.
86Alert: PASS: typeof this.getIcon = function
87Alert: PASS: this.getIcon() threw error Document.getIcon: Incorrect number of parameters passed to function.
88Alert: PASS: this.getIcon(1, 2) threw error Document.getIcon: Incorrect number of parameters passed to function.
89Alert: PASS: typeof this.getNthFieldName = function
90Alert: PASS: this.getNthFieldName() threw error Document.getNthFieldName: Incorrect number of parameters passed to function.
91Alert: PASS: this.getNthFieldName(-1) threw error Document.getNthFieldName: Incorrect parameter value.
92Alert: PASS: typeof this.getPageNthWord = function
93Alert: PASS: this.getPageNthWord(0, 0, true, "clams", [1, 2]) = Hello,
94Alert: PASS: this.getPageNthWord(-1, 0, true) threw error Document.getPageNthWord: Incorrect parameter value.
95Alert: PASS: this.getPageNthWord(6, 0, true) threw error Document.getPageNthWord: Incorrect parameter value.
96Alert: PASS: typeof this.getPageNthWordQuads = function
97Alert: PASS: typeof this.getPageNumWords = function
98Alert: PASS: this.getPageNumWords(0, "clams", [1, 2]) = 2
99Alert: PASS: this.getPageNumWords(-1) threw error Document.getPageNumWords: Incorrect parameter value.
100Alert: PASS: this.getPageNumWords(6) threw error Document.getPageNumWords: Incorrect parameter value.
101Alert: PASS: typeof this.getPrintParams = function
102Alert: PASS: typeof this.gotoNamedDest = function
103Alert: PASS: this.gotoNamedDest() threw error Document.gotoNamedDest: Incorrect number of parameters passed to function.
104Alert: PASS: this.gotoNamedDest(1, 2) threw error Document.gotoNamedDest: Incorrect number of parameters passed to function.
105Alert: PASS: typeof this.mailDoc = function
106Alert: PASS: typeof this.mailForm = function
107Alert: PASS: typeof this.print = function
108Alert: PASS: typeof this.removeField = function
109Alert: PASS: this.removeField() threw error Document.removeField: Incorrect number of parameters passed to function.
110Alert: PASS: typeof this.resetForm = function
111Alert: PASS: typeof this.submitForm = function
112Alert: PASS: this.submitForm() threw error Document.submitForm: Incorrect number of parameters passed to function.
113