gecko/dom/bindings/parser/tests
Boris Zbarsky ac7e3e09f9 Bug 796983 part 2. Add a way to generate an example class declaration for a given WebIDL interface. r=jst
We mark constructors as static in the parser because they are.  This
allows us to just use the isStatic() for the IDLMember to mark our
declarations static.

To generate an example interface implementation, just "make
interfacename-example" in $objdir/dom/bindings.  This will place files
called interfacename-example.h and interfacename-example.cpp in that
directory.  For example, "make XMLHttpRequest-example" will get you
$objdir/dom/bindings/XMLHttpRequest-example.h and
$objdir/dom/bindings/XMLHttpRequest-example.cpp.

Attribute getters currently default to const methods, while setters
and operations default to non-const methods.

--HG--
rename : dom/bindings/BindingGen.py => dom/bindings/ExampleGen.py
2012-10-17 17:01:55 -04:00
..
test_any_null.py
test_argument_identifier_conflicts.py
test_argument_novoid.py
test_array_of_interface.py
test_arraybuffer.py Bug 742213. isDistinguishableFrom should correctly check whether two interfaces can be implemented on the same object. r=jlebar 2012-06-22 16:18:50 -04:00
test_attr_sequence_type.py
test_attr.py Bug 777415. Disallow GetterInfallible/SetterInfallible annotations where they don't make sense. r=khuey 2012-07-27 00:09:10 -04:00
test_builtin_filename.py
test_builtins.py Bug 742144. Implement support for typedefs in WebIDL. r=khuey 2012-09-06 10:23:51 -04:00
test_callback_interface.py Bug 766844. Non-callback interfaces must not inherit from callback interfaces. r=jlebar 2012-06-22 16:18:51 -04:00
test_callback.py Bug 792137. [TreatNonCallableAsNull] lives on the callback type now. r=peterv 2012-10-10 15:53:02 -04:00
test_const.py
test_constructor_no_interface_object.py
test_constructor.py Bug 796983 part 2. Add a way to generate an example class declaration for a given WebIDL interface. r=jst 2012-10-17 17:01:55 -04:00
test_deduplicate.py
test_dictionary.py Backout 9deb8edb5070 (bug 773519), ea5a243a60f1 & 0cad1e553bea (bug 768537) for compilation failures 2012-07-17 17:48:11 +01:00
test_distinguishability.py Backout 9deb8edb5070 (bug 773519), ea5a243a60f1 & 0cad1e553bea (bug 768537) for compilation failures 2012-07-17 17:48:11 +01:00
test_double_null.py
test_duplicate_qualifiers.py
test_empty_enum.py
test_enum_duplicate_values.py
test_enum.py Bug 771636 part 2. Implement default values for WebIDL enums. r=peterv 2012-07-31 00:22:23 -04:00
test_error_colno.py
test_error_lineno.py Bug 742213. isDistinguishableFrom should correctly check whether two interfaces can be implemented on the same object. r=jlebar 2012-06-22 16:18:50 -04:00
test_extended_attributes.py Bug 790273. Add support for [LenientThis] in WebIDL. r=peterv 2012-09-12 17:24:58 +01:00
test_forward_decl.py
test_implements.py Bug 766853. The two sides of an implements statement must both be non-callback interfaces. r=jlebar 2012-06-22 16:18:51 -04:00
test_incomplete_parent.py
test_incomplete_types.py
test_interface_const_identifier_conflicts.py
test_interface_identifier_conflicts_across_members.py
test_interface.py Backout changeset 1142882b6c0b (bug 785472) because it breaks the build 2012-08-24 16:22:42 -04:00
test_method.py Bug 777415. Disallow GetterInfallible/SetterInfallible annotations where they don't make sense. r=khuey 2012-07-27 00:09:10 -04:00
test_nullable_equivalency.py
test_nullable_void.py
test_optional_constraints.py
test_overload.py Bug 742152. Move distinguishing index determination and verification of type-identity of preceding arguments out of codegen and into the WebIDL parser. r=jlebar 2012-06-22 16:18:50 -04:00
test_sanity.py
test_special_method_signature_mismatch.py Fix for bug 765467 (Fix special operations in the WebIDL parser). r=khuey. 2012-05-22 12:02:21 +02:00
test_special_methods_uniqueness.py
test_special_methods.py
test_treatNonCallableAsNull.py Bug 792137. [TreatNonCallableAsNull] lives on the callback type now. r=peterv 2012-10-10 15:53:02 -04:00
test_typedef.py Bug 742144. Implement support for typedefs in WebIDL. r=khuey 2012-09-06 10:23:51 -04:00
test_union_any.py
test_union_nullable.py
test_union.py
test_variadic_callback.py
test_variadic_constraints.py