Merge pull request #1547 from gennadiycivil/master

Matchers testing
This commit is contained in:
Gennadiy Civil 2018-04-05 14:53:02 -04:00 committed by GitHub
commit d0905653ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 788 additions and 37 deletions

View File

@ -43,6 +43,15 @@
namespace testing {
// Silence C4100 (unreferenced formal
// parameter) for MSVC
#ifdef _MSC_VER
# pragma warning(disable:4100)
#if (_MSC_VER == 1900)
# pragma warning(disable:4800)
#endif
#endif
// Defines a matcher that matches an empty container. The container must
// support both size() and empty(), which all STL-like containers provide.
MATCHER(IsEmpty, negation ? "isn't empty" : "is empty") {

File diff suppressed because it is too large Load Diff