GNOME Bugzilla – Bug 773335
Reinstate importer test
Last modified: 2016-10-22 05:08:42 UTC
While working on https://bugzilla.gnome.org/show_bug.cgi?id=742249 I wanted to make some changes to the importer. I discovered there were some data files still in the tree belonging to a testImporter.js that got removed when the test suite was converted to installed tests. Now that it's possible to import modules from a resource:// URI, it's possible to reinstate that test.
Created attachment 338235 [details] [review] tests: Reinstate importer test Now that it's possible to import modules from resource:// URIs, we can reinstate the importer test that got removed when the test suite was converted to an installed test suite. The resulting file is slightly different from the one that got removed in [54538f3da91b25ed20c9deaeda00d57fb252227c]. In the intervening time, importer objects have lost the ability to enumerate their properties, so we remove the corresponding tests. The importer test's data files were still hanging around in the source tree anyway, so they get added to the jsunit GResource and EXTRA_DIST. We remove a few that were only used in the importer enumeration tests.
Review of attachment 338235 [details] [review]: Sure
Attachment 338235 [details] pushed as 6a80c32 - tests: Reinstate importer test