зеркало из https://github.com/mozilla/gecko-dev.git
5daac04ccf
This is a most minimal gtest conversion possible. It leaves in place significant amounts of non-typical-for-gtest code. Notable changes: - All the mock Link and URLSearchParams method definitions are no longer needed. - The changes adds a new constructor for Link that doesn't set mHistory. Without that, leaked URLs occur at shutdown. - The output printed by the test is slightly streamlined, mostly by omitting the test filename. - It disables TestMediaFormatReader.cpp, which was causing problems. That test is slated for removal in bug 1318225 anyway. --HG-- rename : toolkit/components/places/tests/cpp/mock_Link.h => toolkit/components/places/tests/gtest/mock_Link.h rename : toolkit/components/places/tests/cpp/moz.build => toolkit/components/places/tests/gtest/moz.build rename : toolkit/components/places/tests/cpp/places_test_harness.h => toolkit/components/places/tests/gtest/places_test_harness.h rename : toolkit/components/places/tests/cpp/places_test_harness_tail.h => toolkit/components/places/tests/gtest/places_test_harness_tail.h rename : toolkit/components/places/tests/cpp/test_IHistory.cpp => toolkit/components/places/tests/gtest/test_IHistory.cpp extra : rebase_source : b7def3f9afce3a44e99f5ed35cb220f7814551cd |
||
---|---|---|
.. | ||
PyECC | ||
altgraph | ||
bitstring | ||
blessings | ||
compare-locales | ||
configobj | ||
devtools/migrate-l10n | ||
eme | ||
futures | ||
gdbpp/gdbpp | ||
jsmin | ||
lldbutils | ||
mach | ||
macholib | ||
mock-1.0.0 | ||
mozboot | ||
mozbuild | ||
mozlint | ||
mozversioncontrol/mozversioncontrol | ||
psutil | ||
py | ||
pyasn1 | ||
pyasn1-modules | ||
pylru | ||
pystache | ||
pytest | ||
pytoml | ||
pyyaml | ||
redo | ||
requests | ||
rsa | ||
slugid | ||
virtualenv | ||
voluptuous | ||
which | ||
README | ||
mach_commands.py | ||
moz.build |
README
This directory contains common Python code. The basic rule is that if Python code is cross-module (that's "module" in the Mozilla meaning - as in "module ownership") and is MPL-compatible, it should go here. What should not go here: * Python that is not MPL-compatible (see other-licenses/) * Python that has good reason to remain close to its "owning" (Mozilla) module (e.g. it is only being consumed from there). Historical information can be found at https://bugzilla.mozilla.org/show_bug.cgi?id=775243 ## pyyaml | pystache Used in taskcluster related mach commands to update download from github and remove .git and tests. Then run tests in taskcluster/tests/