Pass | should return an array that includes itself. | Asserts runPass | assert_array_equals(["A"], ["A"])
at Test.<anonymous> ( /resources/test/tests/unit/IdlInterface/get_reverse_inheritance_stack.html:17:9) |
|
Pass | should throw for interfaces which inherit from another interface which wasn't added to the IdlArray | Asserts runPass | assert_throws_js(function "function Error() { [native code] }", function "_ => i.get_reverse_inheritance_stack()")
at Test.<anonymous> ( /resources/test/tests/unit/IdlInterface/get_reverse_inheritance_stack.html:22:9) |
|
Pass | should return an array of interfaces in order of inheritance, starting with the base interface | Asserts runPass | assert_array_equals(["C", "B", "A"], ["C", "B", "A"])
at Test.<anonymous> ( /resources/test/tests/unit/IdlInterface/get_reverse_inheritance_stack.html:30:9) |
|
Pass | should throw when inheritance is circular | Asserts runNo asserts ran |
Pass | should throw when multiple inheritances defined | Asserts runNo asserts ran |