OLD | NEW |
1 IDL dictionary unittest | 1 IDL dictionary unittest |
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 Test for setting an empty dictionary | 6 Test for setting an empty dictionary |
7 PASS dict.longMember is undefined. | 7 PASS dict.longMember is undefined. |
8 PASS dict.longMemberWithDefault is 42 | 8 PASS dict.longMemberWithDefault is 42 |
9 PASS dict.longOrNullMember is undefined. | 9 PASS dict.longOrNullMember is undefined. |
10 PASS dict.longOrNullMemberWithDefault is null | 10 PASS dict.longOrNullMemberWithDefault is null |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 PASS dictionaryTest.set({enumMember: 'invalid'}) threw exception TypeError: Fail
ed to execute 'set' on 'DictionaryTest': member enumMember ('invalid') is not a
valid enum value.. | 70 PASS dictionaryTest.set({enumMember: 'invalid'}) threw exception TypeError: Fail
ed to execute 'set' on 'DictionaryTest': member enumMember ('invalid') is not a
valid enum value.. |
71 | 71 |
72 Test for setting invalid object value | 72 Test for setting invalid object value |
73 PASS dictionaryTest.set({objectMember: 42}) threw exception TypeError: Failed to
execute 'set' on 'DictionaryTest': member objectMember is not an object.. | 73 PASS dictionaryTest.set({objectMember: 42}) threw exception TypeError: Failed to
execute 'set' on 'DictionaryTest': member objectMember is not an object.. |
74 PASS dictionaryTest.set({objectMember: 'invalid'}) threw exception TypeError: Fa
iled to execute 'set' on 'DictionaryTest': member objectMember is not an object.
. | 74 PASS dictionaryTest.set({objectMember: 'invalid'}) threw exception TypeError: Fa
iled to execute 'set' on 'DictionaryTest': member objectMember is not an object.
. |
75 | 75 |
76 Test for passing invalid dictionary values | 76 Test for passing invalid dictionary values |
77 PASS dictionaryTest.set(42) threw exception TypeError: Failed to execute 'set' o
n 'DictionaryTest': parameter 1 ('testingDictionary') is not an object.. | 77 PASS dictionaryTest.set(42) threw exception TypeError: Failed to execute 'set' o
n 'DictionaryTest': parameter 1 ('testingDictionary') is not an object.. |
78 PASS dictionaryTest.set('string') threw exception TypeError: Failed to execute '
set' on 'DictionaryTest': parameter 1 ('testingDictionary') is not an object.. | 78 PASS dictionaryTest.set('string') threw exception TypeError: Failed to execute '
set' on 'DictionaryTest': parameter 1 ('testingDictionary') is not an object.. |
79 | 79 |
| 80 Test for [Clamp] member |
| 81 PASS dict.longMember is -2147483648 |
| 82 PASS dict.longMemberWithClamp is 2147483647 |
| 83 |
80 PASS successfullyParsed is true | 84 PASS successfullyParsed is true |
81 | 85 |
82 TEST COMPLETE | 86 TEST COMPLETE |
83 | 87 |
OLD | NEW |