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 24 matching lines...) Expand all Loading... |
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.voidMethodWithStackOverflow() threw exception RangeError:
Failed to execute 'voidMethodWithStackOverflow' on 'PrivateScriptTest': Maximum
call stack size exceeded. | 39 PASS privateScriptTest.voidMethodWithStackOverflow() threw exception RangeError:
Failed to execute 'voidMethodWithStackOverflow' on 'PrivateScriptTest': Maximum
call stack size exceeded. |
40 PASS privateScriptTest.addIntegerImplementedInCPP(111, 222) is 333 | 40 PASS privateScriptTest.addIntegerImplementedInCPP(111, 222) is 333 |
41 PASS privateScriptTest.stringAttributeImplementedInCPP is "undefined" | 41 PASS privateScriptTest.stringAttributeImplementedInCPP is "undefined" |
42 PASS privateScriptTest.stringAttributeImplementedInCPP is "foo" | 42 PASS privateScriptTest.stringAttributeImplementedInCPP is "foo" |
43 PASS privateScriptTest.addIntegerImplementedInCPPForPrivateScriptOnly is undefin
ed. | 43 PASS privateScriptTest.addIntegerImplementedInCPPForPrivateScriptOnly is undefin
ed. |
44 PASS privateScriptTest.stringAttributeImplementedInCPPForPrivateScriptOnly is un
defined. | 44 PASS privateScriptTest.stringAttributeImplementedInCPPForPrivateScriptOnly is un
defined. |
| 45 PASS privateScriptTest.addIntegerInPartial(111, 222) is 333 |
| 46 PASS privateScriptTest.addInteger2InPartial(111, 222) is 333 |
| 47 PASS privateScriptTest.stringAttributeInPartial is "foo" |
45 PASS successfullyParsed is true | 48 PASS successfullyParsed is true |
46 | 49 |
47 TEST COMPLETE | 50 TEST COMPLETE |
48 | 51 |
OLD | NEW |