Commit Graph
44 Commits
Author SHA1 Message Date
Melroy van den Berg f2d71f0be2 Let me give a change to try it again - updating to latest version 2022-01-25 22:45:24 +01:00
Jeremy Nimmer 155de14cd8 Use GTEST_DONT_DEFINE_TEST_F to guard TEST_F
The documentation is clear that the FOO we'll be guarding always matches
the spelling of the DONT macro.  A single guard macro should not toggle
more than one implementation macro.

This fixes a regression in 7413280c52.

Relatedly, improve the documentation of the DONT macros to bring the
list of valid FOO values up to date.
2021-07-01 11:48:36 -07:00
Hyuk Myeong 1745a405eb fix typos 2021-06-13 19:53:04 +09:00
Andy Soffer 23ef29555e Merge pull request #3314 from Vollstrecker:master
PiperOrigin-RevId: 369550590
2021-04-21 10:24:41 -04:00
Vollstrecker 8043818e1b Use URL instead of git-repo 2021-04-20 10:09:33 +02:00
Vollstrecker c79eb87c11 Mention to explicitely set the option to it's default. 2021-04-14 23:13:01 +02:00
Vollstrecker 38c316fc5c Changes like Requested. 2021-04-14 14:58:03 +02:00
Dino Radaković ec7fa96f29 Merge pull request #3158 from GauthamBanasandra:patch-1
PiperOrigin-RevId: 367681693
2021-04-12 20:14:10 -07:00
Vollstrecker 5065389aab Use Fetchcontent instead of ExternalProject
Hi,

instead of ExternalProject and a new file that is spawned in a new process, it's easier to just use FetchContent. cmake 3.14 should be old enough to be spread.
2021-03-13 16:58:42 +01:00
Corentin Musard e6e2f3f455 Simplify cmake install file 2021-01-11 19:05:45 +01:00
Derek Mauro 389cb68b87 Merge pull request #3094 from chuckatkins:update-deprecated-cmake-version
PiperOrigin-RevId: 349296827
2020-12-28 13:32:06 -05:00
Gautham B A 626ce00bef Fix typo 2020-12-05 16:11:09 +05:30
Andy Getz fb98f7447e Merge pull request #3008 from hyukmyeong:update_tutorial
PiperOrigin-RevId: 340286884
2020-11-02 22:26:39 -05:00
Chuck Atkins 32f4f52d95 Bump CMake minimum to 2.8.12 2020-10-30 11:31:54 -04:00
Hyuk Myeong 242ee2720c Remove spaces between Google Test and Google Mock 2020-09-16 01:33:41 +09:00
Hyuk Myeong 5afcb3ca4d Add follow-up patch for more natural reading 2020-09-15 21:31:07 +09:00
Hyuk Myeong 2d1a18ff3a Apply the reviewed comment 2020-09-15 21:15:43 +09:00
Hyuk Myeong 32437f41ec Remove a space 2020-09-15 02:30:34 +09:00
Hyuk Myeong 7aae2ac34c Improve the tutorial that may be confusing 2020-09-15 02:18:53 +09:00
Krystian Kuzniarek c378d7eb93 remove a dead reference to the Autotools script 2020-01-29 11:42:59 +01:00
vslashg 1110c471ca Merge pull request #2522 from cloudrex:patch-1
PiperOrigin-RevId: 276271201
2019-10-23 13:35:36 -04:00
λtlas f164a9e23c Remove extra space 2019-10-19 11:46:52 -04:00
Gennadiy Civil b77e5c7625 Manual docs tweaks still in preparation for including docs with code pushes 2019-07-18 15:27:51 -04:00
Gennadiy Civil 6b8c138154 Removing make and automake. The only supported build systems are Bazel internally and CMake community supported 2019-06-13 13:49:42 -04:00
Gennadiy Civil af4c2cb098 Formatting Changes 2019-06-12 13:23:06 -04:00
Billy SU 1c23efb424 Fix README.md broken link
Fix the **include/gtest/internal/gtest-port.h** link in the `Tweaking Google Test` title
2019-01-31 08:23:15 +08:00
Oleksandr Dyakov 1454f301c5 Update README.md
added -std=c++11
2018-11-13 02:29:46 +01:00
Jeff VanDyke c45631823c Change CMake googletest download location in docs
Change CMAKE_BINARY_DIR to CMAKE_CURRENT_BINARY_DIR
Able to use in a subfolder's CMakeLists.txt
2018-10-24 16:41:14 -04:00
Joel Anderson 9b637237bd add documentation of manual c++11 specification
Per #1883, builds of Google Test may fail if the version C++ is not manually
set to C++11 during the build process.

Signed-off-by: Joel Anderson <joelanderson333@gmail.com>
2018-10-23 20:28:43 -04:00
Gennadiy Civil abc803e288 Update README.md 2018-09-13 17:23:21 -04:00
Arkady Shapkin de9675986f Update documentation to syntax highlight code 2018-09-03 21:56:23 +03:00
Gennadiy Civil 025f48f89b Sync with internal docs 2018-06-11 16:11:55 -04:00
Gennadiy Civil 95a96e1c1d Sync with internal docs 2018-06-11 13:12:14 -04:00
Carlos O'Ryan 23a014ab57 Refactor docs about contributions to CONTRIBUTING.md.
Per the review comments.
2017-12-11 19:33:27 -05:00
Gennadiy Civil c208d8df23 Merge branch 'master' into master 2017-10-20 17:25:41 -04:00
Joe Alam 4597ec587c Updated README with information about C runtime dynamic/static linking issues in Windows 2017-10-07 23:34:53 +01:00
Che-Hsun Liu 509f7fe840 Update googletest README.md
Use `EXCLUDE_FROM_ALL` in `add_subdirectory` to prevent `make install` from including lots of headers from gtest/gmock.
```
add_subdirectory(${CMAKE_BINARY_DIR}/googletest-src
                 ${CMAKE_BINARY_DIR}/googletest-build
                 EXCLUDE_FROM_ALL)
```
2017-07-02 20:19:03 +08:00
Craig Scott cb502b7ad1 Added CMake configure-time download instructions to docs
Adds instructions for how to add gtest and gmock to
another CMake project directly. Downloading of the
googletest sources happens as configure time, allowing
it to be added to the main build directly via the
add_subdirectory() command. This ensures googletest is
built with the same compiler settings, etc. and will
typically result in a more robust and more convenient
build arrangement.
2016-12-18 09:01:27 +11:00
Paul Wilkinson 83d3b47acf Fix formatting in AdvancedGuide.md
Put occurrences of "#include" in a code span so they are not interpreted
as headers.

Other documents were not broken because the #include was not at the
start of the line, but put them in code spans anyway just in case the
text gets refilled in the future.
2016-02-21 15:52:09 +00:00
Anurag Soni 788dee904d update googletest readme to fix broken links 2015-10-19 11:46:46 -04:00
Billy Donahue 23bd6d8a9b readme merging 2015-08-30 12:36:37 -04:00
Billy Donahue 3f4e79b999 readme merging 2015-08-26 21:45:10 -04:00
Billy Donahue 37b5c297cf readme merging 2015-08-26 18:28:20 -04:00
Billy Donahue 1f87a0970d Move everything in googletest into googletest/googletest 2015-08-25 16:18:00 -04:00