OLD | NEW |
---|---|
1 Unittests for private scripts. | 1 Unittests for private scripts. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". |
4 | 4 |
5 | 5 |
6 PASS privateScriptTest.return123() is 123 | 6 PASS privateScriptTest.return123() is 123 |
7 PASS privateScriptTest.echoInteger(111) is 111 | 7 PASS privateScriptTest.echoInteger(111) is 111 |
8 PASS privateScriptTest.echoString("foo") is "foo" | 8 PASS privateScriptTest.echoString("foo") is "foo" |
9 PASS privateScriptTest.addInteger(111, 222) is 333 | 9 PASS privateScriptTest.addInteger(111, 222) is 333 |
10 PASS privateScriptTest.addString("foo", "bar") is "foobar" | 10 PASS privateScriptTest.addString("foo", "bar") is "foobar" |
(...skipping 18 matching lines...) Expand all Loading... | |
29 PASS privateScriptTest.nodeAttribute is null | 29 PASS privateScriptTest.nodeAttribute is null |
30 PASS privateScriptTest.nodeAttribute is node8 | 30 PASS privateScriptTest.nodeAttribute is node8 |
31 PASS privateScriptTest.nodeAttributeThrowsIndexSizeError threw exception IndexSi zeError: Failed to read the 'nodeAttributeThrowsIndexSizeError' property from 'P rivateScriptTest': getter threw error. | 31 PASS privateScriptTest.nodeAttributeThrowsIndexSizeError threw exception IndexSi zeError: Failed to read the 'nodeAttributeThrowsIndexSizeError' property from 'P rivateScriptTest': getter threw error. |
32 PASS privateScriptTest.nodeAttributeThrowsIndexSizeError = null threw exception IndexSizeError: Failed to set the 'nodeAttributeThrowsIndexSizeError' property o n 'PrivateScriptTest': setter threw error. | 32 PASS privateScriptTest.nodeAttributeThrowsIndexSizeError = null threw exception IndexSizeError: Failed to set the 'nodeAttributeThrowsIndexSizeError' property o n 'PrivateScriptTest': setter threw error. |
33 PASS privateScriptTest.voidMethodThrowsDOMSyntaxError() threw exception SyntaxEr ror: Failed to execute 'voidMethodThrowsDOMSyntaxError' on 'PrivateScriptTest': method threw error. | 33 PASS privateScriptTest.voidMethodThrowsDOMSyntaxError() threw exception SyntaxEr ror: Failed to execute 'voidMethodThrowsDOMSyntaxError' on 'PrivateScriptTest': method threw error. |
34 PASS privateScriptTest.voidMethodThrowsError() threw exception Error: Failed to execute 'voidMethodThrowsError' on 'PrivateScriptTest': method threw Error. | 34 PASS privateScriptTest.voidMethodThrowsError() threw exception Error: Failed to execute 'voidMethodThrowsError' on 'PrivateScriptTest': method threw Error. |
35 PASS privateScriptTest.voidMethodThrowsTypeError() threw exception TypeError: Fa iled to execute 'voidMethodThrowsTypeError' on 'PrivateScriptTest': method threw TypeError. | 35 PASS privateScriptTest.voidMethodThrowsTypeError() threw exception TypeError: Fa iled to execute 'voidMethodThrowsTypeError' on 'PrivateScriptTest': method threw TypeError. |
36 PASS privateScriptTest.voidMethodThrowsRangeError() threw exception RangeError: Failed to execute 'voidMethodThrowsRangeError' on 'PrivateScriptTest': method th rew RangeError. | 36 PASS privateScriptTest.voidMethodThrowsRangeError() threw exception RangeError: Failed to execute 'voidMethodThrowsRangeError' on 'PrivateScriptTest': method th rew RangeError. |
37 PASS privateScriptTest.voidMethodThrowsSyntaxError() threw exception SyntaxError : Failed to execute 'voidMethodThrowsSyntaxError' on 'PrivateScriptTest': method threw SyntaxError. | 37 PASS privateScriptTest.voidMethodThrowsSyntaxError() threw exception SyntaxError : Failed to execute 'voidMethodThrowsSyntaxError' on 'PrivateScriptTest': method threw SyntaxError. |
38 PASS privateScriptTest.voidMethodThrowsReferenceError() threw exception Referenc eError: Failed to execute 'voidMethodThrowsReferenceError' on 'PrivateScriptTest ': method threw ReferenceError. | 38 PASS privateScriptTest.voidMethodThrowsReferenceError() threw exception Referenc eError: Failed to execute 'voidMethodThrowsReferenceError' on 'PrivateScriptTest ': method threw ReferenceError. |
39 PASS privateScriptTest.voidMethodThrowsStackOverflowError() threw exception Type Error: undefined is not a function. | |
vivekg
2014/09/09 02:11:35
RangeError :)
| |
39 PASS privateScriptTest.addIntegerImplementedInCPP(111, 222) is 333 | 40 PASS privateScriptTest.addIntegerImplementedInCPP(111, 222) is 333 |
40 PASS privateScriptTest.stringAttributeImplementedInCPP is "undefined" | 41 PASS privateScriptTest.stringAttributeImplementedInCPP is "undefined" |
41 PASS privateScriptTest.stringAttributeImplementedInCPP is "foo" | 42 PASS privateScriptTest.stringAttributeImplementedInCPP is "foo" |
42 PASS privateScriptTest.addIntegerImplementedInCPPForPrivateScriptOnly is undefin ed. | 43 PASS privateScriptTest.addIntegerImplementedInCPPForPrivateScriptOnly is undefin ed. |
43 PASS privateScriptTest.stringAttributeImplementedInCPPForPrivateScriptOnly is un defined. | 44 PASS privateScriptTest.stringAttributeImplementedInCPPForPrivateScriptOnly is un defined. |
44 PASS privateScriptTest.addIntegerInPartial(111, 222) is 333 | 45 PASS privateScriptTest.addIntegerInPartial(111, 222) is 333 |
45 PASS privateScriptTest.addInteger2InPartial(111, 222) is 333 | 46 PASS privateScriptTest.addInteger2InPartial(111, 222) is 333 |
46 PASS privateScriptTest.stringAttributeInPartial is "foo" | 47 PASS privateScriptTest.stringAttributeInPartial is "foo" |
47 PASS event.bubbles is true | 48 PASS event.bubbles is true |
48 PASS event.cancelable is true | 49 PASS event.cancelable is true |
49 PASS event.valueInPrivateScript is undefined. | 50 PASS event.valueInPrivateScript is undefined. |
50 PASS successfullyParsed is true | 51 PASS successfullyParsed is true |
51 | 52 |
52 TEST COMPLETE | 53 TEST COMPLETE |
53 | 54 |
OLD | NEW |