Community
Participate
Working Groups
+++ This bug was initially created as a clone of Bug #295949 +++ Our layout tests simply look for the absence of certain files in the bundle as it is laid out ... as a quick and simple sanity check. As was suggested in the original bug of this clone, a common error that is not caught is that the manifest.mf file does not have the proper header, to "match" the file layout ... such as for the method of localization (e.g. a bundle might have "plugin.properties", this passing the layout test, but does not have a Bundle-Localization header to localization would not work at runtime). So, ideally, some "manifest tests" could also be added as unit tests.
Note, if/when we improve these tests again, we should allow for "fragment.properties", as I learned in bug 344003. Don't think we currently have any fragments in Orbit, but as far as I know, it wouldn't be impossible.