зеркало из https://github.com/mozilla/gecko-dev.git
bd21b11225
This changes the duplicate checking/caching implemented by |parsed| to be based on the name of the protocol etc. we're loading, not the file name. This lets us detect when a protocol is being defined in two different files. This can happen if one file is included earlier in the resolve path than a file explicitly specified on the command line. Any includes will resolve to the former, and then we'll attempt to parse the latter. Before this patch, this would result in weird errors, because there would be multiple protocol types with the same name. Differential Revision: https://phabricator.services.mozilla.com/D86113 |
||
---|---|---|
.. | ||
cxx | ||
ipdl | ||
README.txt | ||
moz.build |
README.txt
There are two major categories of tests, segregated into different top-level directories under test/. The first category (ipdl/) is IPDL-compiler tests. These tests check that the IPDL compiler is successfully compiling correct specifications, and successfully rejecting erroneous specifications. The second category (cxx/) is C++ tests of IPDL semantics. These tests check that async/sync/rpc semantics are implemented correctly, ctors/dtors behave as they should, etc.