summaryrefslogtreecommitdiff
path: root/third_party/googletest
AgeCommit message (Collapse)Author
2020-09-10googletest: enable failure on uninstantiated testsSarah Parker
Similar to the change in https://aomedia-review.googlesource.com/c/aom/+/115162. This currently is a warning, but the tree should be clean now in the default x86-64 configuration so we can use it to prevent regressions and find any remaining issues in other configurations. BUG=b/159031844 Change-Id: I097537ff018668492d37164fdba5edd241dc5dbe
2020-07-22update googletest to release-1.10.0-224-g23b2a3b1James Zern
this matches libaom and provides GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST BUG=webm:1695 BUG=b/159031848 Change-Id: Icdaf61481ab2012dd0e517dd1e600045c937c0dd
2020-06-18update googletest to v1.10.0James Zern
this moves the framework to c++11 and changes *_TEST_CASE* to _TEST_SUITE BUG=webm:1695 Change-Id: I07f2c20850312a9c7e381b38353d2f9f45889cb1
2018-11-27Reland "third_party/googletest: update to v1.8.1"Johann
This is a reland of 7d777ce6136d7325a102524b6d80c19bd420e4b6 Previous attempt was reverted due to build issues with older versions of Visual Studio. We no longer support VS <= 13. Original change's description: > third_party/googletest: update to v1.8.1 > > BUG=webm:1559 > > Change-Id: I7a0b16c7bf3f97db2d8650a190b93aae7e12a948 Bug: webm:1559 Change-Id: I9cb39988286cc56125879222ef0bd952d61b7c1d
2018-10-16Use wcslen() instead of std::wcslen()KO Myung-Hun
OS/2 kLIBC has wcslen(), but it is not in std namespace. Change-Id: I0b4fd6705e6ae938b2188abdc688eea3bba27430
2018-09-21Revert "third_party/googletest: update to v1.8.1"Johann Koenig
This reverts commit 7d777ce6136d7325a102524b6d80c19bd420e4b6. Reason for revert: Generates build warnings on VS10/VS12 third_party\googletest\src\include\gtest/gtest-printers.h(1036): error C2770: invalid explicit template argument(s) for 'AddReference<const ::std::tr1::tuple_element<I,std::tr1::tuple<_Arg0,_Arg1>>::type>::type testing::internal::TuplePolicy<TupleT>::get(const std::tr1::tuple<_Arg0,_Arg1> &)' [C:\src\buildbot\test-libvpx\tests\i9vRsze8hQ\.build-x86-win32-vs10\test_libvpx.vcxproj] Original change's description: > third_party/googletest: update to v1.8.1 > > BUG=webm:1559 > > Change-Id: I7a0b16c7bf3f97db2d8650a190b93aae7e12a948 TBR=tomfinegan@chromium.org Bug: webm:1559 Change-Id: Ia1a7354084c778a4c4e91b33fef6462e88986d1e
2018-09-20third_party/googletest: update to v1.8.1Johann
BUG=webm:1559 Change-Id: I7a0b16c7bf3f97db2d8650a190b93aae7e12a948
2018-09-20fix UB when initializing parameterized testsMatthias Räncker
When running tests built with -fsanitize=undefined and--disable-optimizations the sanitizer will emit errors of the following general form: runtime error: member call on address 0xxxxxxxxx which does not point to an object of type 'WithParamInterface' 0xxxxxxxxx: note: object has invalid vptr 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ... ^~~~~~~~~~~~~~~~~~~~~~~ invalid vptr This can be traced to calls to WithParamInterface<T>::GetParam before the object argument has been initialized. Although GetParam only accesses static data it is a non-static member function. This causes that call to have undefined behaviour. The patch makes GetParam a static member function. upstream pull request: https://github.com/google/googletest/pull/1830 The alternative - if the pull request is denied - would be to modify all parameterized tests to have them derive from ::libvpx_test::CodecTestWith*Params as the first base class. Signed-off-by: Matthias Räncker <theonetruecamper@gmx.de> Change-Id: I8e91a4fba5438c9b3e93fa398f789115ab86b521
2018-03-26third_part/googletest: update to release-1.8.0-742-g7857975Johann
Address std::tr1::tuple warnings: https://github.com/google/googletest/issues/1111 The unsigned overflow fix has been superseded by: https://github.com/google/googletest/pull/1180 Change-Id: I92dc0ba08a4d0d63f5e5b2da7b64f4a4642ed9ab
2017-07-01googletest: suppress unsigned overflow in the LCGAlex Converse
Local application of: https://github.com/google/googletest/pull/1066 Suppress unsigned overflow instrumentation in the LCG The rest of the (covered) codebase is already integer overflow clean. TESTED=gtest_shuffle_test goes from fail to pass with -fsanitize=integer Change-Id: I8a6db02a7c274160adb08b7dfd528b87b5b53050
2017-02-02Update third_party/googletest to 1.8.0Johann
Change-Id: If61137e28291f2a0911e9260eb58f234e0d8594c
2016-07-13gtest-all.cc: quiet an unused variable warningJames Zern
under windows / mingw builds Change-Id: I93f9a5df77cea0c28d4afb272abcde5a9732e355
2016-06-17Fix warnings from gtest under GCC 5 or newer.Geza Lore
Change-Id: I9661f2fe9d315dccae69caa70d929b5d9d93b7db (cherry picked from commit 4c83fdd3d7cacd66a2c64451db0fb64e5b2ecf48)
2014-05-30Fix unused variable warning.Christian Duvivier
Change-Id: I52f73943194039697da6880d2da54821b2498336
2014-04-11rename README.webm -> README.libvpxJames Zern
matches the project name and doesn't share a media file extension Change-Id: I9ad6c0a180e36c41f8fc49120615a070ea792a30
2013-10-25Updating gtest from 1.6.0 to 1.7.0.Dmitry Kovalev
This is required in order to build libvpx on OS X Mavericks where gcc compiler is deleted, clang (3.3) is the default now. Using unmodified source files from gtest-1.7.0/fused-src folder. Change-Id: I3d5f7278149c904e48737327daf7097a8bb0b390
2011-11-04fix file permissionsJames Zern
all of googletest import (0ab00a22) was marked executable Change-Id: Id7b7ee03efc21ab998bb03349bd91644e8af25da
2011-11-04Add unit test support via google testJames Berry
Change-Id: I0ab00a22fbea1f38c96ef92ef7eaeda782c0c8d3