diff options
author | misterg <misterg@google.com> | 2018-10-08 15:56:57 (GMT) |
---|---|---|
committer | Gennadiy Civil <misterg@google.com> | 2018-10-08 21:07:05 (GMT) |
commit | 4ac07de8de545c8e907d3de273228de814f9c999 (patch) | |
tree | b97078be6bc4e6858e33854be708ed15f2031340 /googlemock/test/gmock-matchers_test.cc | |
parent | 27c86f29417e53a622a2902baab2d1d82dafc5f9 (diff) | |
download | googletest-4ac07de8de545c8e907d3de273228de814f9c999.zip googletest-4ac07de8de545c8e907d3de273228de814f9c999.tar.gz googletest-4ac07de8de545c8e907d3de273228de814f9c999.tar.bz2 |
Fixing AllOfMatches test, where it properly belongs
PiperOrigin-RevId: 216193701
Diffstat (limited to 'googlemock/test/gmock-matchers_test.cc')
-rw-r--r-- | googlemock/test/gmock-matchers_test.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/googlemock/test/gmock-matchers_test.cc b/googlemock/test/gmock-matchers_test.cc index c38be99..6d43234 100644 --- a/googlemock/test/gmock-matchers_test.cc +++ b/googlemock/test/gmock-matchers_test.cc @@ -2553,6 +2553,14 @@ TEST(AllOfTest, MatchesWhenAllMatch) { Ne(8), Ne(9))); AllOfMatches(10, AllOf(Ne(1), Ne(2), Ne(3), Ne(4), Ne(5), Ne(6), Ne(7), Ne(8), Ne(9), Ne(10))); + AllOfMatches( + 50, AllOf(Ne(1), Ne(2), Ne(3), Ne(4), Ne(5), Ne(6), Ne(7), Ne(8), Ne(9), + Ne(10), Ne(11), Ne(12), Ne(13), Ne(14), Ne(15), Ne(16), Ne(17), + Ne(18), Ne(19), Ne(20), Ne(21), Ne(22), Ne(23), Ne(24), Ne(25), + Ne(26), Ne(27), Ne(28), Ne(29), Ne(30), Ne(31), Ne(32), Ne(33), + Ne(34), Ne(35), Ne(36), Ne(37), Ne(38), Ne(39), Ne(40), Ne(41), + Ne(42), Ne(43), Ne(44), Ne(45), Ne(46), Ne(47), Ne(48), Ne(49), + Ne(50))); } @@ -2608,14 +2616,6 @@ TEST(AllOfTest, CanDescribeNegation) { AllOf(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11); EXPECT_THAT(Describe(m), EndsWith("and (isn't equal to 11)")); AllOfMatches(11, m); - AllOfMatches( - 50, AllOf(Ne(1), Ne(2), Ne(3), Ne(4), Ne(5), Ne(6), Ne(7), Ne(8), Ne(9), - Ne(10), Ne(11), Ne(12), Ne(13), Ne(14), Ne(15), Ne(16), Ne(17), - Ne(18), Ne(19), Ne(20), Ne(21), Ne(22), Ne(23), Ne(24), Ne(25), - Ne(26), Ne(27), Ne(28), Ne(29), Ne(30), Ne(31), Ne(32), Ne(33), - Ne(34), Ne(35), Ne(36), Ne(37), Ne(38), Ne(39), Ne(40), Ne(41), - Ne(42), Ne(43), Ne(44), Ne(45), Ne(46), Ne(47), Ne(48), Ne(49), - Ne(50))); } // Tests that monomorphic matchers are safely cast by the AllOf matcher. |