Commit Graph
25 Commits
Author SHA1 Message Date
Dan Minor c51525a31d Bug 1343557 - Update build for gtest and gmock 1.7.0; r=ted.mielczarek
I've moved the mozilla specific gtest stuff to link directly in xul-gtest
rather than in the gtest static library to make it possible for standalone
programs to link against this library and not have to link
against other mozilla libraries. This allows us to build
media/webrtc/signaling/fuzztest against this version of gtest rather than the
webrtc version of gtest, which I plan to remove in a follow on bug.

I had to add a global disable for -Wgnu-zero-variadic-macro-arguments as we
hit that everywhere we use the INSTANTIATE_TEST_CASE_P macro.

This brings forward the fix from Bug 844630 to the visibility of environ in
gtest-death-test.cc.

I also removed code that set GTEST_API_ to a visibility that conflicts with
what we've defined elsewhere in tree.

MozReview-Commit-ID: 3cfuapC6vn0
2017-03-03 14:54:05 -05:00
Nathan Froyd b995466f21 Bug 1320752 - remove mozilla/Function.h; r=gerald
We have std::function available now, which is likely to be somewhat more
efficient.
2016-11-28 11:03:53 -05:00
Eric Rahm 2f59ea6d54 Bug 1316729 - Pass command-line args to gtest. r=ted
MozReview-Commit-ID: 8Xs52E9NnCq
2016-11-16 13:04:11 -08:00
Benoit Girard 7267061806 Bug 1256408 - Add graphics microbenchmarking. r=mstange
MozReview-Commit-ID: H4IRZuLy7do
2016-03-16 14:20:33 -04:00
Chris Pearce 55989ec650 Bug 1227775 - Call mozilla::ipc::windows::InitUIThread() in RunGtestFunc(). r=benwa 2015-11-26 13:50:52 +13:00
Chris Manchester d99fe96053 Bug 992983 - Add test summary lines to gtest's automation-specific output format. r=benwa 2015-08-18 11:32:31 -07:00
Birunthan Mohanathas a29151dc87 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Ehsan Akhgari ea41d8de48 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Masatoshi Kimura bae0a32948 Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
Kartikaya Gupta 25b1199db8 Bug 1030805 - Stop claiming all gtests are AsyncPanZoomController tests. r=BenWa 2014-06-26 12:19:33 -04:00
Chris Peterson 777536926e Bug 1018270 - Part 1: Cherrypick -Wunused-private-field warning fix from upstream gtest. r=ted 2014-06-02 20:17:00 -07:00
Benoit Girard c53c410208 Bug 904227 - Print ? if we don't have a test object. r=bjacob 2013-12-06 16:44:22 -05:00
Birunthan Mohanathas de6084f712 Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan 2013-11-25 14:02:47 -05:00
Benoit Girard d5f66c9121 Bug 775459 - Implement hit testing on layer tree + tests. r=kats 2013-07-02 12:27:17 -04:00
Benoit Girard f2f1754f99 Bug 844852 - Run GTest on make check. r=ted 2013-04-25 13:56:43 -04:00
Ryan VanderMeulen fe24d3b14d Backed out changeset eb8b971070eb (bug 844852) for checktest failures.
CLOSED TREE
2013-06-13 18:37:50 -04:00
Benoit Girard a7aec59381 Bug 844852 - Run GTest on make check. r=ted 2013-04-25 13:56:43 -04:00
Benoit Girard c5c9d9bf7c Bug 844288 - Dual link libxul.so and libxul-unit.so and replace enable-gtest by enable-test r=ted,glandium
- Remove enable GTest
- Add a general target to create gtestxul
- Update mach target
- Run GTest from make check
2013-03-11 14:47:40 -04:00
Phil Ringnalda 17aa693ddc Back out dc76402b8471 (bug 844288) on suspicion of breaking dep builds
CLOSED TREE
2013-05-31 07:39:56 -07:00
Benoit Girard 8e01dd9fbf Bug 844288 - Dual link libxul.so and libxul-unit.so and replace enable-gtest by enable-test r=ted,glandium
- Remove enable GTest
- Add a general target to create gtestxul
- Update mach target
- Run GTest from make check
2013-03-11 14:47:40 -04:00
Phil Ringnalda 8e89c78e28 Back out 816311e43409 (bug 844288) on suspicion of causing dep OS X universal builds to fail in packaging
CLOSED TREE
2013-05-29 23:42:20 -07:00
Benoit Girard 5f0f708090 Bug 844288 - Dual link libxul.so and libxul-unit.so and replace enable-gtest by enable-test r=ted,glandium
- Remove enable GTest
- Add a general target to create gtestxul
- Update mach target
- Run GTest from make check
2013-03-11 14:47:40 -04:00
Benoit Girard c1cb0a9f54 Bug 844869 - Make NS_ASSERTION fatal under GTest. r=dbaron 2013-02-28 11:50:20 -05:00
Benoit Girard d503d633de Bug 840415 - Add gmock. r=ted 2013-02-22 16:13:43 -05:00
Benoit Girard 01f64529a8 Bug 767231 - Part 1: Add GTest. r=ted 2012-05-22 13:45:24 -07:00