summaryrefslogtreecommitdiffstats
path: root/googletest/samples
Commit message (Collapse)AuthorAgeFilesLines
* Use '=default' to define trivial constructor/destructorsrefs/pull/4221/headTom Hughes2023-04-211-1/+1
| | | | | | | https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-equals-default.html PiperOrigin-RevId: 526079054 Change-Id: Ia4db21e3e5f58b90de05d52fd94b291ed06d785d
* Add missing std includesTom Hughes2023-04-201-0/+2
| | | | | PiperOrigin-RevId: 525850646 Change-Id: I64387f5b933beb79cd05636dca81b7a75213383e
* Remove unused using-declarations in sample unit testsAbseil Team2023-03-202-2/+0
| | | | | PiperOrigin-RevId: 517910369 Change-Id: I87f29fb09bc83e7d1c7cffdf267b2f691d261c26
* Fix sign conversion warning from clang:Tom Hughes2023-01-311-2/+3
| | | | | | | | | | | googletest/samples/prime_tables.h:81:57: error: implicit conversion changes signedness: 'int' to 'unsigned long' [-Werror,-Wsign-conversion] : is_prime_size_(max + 1), is_prime_(new bool[max + 1]) { ~~~ ~~~~^~~ PiperOrigin-RevId: 506065360 Change-Id: Ida4550562531012c089e2f9fcf530b3a78889fa3
* Running clang-format over all of GoogleTestAbseil Team2022-03-1516-84/+47
| | | | | | | | | | | | | | | | A few tests are examining code locations and looking af the resulting line numbers to verify that GoogleTest shows those to users correctly. Some of those locations change when clang-format is run. For those locations, I've wrapped portions in: // clang-format off ... // clang-format on There may be other locations that are currently not tickled by running clang-format. PiperOrigin-RevId: 434844712 Change-Id: I3a9f0a6f39eff741c576b6de389bef9b1d11139d
* Finish some missed pieces of the TestCase to TestSuite MigrationDerek Mauro2022-01-281-4/+4
| | | | | PiperOrigin-RevId: 424864779 Change-Id: Iac5cafa3568f5fe41c85c52d28f7d61845f76868
* Googletest exportAbseil Team2021-02-185-16/+15
| | | | | | Make include guards conform with https://google.github.io/styleguide/cppguide.html#The__define_Guard, attempt #2 PiperOrigin-RevId: 357056902
* Googletest exportAbseil Team2021-02-115-15/+16
| | | | | | Revert include guard fix PiperOrigin-RevId: 356588893
* Googletest exportAbseil Team2021-02-115-16/+15
| | | | | | Make include guards conform with https://google.github.io/styleguide/cppguide.html#The__define_Guard PiperOrigin-RevId: 355882793
* Googletest exportAbseil Team2021-02-051-7/+0
| | | | | | Remove uses of GTEST_HAS_TYPED_TEST_P and GTEST_HAS_TYPED_TEST. PiperOrigin-RevId: 353935996
* Googletest exportAbseil Team2020-02-111-3/+3
| | | | | | | | Refactor function GetNextPrime so that the loop precondition is checked before loop instead of during every loop run. Also by removing the loop condition, it shows that the only exit from the loop is the return statement. PiperOrigin-RevId: 293932783
* restore mistakenly removed iffs in their explicit formrefs/pull/2387/headKrystian Kuzniarek2019-08-203-3/+3
| | | | | Due to confusion arisen from "iff" standing for "if and only if", this commit uses the latter.
* Googletest exportmisterg2019-08-011-4/+4
| | | | | | Internal Change PiperOrigin-RevId: 260939845
* fix typosrefs/pull/2356/headKrystian Kuzniarek2019-07-303-3/+3
|
* Googletest exportmisterg2019-02-041-2/+2
| | | | | | Mark legacy _TEST_CASE_ macros as deprecated PiperOrigin-RevId: 232303251
* Googletest exportmisterg2019-01-143-12/+11
| | | | | | Change remaining samples to use new Test Suite API PiperOrigin-RevId: 229231566
* Googletest exportAbseil Team2018-12-038-25/+25
| | | | | | Applied fixes for ClangTidy modernize-use-override and modernize-use-using. PiperOrigin-RevId: 223800219
* Unconditionally use std::tuple.Abseil Team2018-10-091-23/+4
| | | | | | Remove all mention of TR1 tuple and our own implementation of tuple. PiperOrigin-RevId: 216395043
* Apply clang-tidy modernize-use-nullptr to googletest.Abseil Team2018-10-059-36/+35
| | | | | | | | | | | Now that googletest has moved to C++11, it should no longer use NULL or 0 for the null pointer. This patch converts all such usages to nullptr using clang-tidy. This prevents LLVM from issuing -Wzero-as-null-pointer-constant warnings. PiperOrigin-RevId: 215814400
* googletest exportmisterg2018-08-203-0/+18
| | | | | | - 209457486 Import of OSS PR, https://github.com/google/googletest/pu... by misterg <misterg@google.com> PiperOrigin-RevId: 209457486
* Comments changes, no functionality changesrefs/pull/1740/headGennadiy Civil2018-08-1418-41/+9
|
* Small cleanups, mergerefs/pull/1390/headGennadiy Civil2018-01-082-2/+5
|
* OSS Sync, cl 163329677refs/pull/1376/headmisterg2018-01-021-2/+6
|
* Merge branch 'master' into hethi/issue-360-remove-GTEST_HAS_PARAM_TESTSHerbert Thielen2017-09-241-1/+0
|\
| * remove unused TestCase importHerbert Thielen2017-08-291-1/+0
| |
* | remove GTEST_HAS_PARAM_TESTSHerbert Thielen2017-09-041-12/+0
|/ | | | | | | | As mentioned in issue #360: "Now that all the platforms gtest supports work with value-parameterized tests, we should remove the uses of the GTEST_HAS_PARAM_TESTS macro from the codebase everywhere." https://github.com/google/googletest/issues/360
* Merge pull request #1191 from gennadiycivil/masterGennadiy Civil2017-08-1110-28/+28
|\ | | | | Adding Bazel build to googletest (initial version )
| * Initial Revision, review 164634031misterg2017-08-101-1/+1
| |
| * Samples changes upstreamingmisterg2017-08-072-2/+2
| |
| * Samples changes upstreamingmisterg2017-08-079-18/+15
| |
| * WIPmisterg2017-08-0110-28/+31
| |
* | fix small typo in commentrefs/pull/1176/headHerbert Thielen2017-08-051-1/+1
| |
* | Fixed some typosrefs/pull/1030/headvpfautz2017-02-261-1/+1
|/
* Move everything in googletest into googletest/googletestBilly Donahue2015-08-2518-0/+2134