|Submitter||Diff||Changes||Open Issues||Last Updated|
|Error loading review requests:|
I noticed a couple of omissions from the unit tests when working on the type checker for the Rust IPDL compiler. First, redeclaration is not allowed even if the initial declaration was from a different frame of the scope. (I initially was not checking correctly this in the Rust IPDL checker.) Secondly, this adds a few basic tests to ensure that the various Endpoint<> declarations are made. I check three cases: in the same file as the protocol (either in or not in the protocol), and via an included file. The included file declarations are done via a slightly different code path so it makes sense to check them.
I added some more missing tests, that are error tests that should fail when the manager is weaker than the managee.
Comment on attachment 8836138 [details] Bug 1338594 - Add more basic IPDL tests. https://reviewboard.mozilla.org/r/111578/#review113590
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/535de0c3e91d Add more basic IPDL tests. r=kanru