Chris Johnson
0ffa5f9779
Merge branch 'master' into chore/fix_library_json
2019-01-03 21:13:20 -06:00
Gennadiy Civil
3880b13e4c
Merge pull request #2042 from gennadiycivil/master
...
Update Docs TestCase->TestSuite
2019-01-03 21:36:19 -05:00
Gennadiy Civil
58e62f7a98
Merge branch 'master' of https://github.com/google/googletest
2019-01-03 17:18:32 -05:00
Gennadiy Civil
5d3a2cd9c8
Update docs, TestCase->TestSuite
2019-01-03 17:18:03 -05:00
misterg
827515f8a0
Googletest export
...
Fixes #1261
PiperOrigin-RevId: 227740670
2019-01-03 16:40:27 -05:00
misterg
3a460a26b7
Googletest export
...
TestCase->TestSuite refactoring
PiperOrigin-RevId: 227702164
2019-01-03 16:40:20 -05:00
Chris
0c0ca90382
fix: Correct *_main.cc paths
2019-01-03 12:14:40 -06:00
Chris
4d62b5b9ae
fix: Remove Arduino entry points
...
Improved flexibility by removing the Arduino entry points in favor of manual calls to setup/loop that the user can call from their entry point. This is the more common use case for Arudino.
Also added the gtest/gmock_main files to the PlatformIO ignore list since we are not supporting that feature.
2019-01-03 12:12:19 -06:00
Gennadiy Civil
ac8c102dae
Update README.md
2019-01-03 11:41:41 -05:00
Gennadiy Civil
6e410a3ae9
Update README.md
2019-01-03 11:41:17 -05:00
Gennadiy Civil
8a27d164cb
Update README.md
2019-01-03 11:40:37 -05:00
Gennadiy Civil
bfcc47fc2f
Merge pull request #2026 from justin6case/example_makefile_improvements
...
Example/sample makefile improvements
2019-01-03 11:38:47 -05:00
Gennadiy Civil
1bcbd5871e
Merge pull request #2037 from ciband:chore/fix_library_json
...
PiperOrigin-RevId: 227615222
2019-01-02 21:39:36 -05:00
misterg
14c2fba734
Googletest export
...
Internal Change
PiperOrigin-RevId: 227575279
2019-01-02 16:51:40 -05:00
Abseil Team
f8b1c1af17
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
933e5df283
Merge pull request #2039 from gennadiycivil/master
...
Remove outdated scripts
2019-01-02 16:23:06 -05:00
Gennadiy Civil
8ed34e0f6b
Remove outdated scripts
2019-01-02 16:03:50 -05:00
Gennadiy Civil
2ace910a35
Revert "test, please ignore"
...
This reverts commit 4665eee10a1d495aec9970fddf6231cf2339b1b7.
2019-01-02 16:02:34 -05:00
Gennadiy Civil
25905b9f9a
Merge branch 'master' of https://github.com/google/googletest
2019-01-02 15:49:22 -05:00
Chris
de99386b67
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
6d5ce40d4c
fix: Add additional source and include directories.
...
This is still a work in progress.
2018-12-29 12:57:04 -06:00
Gennadiy Civil
3bedb5a9fc
Merge pull request #2035 from syohex/update-xcode-project-file
...
Update Xcode project file
2018-12-28 11:21:32 -05:00
Syohei YOSHIDA
0cf2130c0b
Update Xcode project file
...
Remove files which no longer exist.
2018-12-28 13:23:44 +09:00
Ryohei Machida
6729a13611
Merge #2002
...
PiperOrigin-RevId: 227030722
2018-12-27 15:31:14 -05:00
Gennadiy Civil
77004096e8
Update README.md
2018-12-27 12:04:11 -05:00
Gennadiy Civil
16269ae2f8
Merge pull request #2027 from ciband:chore/fix_library_json
...
PiperOrigin-RevId: 227028806
2018-12-27 11:52:54 -05:00
Chris Johnson
c0ef2cbe42
fix: Correct GitHub paths
2018-12-21 12:44:54 -06:00
Gennadiy Civil
1506131665
Update README.md
2018-12-21 13:24:39 -05:00
Gennadiy Civil
4160336cb4
Merge pull request #2013 from ciband:chore/fix_library_json
...
PiperOrigin-RevId: 226493373
2018-12-21 11:30:27 -05:00
Abseil Team
34a99e547a
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
b93a13ec4d
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
a83cc11abe
Googletest export
...
Add public entry point testing::RegisterTest.
PiperOrigin-RevId: 226350937
2018-12-20 14:09:52 -05:00
Abseil Team
9494c45e75
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
e26a3fa13c
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
9ab640ce5e
Googletest export
...
Suppress C4503 for MCVS , again
PiperOrigin-RevId: 225895719
2018-12-17 17:57:39 -05:00
misterg
7515e39943
Googletest export
...
Suppress C4503 for MCVS
PiperOrigin-RevId: 225871050
2018-12-17 15:37:31 -05:00
Gennadiy Civil
85c4172ed6
Update README.md
...
Update build badge to point to the correct location
2018-12-17 14:03:51 -05:00
misterg
ed3f9bb229
Googletest export
...
Internal Change
PiperOrigin-RevId: 225849972
2018-12-17 13:53:46 -05:00
Abseil Team
b7dd66519f
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
1ec20f87e3
Googletest export
...
Allow container matchers to accept move-only containers.
PiperOrigin-RevId: 225667441
2018-12-17 13:53:33 -05:00
Abseil Team
096fb37a19
Googletest export
...
Replace pump'd code for DoAll with variadic templates.
PiperOrigin-RevId: 225584656
2018-12-17 13:53:26 -05:00
Chris
0f698c830f
chore: Add .vs to .gitignore for Visual Studio
2018-12-15 13:32:19 -06:00
Chris
1496f73cc4
fix: correct JSON syntax
2018-12-15 13:31:56 -06:00
Gennadiy Civil
b5f5c596a9
Merge pull request #2000 from ciband:feat/add_support_platformio
...
PiperOrigin-RevId: 225552792
2018-12-14 13:54:43 -05:00
Abseil Team
c6cb7e0335
Googletest export
...
Support skipped in XML and JSON output
PiperOrigin-RevId: 225386540
2018-12-13 16:00:21 -05:00
misterg
81f0026066
Googletest export
...
Internal Change
PiperOrigin-RevId: 225231727
2018-12-13 16:00:11 -05:00
Gennadiy Civil
3949c403c0
Update README.md
...
point build badge back to proper repo path
2018-12-13 14:04:11 -05:00
Abseil Team
6ef5913813
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
b545089f51
Merge pull request #2004 from cotsog/patch-1
...
Cache gcc and clang APT packages
2018-12-12 09:16:43 -05:00
Dominic Jodoin
3b1f43c2e7
Use if statements
2018-12-12 00:01:07 -05:00
Dominic Jodoin
fc0f926768
Don't cache APT packages on OS X/macOS
2018-12-11 23:58:13 -05:00
Dominic Jodoin
ea5e941d84
Change directory ownership earlier
2018-12-11 22:50:17 -05:00
misterg
6cbd3753dc
Googletest export
...
rollback of 224929783
PiperOrigin-RevId: 225008559
2018-12-11 11:36:30 -05:00
Abseil Team
06bb8d4d6d
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
b5c08cb9f4
Cache gcc and clang APT packages
2018-12-10 12:58:45 -05:00
Chris Johnson
31eb5e9b87
chore: Update version to latest release
2018-12-07 12:24:01 -06:00
Chris Johnson
d9251df849
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
39c09043b8
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
695cf7c962
Merge pull request #1997 from gpakosz:GTEST_IS_THREADSAFE
...
PiperOrigin-RevId: 224054240
2018-12-05 11:44:05 -05:00
Chris Johnson
2c8ab3f18b
feat: Add initial support for PlatformIO and Arduino
2018-12-04 21:44:39 -06:00
Gennadiy Civil
fe14e30307
Merge pull request #1995 from siddhanjay/patch-1
...
Fixed typo
2018-12-04 10:02:31 -05:00
Abseil Team
3d71ab4c37
Googletest export
...
Deduce SizeType for SizeIs() from the return value of the size() member function
PiperOrigin-RevId: 223835674
2018-12-04 09:45:03 -05:00
Gregory Pakosz
067aa4c28b
Do not define GTEST_IS_THREADSAFE within GTEST_HAS_SEH
2018-12-04 14:47:24 +01:00
misterg
3fd66989bb
Googletest export
...
Fix bazel issue
PiperOrigin-RevId: 223829127
2018-12-03 14:22:48 -05:00
Gennadiy Civil
214521a148
Update WORKSPACE
...
Need this for bazel change
2018-12-03 14:18:47 -05:00
Gennadiy Civil
a28a71ae41
Update README.md
2018-12-03 14:04:04 -05:00
Gennadiy Civil
10e82d01d9
Update README.md
...
Fix build icon location
2018-12-03 14:00:02 -05:00
misterg
ba344cbc40
Googletest export
...
Fix bazel issue
PiperOrigin-RevId: 223823930
2018-12-03 13:58:20 -05:00
Abseil Team
26743363be
Googletest export
...
Applied fixes for ClangTidy modernize-use-override and modernize-use-using.
PiperOrigin-RevId: 223800219
2018-12-03 12:54:11 -05:00
Abseil Team
a42cdf2abd
Googletest export
...
Replace pump'd Args() matcher with variadic templates.
PiperOrigin-RevId: 223794430
2018-12-03 12:54:02 -05:00
Siddhanjay Godre
775a176312
Fixed typo
2018-12-04 01:29:36 +08:00
durandal
8fbf9d16a6
Googletest export
...
Fix: remove two added testcases that depend on gmock; I'll put them back later in a way that doesn't break the build.
PiperOrigin-RevId: 223227562
2018-11-28 23:10:23 -05:00
durandal
b22d23667b
Googletest export
...
Accept gmock matchers in EXPECT_EXIT and friends to allow matches other than simple regex matches on death output.
PiperOrigin-RevId: 223035409
2018-11-28 23:10:17 -05:00
Gennadiy Civil
191f9336bc
Merge pull request #1977 from lukasm91:issue_1955_remove_pthread_flags
...
PiperOrigin-RevId: 222861732
2018-11-26 16:38:13 -05:00
misterg
fca458cab7
Googletest export
...
Internal Change
PiperOrigin-RevId: 222412033
2018-11-26 16:38:00 -05:00
Gennadiy Civil
915f6cfef3
Update .travis.yml
2018-11-26 16:21:03 -05:00
Gennadiy Civil
5404fd7d06
Update .travis.yml
2018-11-26 16:06:40 -05:00
Gennadiy Civil
2f126c74d2
Update .travis.yml
2018-11-26 16:00:24 -05:00
Gennadiy Civil
87589af5ba
Update .travis.yml
2018-11-26 15:44:23 -05:00
Gennadiy Civil
28a3261fdf
Create CODE_OF_CONDUCT.md
2018-11-26 13:44:23 -05:00
Lukas Mosimann
ce526b8700
Issue #1955 : Remove THREADS_PREFER_PTHREAD_FLAG
2018-11-22 08:19:56 +01:00
Gennadiy Civil
3cf8f514d8
Update build badge
2018-11-20 15:00:35 -05:00
misterg
a3013cceff
Googletest export
...
Fix broken OSS build
PiperOrigin-RevId: 222244158
2018-11-20 13:30:32 -05:00
Abseil Team
f7779eb3cb
Googletest export
...
Remove unintended dependency.
PiperOrigin-RevId: 222243874
2018-11-20 13:30:24 -05:00
Abseil Team
64368e0584
Googletest export
...
Remove redundant Base/Derived types.
PiperOrigin-RevId: 222243634
2018-11-20 13:30:16 -05:00
misterg
bb7c0ecbdf
Googletest export
...
Silence C4100 msvc warning
PiperOrigin-RevId: 222242329
2018-11-20 13:30:06 -05:00
misterg
b492666068
Googletest export
...
Internal Change
PiperOrigin-RevId: 222123106
2018-11-20 13:29:55 -05:00
Abseil Team
c2989fe29b
Googletest export
...
Add stringization based tests for gmock-pp.h macros
PiperOrigin-RevId: 221961835
2018-11-20 13:29:47 -05:00
Abseil Team
5dab7be70d
Googletest export
...
Validate spec modifiers.
PiperOrigin-RevId: 221810235
2018-11-20 13:29:40 -05:00
Abseil Team
45d66d81be
Googletest export
...
Point IWYU at an existent path.
PiperOrigin-RevId: 221797154
2018-11-20 13:29:32 -05:00
durandal
8e86f67261
Googletest export
...
Move the Matcher<T> interface to googletest so I can use it to extend death test regex matching in a subsequent change.
PiperOrigin-RevId: 221675910
2018-11-20 13:29:20 -05:00
Abseil Team
aac18185eb
Googletest export
...
Upgrade WithArgs family of actions to C++11.
PiperOrigin-RevId: 221671690
2018-11-20 13:29:12 -05:00
Abseil Team
e46e87bb1f
Googletest export
...
Unify implementation of GMOCK_PP_REPEAT and GMOCK_PP_FOREACH.
PiperOrigin-RevId: 221659669
2018-11-20 13:29:02 -05:00
Abseil Team
c5f08bf919
Googletest export
...
One macro to rule them all.
PiperOrigin-RevId: 221462515
2018-11-15 16:11:19 -05:00
Gennadiy Civil
d5932506d6
Merge pull request #1961 from coppered/patch-1
...
Update README.md
2018-11-13 21:13:21 -05:00
Gennadiy Civil
7a0680dc22
Merge pull request #1959 from robinlinden:remove-msvc-workarounds
...
PiperOrigin-RevId: 221356626
2018-11-13 21:10:42 -05:00
Gennadiy Civil
09beafcd1d
Merge branch 'master' into patch-1
2018-11-13 10:52:25 -05:00
Abseil Team
b18d39bd2e
Googletest export
...
Include type_traits header
ElementsAre, UnorderedElementsAre, AllOf, and AnyOf are all defined in terms of std::decay, which is in the type_traits header.
PiperOrigin-RevId: 220818637
2018-11-13 09:20:47 -05:00
Oleksandr Dyakov
1454f301c5
Update README.md
...
added -std=c++11
2018-11-13 02:29:46 +01:00
Robin Lindén
4802133690
Add back warning suppression that shouldn't have been removed
2018-11-10 16:14:19 +01:00