Commit Graph

2601 Commits

Author SHA1 Message Date
Gennadiy Civil
4d41005af2 Merge pull request #2026 from justin6case/example_makefile_improvements
Example/sample makefile improvements
2019-01-03 11:38:47 -05:00
Gennadiy Civil
c8670a646b Merge pull request #2037 from ciband:chore/fix_library_json
PiperOrigin-RevId: 227615222
2019-01-02 21:39:36 -05:00
misterg
92feb4d617 Googletest export
Internal Change

PiperOrigin-RevId: 227575279
2019-01-02 16:51:40 -05:00
Abseil Team
cb1ea717e7 Googletest export
Remove the #ifs for old, unsupported and buggy compilers:
* old versions of GCC & MSVC
* Symbian

PiperOrigin-RevId: 227116941
2019-01-02 16:51:33 -05:00
Gennadiy Civil
fa932da32c Merge pull request #2039 from gennadiycivil/master
Remove outdated scripts
2019-01-02 16:23:06 -05:00
Gennadiy Civil
58773fddc9 Remove outdated scripts 2019-01-02 16:03:50 -05:00
Gennadiy Civil
0df5bb4e75 Revert "test, please ignore"
This reverts commit 4665eee10a.
2019-01-02 16:02:34 -05:00
Gennadiy Civil
572992fd01 Merge branch 'master' of https://github.com/google/googletest 2019-01-02 15:49:22 -05:00
Chris
ed5c9db012 Merge branch 'chore/fix_library_json' of https://github.com/ciband/googletest into chore/fix_library_json 2018-12-29 12:57:33 -06:00
Chris
06873c4125 fix: Add additional source and include directories.
This is still a work in progress.
2018-12-29 12:57:04 -06:00
Gennadiy Civil
1c1007b4d9 Merge pull request #2035 from syohex/update-xcode-project-file
Update Xcode project file
2018-12-28 11:21:32 -05:00
Syohei YOSHIDA
c57f579557 Update Xcode project file
Remove files which no longer exist.
2018-12-28 13:23:44 +09:00
Ryohei Machida
1fa32f72a8 Merge #2002
PiperOrigin-RevId: 227030722
2018-12-27 15:31:14 -05:00
Gennadiy Civil
7bc5f845d3 Update README.md 2018-12-27 12:04:11 -05:00
Gennadiy Civil
08c2388f9a Merge pull request #2027 from ciband:chore/fix_library_json
PiperOrigin-RevId: 227028806
2018-12-27 11:52:54 -05:00
Chris Johnson
a77bcf110a fix: Correct GitHub paths 2018-12-21 12:44:54 -06:00
Gennadiy Civil
136913ef22 Update README.md 2018-12-21 13:24:39 -05:00
Gennadiy Civil
2667a13253 Merge pull request #2013 from ciband:chore/fix_library_json
PiperOrigin-RevId: 226493373
2018-12-21 11:30:27 -05:00
Abseil Team
9162c72aeb Googletest export
Get rid of code generation for NiceMock / StrictMock.
They got small enough that it doesn't make sense to generate them.

PiperOrigin-RevId: 226455689
2018-12-21 11:30:20 -05:00
Case, Matt
9793b2ae13 Improvements have been made to the example/sample makefiles for both googlemock
and googletest.
Library files are now created and named like versions produced
by Cmake.
2018-12-20 20:58:56 -06:00
Abseil Team
cd8400d7ce Googletest export
Add public entry point testing::RegisterTest.

PiperOrigin-RevId: 226350937
2018-12-20 14:09:52 -05:00
Abseil Team
fd2d6ad71b Googletest export
Use std::function to implement type erasure in Action, wrapping the legacy
ActionInterface if necessary.

This makes functors / std::function the primary way to implement Action; the
existing ActionInterface implementations are handled through ActionAdaptor.
The existing actions are not (yet) migrated though; they'll pay the cost of one
additional indirection - but that should be negligible.

PiperOrigin-RevId: 226126137
2018-12-20 14:09:39 -05:00
Abseil Team
4645a8b271 Googletest export
Unifdef c++11-related macros from googletest now that it requires C++11.

PiperOrigin-RevId: 225905601
2018-12-20 14:09:31 -05:00
misterg
1290dc93f3 Googletest export
Suppress C4503 for MCVS , again

PiperOrigin-RevId: 225895719
2018-12-17 17:57:39 -05:00
misterg
40d846897d Googletest export
Suppress C4503 for MCVS

PiperOrigin-RevId: 225871050
2018-12-17 15:37:31 -05:00
Gennadiy Civil
0a8b3eb3d6 Update README.md
Update build badge to point to the correct location
2018-12-17 14:03:51 -05:00
misterg
d7445e77d8 Googletest export
Internal Change

PiperOrigin-RevId: 225849972
2018-12-17 13:53:46 -05:00
Abseil Team
592a6c675d Googletest export
Remove GTEST_REFERENCE_TO_CONST_ usage from GMock. In C++11, it's redundant.

PiperOrigin-RevId: 225719210
2018-12-17 13:53:39 -05:00
Abseil Team
a59a5353aa Googletest export
Allow container matchers to accept move-only containers.

PiperOrigin-RevId: 225667441
2018-12-17 13:53:33 -05:00
Abseil Team
57df34d6f2 Googletest export
Replace pump'd code for DoAll with variadic templates.

PiperOrigin-RevId: 225584656
2018-12-17 13:53:26 -05:00
Chris
a2995d7618 chore: Add .vs to .gitignore for Visual Studio 2018-12-15 13:32:19 -06:00
Chris
25df705381 fix: correct JSON syntax 2018-12-15 13:31:56 -06:00
Gennadiy Civil
56b0a0a840 Merge pull request #2000 from ciband:feat/add_support_platformio
PiperOrigin-RevId: 225552792
2018-12-14 13:54:43 -05:00
Abseil Team
641ed7cca4 Googletest export
Support skipped in XML and JSON output

PiperOrigin-RevId: 225386540
2018-12-13 16:00:21 -05:00
misterg
91e68fcef0 Googletest export
Internal Change

PiperOrigin-RevId: 225231727
2018-12-13 16:00:11 -05:00
Gennadiy Civil
fec4f82959 Update README.md
point build badge back to proper repo path
2018-12-13 14:04:11 -05:00
Abseil Team
97bce1c9cc Googletest export
The gmock matchers have a concept of MatchAndExpain; where the details of the
matching are written to a "result listener". A matcher can avoid creating
expensive debug info by checking result_listener->IsInterested(); but,
unfortunately, the default matcher code (called from EXPECT_THAT) is always
"interested".

This change implements EXPECT_THAT matching to first run the matcher in a "not
interested" mode; and then run it a second time ("interested") only if the
match fails.

PiperOrigin-RevId: 225036073
2018-12-12 11:54:22 -05:00
Gennadiy Civil
84e8c236f8 Merge pull request #2004 from cotsog/patch-1
Cache gcc and clang APT packages
2018-12-12 09:16:43 -05:00
Dominic Jodoin
8f28dd775e Use if statements 2018-12-12 00:01:07 -05:00
Dominic Jodoin
8a359b58f4 Don't cache APT packages on OS X/macOS 2018-12-11 23:58:13 -05:00
Dominic Jodoin
a97b5e79b0 Change directory ownership earlier 2018-12-11 22:50:17 -05:00
misterg
7a01807a11 Googletest export
rollback of 224929783

PiperOrigin-RevId: 225008559
2018-12-11 11:36:30 -05:00
Abseil Team
e9a14888cf Googletest export
The gmock matchers have a concept of MatchAndExpain; where the details of the
matching are written to a "result listener". A matcher can avoid creating
expensive debug info by checking result_listener->IsInterested(); but,
unfortunately, the default matcher code (called from EXPECT_THAT) is always
"interested".

This change implements EXPECT_THAT matching to first run the matcher in a "not
interested" mode; and then run it a second time ("interested") only if the
match fails.

PiperOrigin-RevId: 224929783
2018-12-11 10:11:01 -05:00
Dominic Jodoin
7d39774bbb Cache gcc and clang APT packages 2018-12-10 12:58:45 -05:00
Chris Johnson
bcaf46a630 chore: Update version to latest release 2018-12-07 12:24:01 -06:00
Chris Johnson
e732e37c71 fix: Remove global chmod from Travis
Removed global chmod +x for Travis scripts in favor of just applying it to PlatformIO builds.
2018-12-06 15:26:28 -06:00
Chris Johnson
66b9a6018e chore: Add initial library.json config
Added initial library.json config for PlatformIO

Version will be synced to proper googletest version once the PIO library has been registered and proven out round trip.
2018-12-06 12:35:06 -06:00
Gennadiy Civil
0f9cadacdb Merge pull request #1997 from gpakosz:GTEST_IS_THREADSAFE
PiperOrigin-RevId: 224054240
2018-12-05 11:44:05 -05:00
Chris Johnson
0c47500d26 feat: Add initial support for PlatformIO and Arduino 2018-12-04 21:44:39 -06:00
Gennadiy Civil
d4a3e95dd6 Merge pull request #1995 from siddhanjay/patch-1
Fixed typo
2018-12-04 10:02:31 -05:00