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 13 matching lines...) Expand all Loading... |
24 PASS privateScriptTest.readonlyShortAttribute is 123 | 24 PASS privateScriptTest.readonlyShortAttribute is 123 |
25 PASS privateScriptTest.shortAttribute is -1 | 25 PASS privateScriptTest.shortAttribute is -1 |
26 PASS privateScriptTest.shortAttribute is 111 | 26 PASS privateScriptTest.shortAttribute is 111 |
27 PASS privateScriptTest.stringAttribute is "xxx" | 27 PASS privateScriptTest.stringAttribute is "xxx" |
28 PASS privateScriptTest.stringAttribute is "foo" | 28 PASS privateScriptTest.stringAttribute is "foo" |
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.voidMethodThrowsSyntaxError() threw exception SyntaxError
: Failed to execute 'voidMethodThrowsSyntaxError' on 'PrivateScriptTest': method
threw error. | 33 PASS privateScriptTest.voidMethodThrowsSyntaxError() threw exception SyntaxError
: Failed to execute 'voidMethodThrowsSyntaxError' on 'PrivateScriptTest': method
threw error. |
| 34 PASS privateScriptTest.addIntegerImplementedInCPP(111, 222) is 333 |
| 35 PASS privateScriptTest.stringAttributeImplementedInCPP is "undefined" |
| 36 PASS privateScriptTest.stringAttributeImplementedInCPP is "foo" |
| 37 PASS privateScriptTest.addIntegerImplementedInCPPForPrivateScriptOnly is undefin
ed. |
| 38 PASS privateScriptTest.stringAttributeImplementedInCPPForPrivateScriptOnly is un
defined. |
34 PASS successfullyParsed is true | 39 PASS successfullyParsed is true |
35 | 40 |
36 TEST COMPLETE | 41 TEST COMPLETE |
37 | 42 |
OLD | NEW |