mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	Add AllTrue, AnyTrue, NoneTrue matchers
This commit is contained in:
		 Raphael Schaller
					Raphael Schaller
				
			
				
					committed by
					
						 Martin Hořeňovský
						Martin Hořeňovský
					
				
			
			
				
	
			
			
			 Martin Hořeňovský
						Martin Hořeňovský
					
				
			
						parent
						
							f993b702c6
						
					
				
				
					commit
					1bd233866c
				
			| @@ -271,8 +271,11 @@ Message from section two | ||||
| :test-result: FAIL Unexpected exceptions can be translated | ||||
| :test-result: PASS Upcasting special member functions | ||||
| :test-result: PASS Usage of AllMatch range matcher | ||||
| :test-result: PASS Usage of AllTrue range matcher | ||||
| :test-result: PASS Usage of AnyMatch range matcher | ||||
| :test-result: PASS Usage of AnyTrue range matcher | ||||
| :test-result: PASS Usage of NoneMatch range matcher | ||||
| :test-result: PASS Usage of NoneTrue range matcher | ||||
| :test-result: PASS Usage of the SizeIs range matcher | ||||
| :test-result: PASS Use a custom approx | ||||
| :test-result: PASS Variadic macros | ||||
|   | ||||
| @@ -264,8 +264,11 @@ | ||||
| :test-result: FAIL Unexpected exceptions can be translated | ||||
| :test-result: PASS Upcasting special member functions | ||||
| :test-result: PASS Usage of AllMatch range matcher | ||||
| :test-result: PASS Usage of AllTrue range matcher | ||||
| :test-result: PASS Usage of AnyMatch range matcher | ||||
| :test-result: PASS Usage of AnyTrue range matcher | ||||
| :test-result: PASS Usage of NoneMatch range matcher | ||||
| :test-result: PASS Usage of NoneTrue range matcher | ||||
| :test-result: PASS Usage of the SizeIs range matcher | ||||
| :test-result: PASS Use a custom approx | ||||
| :test-result: PASS Variadic macros | ||||
|   | ||||
| @@ -2013,6 +2013,25 @@ MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[1] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[2] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: !(mocked.m_derefed[3]) for: !false | ||||
| MatchersRanges.tests.cpp:<line number>: passed: !(mocked.m_derefed[4]) for: !false | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, AllTrue() for: { true, true, true, true, true } contains only true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, AllTrue() for: {  } contains only true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, !AllTrue() for: { true, true, false, true, true } not contains only true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, !AllTrue() for: { false, false, false, false, false } not contains only true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, AllTrue() for: { true, true, true, true, true } contains only true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, !AllTrue() for: { true, true, false, true, true } not contains only true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, !AllTrue() for: { false, false, false, false, false } not contains only true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked, AllTrue() for: { true, true, true, true, true } contains only true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[0] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[1] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[2] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[3] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[4] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked, !AllTrue() for: { true, true, false, true, true } not contains only true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[0] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[1] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[2] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: !(mocked.m_derefed[3]) for: !false | ||||
| MatchersRanges.tests.cpp:<line number>: passed: !(mocked.m_derefed[4]) for: !false | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, AnyMatch(SizeIs(5)) for: { { 0, 1, 2, 3, 5 }, { 4, -3, -2, 5, 0 }, { 0, 0, 0, 5, 0 }, { 0, -5, 0, 5, 0 }, { 1, 0, 0, -1, 5 } } any match has size == 5 | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, !AnyMatch(Contains(0) && Contains(10)) for: { { 0, 1, 2, 3, 5 }, { 4, -3, -2, 5, 0 }, { 0, 0, 0, 5, 0 }, { 0, -5, 0, 5, 0 }, { 1, 0, 0, -1, 5 } } not any match ( contains element 0 and contains element 10 ) | ||||
| MatchersRanges.tests.cpp:<line number>: passed: needs_adl, AnyMatch( Predicate<int>( []( int elem ) { return elem < 3; } ) ) for: { 1, 2, 3, 4, 5 } any match matches undescribed predicate | ||||
| @@ -2028,6 +2047,25 @@ MatchersRanges.tests.cpp:<line number>: passed: !(mocked.m_derefed[1]) for: !fal | ||||
| MatchersRanges.tests.cpp:<line number>: passed: !(mocked.m_derefed[2]) for: !false | ||||
| MatchersRanges.tests.cpp:<line number>: passed: !(mocked.m_derefed[3]) for: !false | ||||
| MatchersRanges.tests.cpp:<line number>: passed: !(mocked.m_derefed[4]) for: !false | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, AnyTrue() for: { true, true, true, true, true } contains at least one true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, !AnyTrue() for: {  } not contains at least one true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, AnyTrue() for: { false, false, true, false, false } contains at least one true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, !AnyTrue() for: { false, false, false, false, false } not contains at least one true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, AnyTrue() for: { true, true, true, true, true } contains at least one true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, AnyTrue() for: { false, false, true, false, false } contains at least one true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, !AnyTrue() for: { false, false, false, false, false } not contains at least one true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked, AnyTrue() for: { false, false, false, false, true } contains at least one true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[0] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[1] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[2] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[3] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[4] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked, AnyTrue() for: { false, false, true, true, true } contains at least one true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[0] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[1] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[2] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: !(mocked.m_derefed[3]) for: !false | ||||
| MatchersRanges.tests.cpp:<line number>: passed: !(mocked.m_derefed[4]) for: !false | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, NoneMatch(SizeIs(6)) for: { { 0, 1, 2, 3, 5 }, { 4, -3, -2, 5, 0 }, { 0, 0, 0, 5, 0 }, { 0, -5, 0, 5, 0 }, { 1, 0, 0, -1, 5 } } none match has size == 6 | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, !NoneMatch(Contains(0) && Contains(1)) for: { { 0, 1, 2, 3, 5 }, { 4, -3, -2, 5, 0 }, { 0, 0, 0, 5, 0 }, { 0, -5, 0, 5, 0 }, { 1, 0, 0, -1, 5 } } not none match ( contains element 0 and contains element 1 ) | ||||
| MatchersRanges.tests.cpp:<line number>: passed: needs_adl, NoneMatch( Predicate<int>( []( int elem ) { return elem > 6; } ) ) for: { 1, 2, 3, 4, 5 } none match matches undescribed predicate | ||||
| @@ -2043,6 +2081,25 @@ MatchersRanges.tests.cpp:<line number>: passed: !(mocked.m_derefed[1]) for: !fal | ||||
| MatchersRanges.tests.cpp:<line number>: passed: !(mocked.m_derefed[2]) for: !false | ||||
| MatchersRanges.tests.cpp:<line number>: passed: !(mocked.m_derefed[3]) for: !false | ||||
| MatchersRanges.tests.cpp:<line number>: passed: !(mocked.m_derefed[4]) for: !false | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, !NoneTrue() for: { true, true, true, true, true } not contains no true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, NoneTrue() for: {  } contains no true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, !NoneTrue() for: { false, false, true, false, false } not contains no true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, NoneTrue() for: { false, false, false, false, false } contains no true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, !NoneTrue() for: { true, true, true, true, true } not contains no true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, !NoneTrue() for: { false, false, true, false, false } not contains no true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, NoneTrue() for: { false, false, false, false, false } contains no true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked, NoneTrue() for: { false, false, false, false, false } contains no true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[0] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[1] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[2] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[3] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[4] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked, !NoneTrue() for: { false, false, true, true, true } not contains no true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[0] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[1] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[2] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: !(mocked.m_derefed[3]) for: !false | ||||
| MatchersRanges.tests.cpp:<line number>: passed: !(mocked.m_derefed[4]) for: !false | ||||
| MatchersRanges.tests.cpp:<line number>: passed: empty_vec, SizeIs(0) for: {  } has size == 0 | ||||
| MatchersRanges.tests.cpp:<line number>: passed: empty_vec, !SizeIs(2) for: {  } not has size == 2 | ||||
| MatchersRanges.tests.cpp:<line number>: passed: empty_vec, SizeIs(Lt(2)) for: {  } size matches is less than 2 | ||||
|   | ||||
| @@ -2006,6 +2006,25 @@ MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[1] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[2] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: !(mocked.m_derefed[3]) for: !false | ||||
| MatchersRanges.tests.cpp:<line number>: passed: !(mocked.m_derefed[4]) for: !false | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, AllTrue() for: { true, true, true, true, true } contains only true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, AllTrue() for: {  } contains only true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, !AllTrue() for: { true, true, false, true, true } not contains only true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, !AllTrue() for: { false, false, false, false, false } not contains only true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, AllTrue() for: { true, true, true, true, true } contains only true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, !AllTrue() for: { true, true, false, true, true } not contains only true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, !AllTrue() for: { false, false, false, false, false } not contains only true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked, AllTrue() for: { true, true, true, true, true } contains only true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[0] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[1] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[2] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[3] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[4] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked, !AllTrue() for: { true, true, false, true, true } not contains only true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[0] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[1] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[2] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: !(mocked.m_derefed[3]) for: !false | ||||
| MatchersRanges.tests.cpp:<line number>: passed: !(mocked.m_derefed[4]) for: !false | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, AnyMatch(SizeIs(5)) for: { { 0, 1, 2, 3, 5 }, { 4, -3, -2, 5, 0 }, { 0, 0, 0, 5, 0 }, { 0, -5, 0, 5, 0 }, { 1, 0, 0, -1, 5 } } any match has size == 5 | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, !AnyMatch(Contains(0) && Contains(10)) for: { { 0, 1, 2, 3, 5 }, { 4, -3, -2, 5, 0 }, { 0, 0, 0, 5, 0 }, { 0, -5, 0, 5, 0 }, { 1, 0, 0, -1, 5 } } not any match ( contains element 0 and contains element 10 ) | ||||
| MatchersRanges.tests.cpp:<line number>: passed: needs_adl, AnyMatch( Predicate<int>( []( int elem ) { return elem < 3; } ) ) for: { 1, 2, 3, 4, 5 } any match matches undescribed predicate | ||||
| @@ -2021,6 +2040,25 @@ MatchersRanges.tests.cpp:<line number>: passed: !(mocked.m_derefed[1]) for: !fal | ||||
| MatchersRanges.tests.cpp:<line number>: passed: !(mocked.m_derefed[2]) for: !false | ||||
| MatchersRanges.tests.cpp:<line number>: passed: !(mocked.m_derefed[3]) for: !false | ||||
| MatchersRanges.tests.cpp:<line number>: passed: !(mocked.m_derefed[4]) for: !false | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, AnyTrue() for: { true, true, true, true, true } contains at least one true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, !AnyTrue() for: {  } not contains at least one true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, AnyTrue() for: { false, false, true, false, false } contains at least one true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, !AnyTrue() for: { false, false, false, false, false } not contains at least one true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, AnyTrue() for: { true, true, true, true, true } contains at least one true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, AnyTrue() for: { false, false, true, false, false } contains at least one true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, !AnyTrue() for: { false, false, false, false, false } not contains at least one true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked, AnyTrue() for: { false, false, false, false, true } contains at least one true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[0] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[1] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[2] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[3] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[4] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked, AnyTrue() for: { false, false, true, true, true } contains at least one true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[0] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[1] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[2] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: !(mocked.m_derefed[3]) for: !false | ||||
| MatchersRanges.tests.cpp:<line number>: passed: !(mocked.m_derefed[4]) for: !false | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, NoneMatch(SizeIs(6)) for: { { 0, 1, 2, 3, 5 }, { 4, -3, -2, 5, 0 }, { 0, 0, 0, 5, 0 }, { 0, -5, 0, 5, 0 }, { 1, 0, 0, -1, 5 } } none match has size == 6 | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, !NoneMatch(Contains(0) && Contains(1)) for: { { 0, 1, 2, 3, 5 }, { 4, -3, -2, 5, 0 }, { 0, 0, 0, 5, 0 }, { 0, -5, 0, 5, 0 }, { 1, 0, 0, -1, 5 } } not none match ( contains element 0 and contains element 1 ) | ||||
| MatchersRanges.tests.cpp:<line number>: passed: needs_adl, NoneMatch( Predicate<int>( []( int elem ) { return elem > 6; } ) ) for: { 1, 2, 3, 4, 5 } none match matches undescribed predicate | ||||
| @@ -2036,6 +2074,25 @@ MatchersRanges.tests.cpp:<line number>: passed: !(mocked.m_derefed[1]) for: !fal | ||||
| MatchersRanges.tests.cpp:<line number>: passed: !(mocked.m_derefed[2]) for: !false | ||||
| MatchersRanges.tests.cpp:<line number>: passed: !(mocked.m_derefed[3]) for: !false | ||||
| MatchersRanges.tests.cpp:<line number>: passed: !(mocked.m_derefed[4]) for: !false | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, !NoneTrue() for: { true, true, true, true, true } not contains no true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, NoneTrue() for: {  } contains no true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, !NoneTrue() for: { false, false, true, false, false } not contains no true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, NoneTrue() for: { false, false, false, false, false } contains no true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, !NoneTrue() for: { true, true, true, true, true } not contains no true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, !NoneTrue() for: { false, false, true, false, false } not contains no true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: data, NoneTrue() for: { false, false, false, false, false } contains no true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked, NoneTrue() for: { false, false, false, false, false } contains no true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[0] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[1] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[2] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[3] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[4] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked, !NoneTrue() for: { false, false, true, true, true } not contains no true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[0] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[1] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: mocked.m_derefed[2] for: true | ||||
| MatchersRanges.tests.cpp:<line number>: passed: !(mocked.m_derefed[3]) for: !false | ||||
| MatchersRanges.tests.cpp:<line number>: passed: !(mocked.m_derefed[4]) for: !false | ||||
| MatchersRanges.tests.cpp:<line number>: passed: empty_vec, SizeIs(0) for: {  } has size == 0 | ||||
| MatchersRanges.tests.cpp:<line number>: passed: empty_vec, !SizeIs(2) for: {  } not has size == 2 | ||||
| MatchersRanges.tests.cpp:<line number>: passed: empty_vec, SizeIs(Lt(2)) for: {  } size matches is less than 2 | ||||
|   | ||||
| @@ -1394,6 +1394,6 @@ due to unexpected exception with message: | ||||
|   Why would you throw a std::string? | ||||
|  | ||||
| =============================================================================== | ||||
| test cases:  391 |  315 passed |  69 failed |  7 failed as expected | ||||
| assertions: 2227 | 2072 passed | 128 failed | 27 failed as expected | ||||
| test cases:  394 |  318 passed |  69 failed |  7 failed as expected | ||||
| assertions: 2284 | 2129 passed | 128 failed | 27 failed as expected | ||||
|  | ||||
|   | ||||
| @@ -14146,6 +14146,173 @@ MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
| with expansion: | ||||
|   !false | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AllTrue range matcher | ||||
|   Basic usage | ||||
|   All true evaluates to true | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, AllTrue() ) | ||||
| with expansion: | ||||
|   { true, true, true, true, true } contains only true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AllTrue range matcher | ||||
|   Basic usage | ||||
|   Empty evaluates to true | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, AllTrue() ) | ||||
| with expansion: | ||||
|   {  } contains only true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AllTrue range matcher | ||||
|   Basic usage | ||||
|   One false evalutes to false | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, !AllTrue() ) | ||||
| with expansion: | ||||
|   { true, true, false, true, true } not contains only true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AllTrue range matcher | ||||
|   Basic usage | ||||
|   All false evaluates to false | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, !AllTrue() ) | ||||
| with expansion: | ||||
|   { false, false, false, false, false } not contains only true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AllTrue range matcher | ||||
|   Contained type is convertible to bool | ||||
|   All true evaluates to true | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, AllTrue() ) | ||||
| with expansion: | ||||
|   { true, true, true, true, true } contains only true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AllTrue range matcher | ||||
|   Contained type is convertible to bool | ||||
|   One false evalutes to false | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, !AllTrue() ) | ||||
| with expansion: | ||||
|   { true, true, false, true, true } not contains only true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AllTrue range matcher | ||||
|   Contained type is convertible to bool | ||||
|   All false evaluates to false | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, !AllTrue() ) | ||||
| with expansion: | ||||
|   { false, false, false, false, false } not contains only true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AllTrue range matcher | ||||
|   Shortcircuiting | ||||
|   All are read | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( mocked, AllTrue() ) | ||||
| with expansion: | ||||
|   { true, true, true, true, true } contains only true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[0] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[1] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[2] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[3] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[4] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AllTrue range matcher | ||||
|   Shortcircuiting | ||||
|   Short-circuited | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( mocked, !AllTrue() ) | ||||
| with expansion: | ||||
|   { true, true, false, true, true } not contains only true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[0] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[1] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[2] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_FALSE( mocked.m_derefed[3] ) | ||||
| with expansion: | ||||
|   !false | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_FALSE( mocked.m_derefed[4] ) | ||||
| with expansion: | ||||
|   !false | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AnyMatch range matcher | ||||
|   Basic usage | ||||
| @@ -14254,6 +14421,173 @@ MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
| with expansion: | ||||
|   !false | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AnyTrue range matcher | ||||
|   Basic usage | ||||
|   All true evaluates to true | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, AnyTrue() ) | ||||
| with expansion: | ||||
|   { true, true, true, true, true } contains at least one true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AnyTrue range matcher | ||||
|   Basic usage | ||||
|   Empty evaluates to false | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, !AnyTrue() ) | ||||
| with expansion: | ||||
|   {  } not contains at least one true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AnyTrue range matcher | ||||
|   Basic usage | ||||
|   One true evalutes to true | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, AnyTrue() ) | ||||
| with expansion: | ||||
|   { false, false, true, false, false } contains at least one true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AnyTrue range matcher | ||||
|   Basic usage | ||||
|   All false evaluates to false | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, !AnyTrue() ) | ||||
| with expansion: | ||||
|   { false, false, false, false, false } not contains at least one true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AnyTrue range matcher | ||||
|   Contained type is convertible to bool | ||||
|   All true evaluates to true | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, AnyTrue() ) | ||||
| with expansion: | ||||
|   { true, true, true, true, true } contains at least one true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AnyTrue range matcher | ||||
|   Contained type is convertible to bool | ||||
|   One true evalutes to true | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, AnyTrue() ) | ||||
| with expansion: | ||||
|   { false, false, true, false, false } contains at least one true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AnyTrue range matcher | ||||
|   Contained type is convertible to bool | ||||
|   All false evaluates to false | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, !AnyTrue() ) | ||||
| with expansion: | ||||
|   { false, false, false, false, false } not contains at least one true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AnyTrue range matcher | ||||
|   Shortcircuiting | ||||
|   All are read | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( mocked, AnyTrue() ) | ||||
| with expansion: | ||||
|   { false, false, false, false, true } contains at least one true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[0] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[1] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[2] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[3] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[4] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AnyTrue range matcher | ||||
|   Shortcircuiting | ||||
|   Short-circuited | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( mocked, AnyTrue() ) | ||||
| with expansion: | ||||
|   { false, false, true, true, true } contains at least one true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[0] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[1] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[2] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_FALSE( mocked.m_derefed[3] ) | ||||
| with expansion: | ||||
|   !false | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_FALSE( mocked.m_derefed[4] ) | ||||
| with expansion: | ||||
|   !false | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of NoneMatch range matcher | ||||
|   Basic usage | ||||
| @@ -14362,6 +14696,173 @@ MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
| with expansion: | ||||
|   !false | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of NoneTrue range matcher | ||||
|   Basic usage | ||||
|   All true evaluates to false | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, !NoneTrue() ) | ||||
| with expansion: | ||||
|   { true, true, true, true, true } not contains no true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of NoneTrue range matcher | ||||
|   Basic usage | ||||
|   Empty evaluates to true | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, NoneTrue() ) | ||||
| with expansion: | ||||
|   {  } contains no true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of NoneTrue range matcher | ||||
|   Basic usage | ||||
|   One true evalutes to false | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, !NoneTrue() ) | ||||
| with expansion: | ||||
|   { false, false, true, false, false } not contains no true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of NoneTrue range matcher | ||||
|   Basic usage | ||||
|   All false evaluates to true | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, NoneTrue() ) | ||||
| with expansion: | ||||
|   { false, false, false, false, false } contains no true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of NoneTrue range matcher | ||||
|   Contained type is convertible to bool | ||||
|   All true evaluates to false | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, !NoneTrue() ) | ||||
| with expansion: | ||||
|   { true, true, true, true, true } not contains no true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of NoneTrue range matcher | ||||
|   Contained type is convertible to bool | ||||
|   One true evalutes to false | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, !NoneTrue() ) | ||||
| with expansion: | ||||
|   { false, false, true, false, false } not contains no true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of NoneTrue range matcher | ||||
|   Contained type is convertible to bool | ||||
|   All false evaluates to true | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, NoneTrue() ) | ||||
| with expansion: | ||||
|   { false, false, false, false, false } contains no true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of NoneTrue range matcher | ||||
|   Shortcircuiting | ||||
|   All are read | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( mocked, NoneTrue() ) | ||||
| with expansion: | ||||
|   { false, false, false, false, false } contains no true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[0] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[1] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[2] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[3] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[4] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of NoneTrue range matcher | ||||
|   Shortcircuiting | ||||
|   Short-circuited | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( mocked, !NoneTrue() ) | ||||
| with expansion: | ||||
|   { false, false, true, true, true } not contains no true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[0] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[1] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[2] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_FALSE( mocked.m_derefed[3] ) | ||||
| with expansion: | ||||
|   !false | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_FALSE( mocked.m_derefed[4] ) | ||||
| with expansion: | ||||
|   !false | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of the SizeIs range matcher | ||||
|   Some with stdlib containers | ||||
| @@ -17949,6 +18450,6 @@ Misc.tests.cpp:<line number> | ||||
| Misc.tests.cpp:<line number>: PASSED: | ||||
|  | ||||
| =============================================================================== | ||||
| test cases:  391 |  301 passed |  83 failed |  7 failed as expected | ||||
| assertions: 2242 | 2072 passed | 143 failed | 27 failed as expected | ||||
| test cases:  394 |  304 passed |  83 failed |  7 failed as expected | ||||
| assertions: 2299 | 2129 passed | 143 failed | 27 failed as expected | ||||
|  | ||||
|   | ||||
| @@ -14139,6 +14139,173 @@ MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
| with expansion: | ||||
|   !false | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AllTrue range matcher | ||||
|   Basic usage | ||||
|   All true evaluates to true | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, AllTrue() ) | ||||
| with expansion: | ||||
|   { true, true, true, true, true } contains only true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AllTrue range matcher | ||||
|   Basic usage | ||||
|   Empty evaluates to true | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, AllTrue() ) | ||||
| with expansion: | ||||
|   {  } contains only true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AllTrue range matcher | ||||
|   Basic usage | ||||
|   One false evalutes to false | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, !AllTrue() ) | ||||
| with expansion: | ||||
|   { true, true, false, true, true } not contains only true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AllTrue range matcher | ||||
|   Basic usage | ||||
|   All false evaluates to false | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, !AllTrue() ) | ||||
| with expansion: | ||||
|   { false, false, false, false, false } not contains only true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AllTrue range matcher | ||||
|   Contained type is convertible to bool | ||||
|   All true evaluates to true | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, AllTrue() ) | ||||
| with expansion: | ||||
|   { true, true, true, true, true } contains only true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AllTrue range matcher | ||||
|   Contained type is convertible to bool | ||||
|   One false evalutes to false | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, !AllTrue() ) | ||||
| with expansion: | ||||
|   { true, true, false, true, true } not contains only true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AllTrue range matcher | ||||
|   Contained type is convertible to bool | ||||
|   All false evaluates to false | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, !AllTrue() ) | ||||
| with expansion: | ||||
|   { false, false, false, false, false } not contains only true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AllTrue range matcher | ||||
|   Shortcircuiting | ||||
|   All are read | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( mocked, AllTrue() ) | ||||
| with expansion: | ||||
|   { true, true, true, true, true } contains only true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[0] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[1] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[2] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[3] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[4] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AllTrue range matcher | ||||
|   Shortcircuiting | ||||
|   Short-circuited | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( mocked, !AllTrue() ) | ||||
| with expansion: | ||||
|   { true, true, false, true, true } not contains only true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[0] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[1] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[2] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_FALSE( mocked.m_derefed[3] ) | ||||
| with expansion: | ||||
|   !false | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_FALSE( mocked.m_derefed[4] ) | ||||
| with expansion: | ||||
|   !false | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AnyMatch range matcher | ||||
|   Basic usage | ||||
| @@ -14247,6 +14414,173 @@ MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
| with expansion: | ||||
|   !false | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AnyTrue range matcher | ||||
|   Basic usage | ||||
|   All true evaluates to true | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, AnyTrue() ) | ||||
| with expansion: | ||||
|   { true, true, true, true, true } contains at least one true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AnyTrue range matcher | ||||
|   Basic usage | ||||
|   Empty evaluates to false | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, !AnyTrue() ) | ||||
| with expansion: | ||||
|   {  } not contains at least one true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AnyTrue range matcher | ||||
|   Basic usage | ||||
|   One true evalutes to true | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, AnyTrue() ) | ||||
| with expansion: | ||||
|   { false, false, true, false, false } contains at least one true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AnyTrue range matcher | ||||
|   Basic usage | ||||
|   All false evaluates to false | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, !AnyTrue() ) | ||||
| with expansion: | ||||
|   { false, false, false, false, false } not contains at least one true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AnyTrue range matcher | ||||
|   Contained type is convertible to bool | ||||
|   All true evaluates to true | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, AnyTrue() ) | ||||
| with expansion: | ||||
|   { true, true, true, true, true } contains at least one true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AnyTrue range matcher | ||||
|   Contained type is convertible to bool | ||||
|   One true evalutes to true | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, AnyTrue() ) | ||||
| with expansion: | ||||
|   { false, false, true, false, false } contains at least one true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AnyTrue range matcher | ||||
|   Contained type is convertible to bool | ||||
|   All false evaluates to false | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, !AnyTrue() ) | ||||
| with expansion: | ||||
|   { false, false, false, false, false } not contains at least one true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AnyTrue range matcher | ||||
|   Shortcircuiting | ||||
|   All are read | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( mocked, AnyTrue() ) | ||||
| with expansion: | ||||
|   { false, false, false, false, true } contains at least one true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[0] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[1] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[2] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[3] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[4] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of AnyTrue range matcher | ||||
|   Shortcircuiting | ||||
|   Short-circuited | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( mocked, AnyTrue() ) | ||||
| with expansion: | ||||
|   { false, false, true, true, true } contains at least one true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[0] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[1] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[2] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_FALSE( mocked.m_derefed[3] ) | ||||
| with expansion: | ||||
|   !false | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_FALSE( mocked.m_derefed[4] ) | ||||
| with expansion: | ||||
|   !false | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of NoneMatch range matcher | ||||
|   Basic usage | ||||
| @@ -14355,6 +14689,173 @@ MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
| with expansion: | ||||
|   !false | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of NoneTrue range matcher | ||||
|   Basic usage | ||||
|   All true evaluates to false | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, !NoneTrue() ) | ||||
| with expansion: | ||||
|   { true, true, true, true, true } not contains no true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of NoneTrue range matcher | ||||
|   Basic usage | ||||
|   Empty evaluates to true | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, NoneTrue() ) | ||||
| with expansion: | ||||
|   {  } contains no true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of NoneTrue range matcher | ||||
|   Basic usage | ||||
|   One true evalutes to false | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, !NoneTrue() ) | ||||
| with expansion: | ||||
|   { false, false, true, false, false } not contains no true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of NoneTrue range matcher | ||||
|   Basic usage | ||||
|   All false evaluates to true | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, NoneTrue() ) | ||||
| with expansion: | ||||
|   { false, false, false, false, false } contains no true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of NoneTrue range matcher | ||||
|   Contained type is convertible to bool | ||||
|   All true evaluates to false | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, !NoneTrue() ) | ||||
| with expansion: | ||||
|   { true, true, true, true, true } not contains no true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of NoneTrue range matcher | ||||
|   Contained type is convertible to bool | ||||
|   One true evalutes to false | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, !NoneTrue() ) | ||||
| with expansion: | ||||
|   { false, false, true, false, false } not contains no true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of NoneTrue range matcher | ||||
|   Contained type is convertible to bool | ||||
|   All false evaluates to true | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( data, NoneTrue() ) | ||||
| with expansion: | ||||
|   { false, false, false, false, false } contains no true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of NoneTrue range matcher | ||||
|   Shortcircuiting | ||||
|   All are read | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( mocked, NoneTrue() ) | ||||
| with expansion: | ||||
|   { false, false, false, false, false } contains no true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[0] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[1] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[2] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[3] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[4] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of NoneTrue range matcher | ||||
|   Shortcircuiting | ||||
|   Short-circuited | ||||
| ------------------------------------------------------------------------------- | ||||
| MatchersRanges.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_THAT( mocked, !NoneTrue() ) | ||||
| with expansion: | ||||
|   { false, false, true, true, true } not contains no true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[0] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[1] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE( mocked.m_derefed[2] ) | ||||
| with expansion: | ||||
|   true | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_FALSE( mocked.m_derefed[3] ) | ||||
| with expansion: | ||||
|   !false | ||||
|  | ||||
| MatchersRanges.tests.cpp:<line number>: PASSED: | ||||
|   REQUIRE_FALSE( mocked.m_derefed[4] ) | ||||
| with expansion: | ||||
|   !false | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Usage of the SizeIs range matcher | ||||
|   Some with stdlib containers | ||||
| @@ -17941,6 +18442,6 @@ Misc.tests.cpp:<line number> | ||||
| Misc.tests.cpp:<line number>: PASSED: | ||||
|  | ||||
| =============================================================================== | ||||
| test cases:  391 |  301 passed |  83 failed |  7 failed as expected | ||||
| assertions: 2242 | 2072 passed | 143 failed | 27 failed as expected | ||||
| test cases:  394 |  304 passed |  83 failed |  7 failed as expected | ||||
| assertions: 2299 | 2129 passed | 143 failed | 27 failed as expected | ||||
|  | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <testsuitesloose text artifact | ||||
| > | ||||
|   <testsuite name="<exe-name>" errors="17" failures="126" tests="2242" hostname="tbd" time="{duration}" timestamp="{iso8601-timestamp}"> | ||||
|   <testsuite name="<exe-name>" errors="17" failures="126" tests="2299" hostname="tbd" time="{duration}" timestamp="{iso8601-timestamp}"> | ||||
|     <properties> | ||||
|       <property name="random-seed" value="1"/> | ||||
|       <property name="filters" value="~[!nonportable]~[!benchmark]~[approvals] *"/> | ||||
| @@ -1412,14 +1412,41 @@ Exception.tests.cpp:<line number> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AllMatch range matcher/Type requires ADL found begin and end" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AllMatch range matcher/Shortcircuiting/All are read" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AllMatch range matcher/Shortcircuiting/Short-circuited" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AllTrue range matcher/Basic usage/All true evaluates to true" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AllTrue range matcher/Basic usage/Empty evaluates to true" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AllTrue range matcher/Basic usage/One false evalutes to false" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AllTrue range matcher/Basic usage/All false evaluates to false" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AllTrue range matcher/Contained type is convertible to bool/All true evaluates to true" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AllTrue range matcher/Contained type is convertible to bool/One false evalutes to false" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AllTrue range matcher/Contained type is convertible to bool/All false evaluates to false" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AllTrue range matcher/Shortcircuiting/All are read" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AllTrue range matcher/Shortcircuiting/Short-circuited" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AnyMatch range matcher/Basic usage" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AnyMatch range matcher/Type requires ADL found begin and end" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AnyMatch range matcher/Shortcircuiting/All are read" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AnyMatch range matcher/Shortcircuiting/Short-circuited" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AnyTrue range matcher/Basic usage/All true evaluates to true" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AnyTrue range matcher/Basic usage/Empty evaluates to false" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AnyTrue range matcher/Basic usage/One true evalutes to true" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AnyTrue range matcher/Basic usage/All false evaluates to false" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AnyTrue range matcher/Contained type is convertible to bool/All true evaluates to true" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AnyTrue range matcher/Contained type is convertible to bool/One true evalutes to true" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AnyTrue range matcher/Contained type is convertible to bool/All false evaluates to false" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AnyTrue range matcher/Shortcircuiting/All are read" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AnyTrue range matcher/Shortcircuiting/Short-circuited" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of NoneMatch range matcher/Basic usage" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of NoneMatch range matcher/Type requires ADL found begin and end" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of NoneMatch range matcher/Shortcircuiting/All are read" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of NoneMatch range matcher/Shortcircuiting/Short-circuited" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of NoneTrue range matcher/Basic usage/All true evaluates to false" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of NoneTrue range matcher/Basic usage/Empty evaluates to true" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of NoneTrue range matcher/Basic usage/One true evalutes to false" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of NoneTrue range matcher/Basic usage/All false evaluates to true" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of NoneTrue range matcher/Contained type is convertible to bool/All true evaluates to false" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of NoneTrue range matcher/Contained type is convertible to bool/One true evalutes to false" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of NoneTrue range matcher/Contained type is convertible to bool/All false evaluates to true" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of NoneTrue range matcher/Shortcircuiting/All are read" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of NoneTrue range matcher/Shortcircuiting/Short-circuited" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of the SizeIs range matcher/Some with stdlib containers" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of the SizeIs range matcher/Type requires ADL found size free function" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of the SizeIs range matcher/Type has size member" time="{duration}" status="run"/> | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <testsuites> | ||||
|   <testsuite name="<exe-name>" errors="17" failures="126" tests="2242" hostname="tbd" time="{duration}" timestamp="{iso8601-timestamp}"> | ||||
|   <testsuite name="<exe-name>" errors="17" failures="126" tests="2299" hostname="tbd" time="{duration}" timestamp="{iso8601-timestamp}"> | ||||
|     <properties> | ||||
|       <property name="random-seed" value="1"/> | ||||
|       <property name="filters" value="~[!nonportable]~[!benchmark]~[approvals] *"/> | ||||
| @@ -1411,14 +1411,41 @@ Exception.tests.cpp:<line number> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AllMatch range matcher/Type requires ADL found begin and end" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AllMatch range matcher/Shortcircuiting/All are read" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AllMatch range matcher/Shortcircuiting/Short-circuited" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AllTrue range matcher/Basic usage/All true evaluates to true" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AllTrue range matcher/Basic usage/Empty evaluates to true" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AllTrue range matcher/Basic usage/One false evalutes to false" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AllTrue range matcher/Basic usage/All false evaluates to false" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AllTrue range matcher/Contained type is convertible to bool/All true evaluates to true" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AllTrue range matcher/Contained type is convertible to bool/One false evalutes to false" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AllTrue range matcher/Contained type is convertible to bool/All false evaluates to false" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AllTrue range matcher/Shortcircuiting/All are read" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AllTrue range matcher/Shortcircuiting/Short-circuited" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AnyMatch range matcher/Basic usage" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AnyMatch range matcher/Type requires ADL found begin and end" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AnyMatch range matcher/Shortcircuiting/All are read" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AnyMatch range matcher/Shortcircuiting/Short-circuited" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AnyTrue range matcher/Basic usage/All true evaluates to true" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AnyTrue range matcher/Basic usage/Empty evaluates to false" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AnyTrue range matcher/Basic usage/One true evalutes to true" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AnyTrue range matcher/Basic usage/All false evaluates to false" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AnyTrue range matcher/Contained type is convertible to bool/All true evaluates to true" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AnyTrue range matcher/Contained type is convertible to bool/One true evalutes to true" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AnyTrue range matcher/Contained type is convertible to bool/All false evaluates to false" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AnyTrue range matcher/Shortcircuiting/All are read" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of AnyTrue range matcher/Shortcircuiting/Short-circuited" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of NoneMatch range matcher/Basic usage" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of NoneMatch range matcher/Type requires ADL found begin and end" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of NoneMatch range matcher/Shortcircuiting/All are read" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of NoneMatch range matcher/Shortcircuiting/Short-circuited" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of NoneTrue range matcher/Basic usage/All true evaluates to false" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of NoneTrue range matcher/Basic usage/Empty evaluates to true" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of NoneTrue range matcher/Basic usage/One true evalutes to false" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of NoneTrue range matcher/Basic usage/All false evaluates to true" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of NoneTrue range matcher/Contained type is convertible to bool/All true evaluates to false" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of NoneTrue range matcher/Contained type is convertible to bool/One true evalutes to false" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of NoneTrue range matcher/Contained type is convertible to bool/All false evaluates to true" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of NoneTrue range matcher/Shortcircuiting/All are read" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of NoneTrue range matcher/Shortcircuiting/Short-circuited" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of the SizeIs range matcher/Some with stdlib containers" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of the SizeIs range matcher/Type requires ADL found size free function" time="{duration}" status="run"/> | ||||
|     <testcase classname="<exe-name>.global" name="Usage of the SizeIs range matcher/Type has size member" time="{duration}" status="run"/> | ||||
|   | ||||
| @@ -1397,14 +1397,41 @@ Matchers.tests.cpp:<line number> | ||||
|     <testCase name="Usage of AllMatch range matcher/Type requires ADL found begin and end" duration="{duration}"/> | ||||
|     <testCase name="Usage of AllMatch range matcher/Shortcircuiting/All are read" duration="{duration}"/> | ||||
|     <testCase name="Usage of AllMatch range matcher/Shortcircuiting/Short-circuited" duration="{duration}"/> | ||||
|     <testCase name="Usage of AllTrue range matcher/Basic usage/All true evaluates to true" duration="{duration}"/> | ||||
|     <testCase name="Usage of AllTrue range matcher/Basic usage/Empty evaluates to true" duration="{duration}"/> | ||||
|     <testCase name="Usage of AllTrue range matcher/Basic usage/One false evalutes to false" duration="{duration}"/> | ||||
|     <testCase name="Usage of AllTrue range matcher/Basic usage/All false evaluates to false" duration="{duration}"/> | ||||
|     <testCase name="Usage of AllTrue range matcher/Contained type is convertible to bool/All true evaluates to true" duration="{duration}"/> | ||||
|     <testCase name="Usage of AllTrue range matcher/Contained type is convertible to bool/One false evalutes to false" duration="{duration}"/> | ||||
|     <testCase name="Usage of AllTrue range matcher/Contained type is convertible to bool/All false evaluates to false" duration="{duration}"/> | ||||
|     <testCase name="Usage of AllTrue range matcher/Shortcircuiting/All are read" duration="{duration}"/> | ||||
|     <testCase name="Usage of AllTrue range matcher/Shortcircuiting/Short-circuited" duration="{duration}"/> | ||||
|     <testCase name="Usage of AnyMatch range matcher/Basic usage" duration="{duration}"/> | ||||
|     <testCase name="Usage of AnyMatch range matcher/Type requires ADL found begin and end" duration="{duration}"/> | ||||
|     <testCase name="Usage of AnyMatch range matcher/Shortcircuiting/All are read" duration="{duration}"/> | ||||
|     <testCase name="Usage of AnyMatch range matcher/Shortcircuiting/Short-circuited" duration="{duration}"/> | ||||
|     <testCase name="Usage of AnyTrue range matcher/Basic usage/All true evaluates to true" duration="{duration}"/> | ||||
|     <testCase name="Usage of AnyTrue range matcher/Basic usage/Empty evaluates to false" duration="{duration}"/> | ||||
|     <testCase name="Usage of AnyTrue range matcher/Basic usage/One true evalutes to true" duration="{duration}"/> | ||||
|     <testCase name="Usage of AnyTrue range matcher/Basic usage/All false evaluates to false" duration="{duration}"/> | ||||
|     <testCase name="Usage of AnyTrue range matcher/Contained type is convertible to bool/All true evaluates to true" duration="{duration}"/> | ||||
|     <testCase name="Usage of AnyTrue range matcher/Contained type is convertible to bool/One true evalutes to true" duration="{duration}"/> | ||||
|     <testCase name="Usage of AnyTrue range matcher/Contained type is convertible to bool/All false evaluates to false" duration="{duration}"/> | ||||
|     <testCase name="Usage of AnyTrue range matcher/Shortcircuiting/All are read" duration="{duration}"/> | ||||
|     <testCase name="Usage of AnyTrue range matcher/Shortcircuiting/Short-circuited" duration="{duration}"/> | ||||
|     <testCase name="Usage of NoneMatch range matcher/Basic usage" duration="{duration}"/> | ||||
|     <testCase name="Usage of NoneMatch range matcher/Type requires ADL found begin and end" duration="{duration}"/> | ||||
|     <testCase name="Usage of NoneMatch range matcher/Shortcircuiting/All are read" duration="{duration}"/> | ||||
|     <testCase name="Usage of NoneMatch range matcher/Shortcircuiting/Short-circuited" duration="{duration}"/> | ||||
|     <testCase name="Usage of NoneTrue range matcher/Basic usage/All true evaluates to false" duration="{duration}"/> | ||||
|     <testCase name="Usage of NoneTrue range matcher/Basic usage/Empty evaluates to true" duration="{duration}"/> | ||||
|     <testCase name="Usage of NoneTrue range matcher/Basic usage/One true evalutes to false" duration="{duration}"/> | ||||
|     <testCase name="Usage of NoneTrue range matcher/Basic usage/All false evaluates to true" duration="{duration}"/> | ||||
|     <testCase name="Usage of NoneTrue range matcher/Contained type is convertible to bool/All true evaluates to false" duration="{duration}"/> | ||||
|     <testCase name="Usage of NoneTrue range matcher/Contained type is convertible to bool/One true evalutes to false" duration="{duration}"/> | ||||
|     <testCase name="Usage of NoneTrue range matcher/Contained type is convertible to bool/All false evaluates to true" duration="{duration}"/> | ||||
|     <testCase name="Usage of NoneTrue range matcher/Shortcircuiting/All are read" duration="{duration}"/> | ||||
|     <testCase name="Usage of NoneTrue range matcher/Shortcircuiting/Short-circuited" duration="{duration}"/> | ||||
|     <testCase name="Usage of the SizeIs range matcher/Some with stdlib containers" duration="{duration}"/> | ||||
|     <testCase name="Usage of the SizeIs range matcher/Type requires ADL found size free function" duration="{duration}"/> | ||||
|     <testCase name="Usage of the SizeIs range matcher/Type has size member" duration="{duration}"/> | ||||
|   | ||||
| @@ -1396,14 +1396,41 @@ Matchers.tests.cpp:<line number> | ||||
|     <testCase name="Usage of AllMatch range matcher/Type requires ADL found begin and end" duration="{duration}"/> | ||||
|     <testCase name="Usage of AllMatch range matcher/Shortcircuiting/All are read" duration="{duration}"/> | ||||
|     <testCase name="Usage of AllMatch range matcher/Shortcircuiting/Short-circuited" duration="{duration}"/> | ||||
|     <testCase name="Usage of AllTrue range matcher/Basic usage/All true evaluates to true" duration="{duration}"/> | ||||
|     <testCase name="Usage of AllTrue range matcher/Basic usage/Empty evaluates to true" duration="{duration}"/> | ||||
|     <testCase name="Usage of AllTrue range matcher/Basic usage/One false evalutes to false" duration="{duration}"/> | ||||
|     <testCase name="Usage of AllTrue range matcher/Basic usage/All false evaluates to false" duration="{duration}"/> | ||||
|     <testCase name="Usage of AllTrue range matcher/Contained type is convertible to bool/All true evaluates to true" duration="{duration}"/> | ||||
|     <testCase name="Usage of AllTrue range matcher/Contained type is convertible to bool/One false evalutes to false" duration="{duration}"/> | ||||
|     <testCase name="Usage of AllTrue range matcher/Contained type is convertible to bool/All false evaluates to false" duration="{duration}"/> | ||||
|     <testCase name="Usage of AllTrue range matcher/Shortcircuiting/All are read" duration="{duration}"/> | ||||
|     <testCase name="Usage of AllTrue range matcher/Shortcircuiting/Short-circuited" duration="{duration}"/> | ||||
|     <testCase name="Usage of AnyMatch range matcher/Basic usage" duration="{duration}"/> | ||||
|     <testCase name="Usage of AnyMatch range matcher/Type requires ADL found begin and end" duration="{duration}"/> | ||||
|     <testCase name="Usage of AnyMatch range matcher/Shortcircuiting/All are read" duration="{duration}"/> | ||||
|     <testCase name="Usage of AnyMatch range matcher/Shortcircuiting/Short-circuited" duration="{duration}"/> | ||||
|     <testCase name="Usage of AnyTrue range matcher/Basic usage/All true evaluates to true" duration="{duration}"/> | ||||
|     <testCase name="Usage of AnyTrue range matcher/Basic usage/Empty evaluates to false" duration="{duration}"/> | ||||
|     <testCase name="Usage of AnyTrue range matcher/Basic usage/One true evalutes to true" duration="{duration}"/> | ||||
|     <testCase name="Usage of AnyTrue range matcher/Basic usage/All false evaluates to false" duration="{duration}"/> | ||||
|     <testCase name="Usage of AnyTrue range matcher/Contained type is convertible to bool/All true evaluates to true" duration="{duration}"/> | ||||
|     <testCase name="Usage of AnyTrue range matcher/Contained type is convertible to bool/One true evalutes to true" duration="{duration}"/> | ||||
|     <testCase name="Usage of AnyTrue range matcher/Contained type is convertible to bool/All false evaluates to false" duration="{duration}"/> | ||||
|     <testCase name="Usage of AnyTrue range matcher/Shortcircuiting/All are read" duration="{duration}"/> | ||||
|     <testCase name="Usage of AnyTrue range matcher/Shortcircuiting/Short-circuited" duration="{duration}"/> | ||||
|     <testCase name="Usage of NoneMatch range matcher/Basic usage" duration="{duration}"/> | ||||
|     <testCase name="Usage of NoneMatch range matcher/Type requires ADL found begin and end" duration="{duration}"/> | ||||
|     <testCase name="Usage of NoneMatch range matcher/Shortcircuiting/All are read" duration="{duration}"/> | ||||
|     <testCase name="Usage of NoneMatch range matcher/Shortcircuiting/Short-circuited" duration="{duration}"/> | ||||
|     <testCase name="Usage of NoneTrue range matcher/Basic usage/All true evaluates to false" duration="{duration}"/> | ||||
|     <testCase name="Usage of NoneTrue range matcher/Basic usage/Empty evaluates to true" duration="{duration}"/> | ||||
|     <testCase name="Usage of NoneTrue range matcher/Basic usage/One true evalutes to false" duration="{duration}"/> | ||||
|     <testCase name="Usage of NoneTrue range matcher/Basic usage/All false evaluates to true" duration="{duration}"/> | ||||
|     <testCase name="Usage of NoneTrue range matcher/Contained type is convertible to bool/All true evaluates to false" duration="{duration}"/> | ||||
|     <testCase name="Usage of NoneTrue range matcher/Contained type is convertible to bool/One true evalutes to false" duration="{duration}"/> | ||||
|     <testCase name="Usage of NoneTrue range matcher/Contained type is convertible to bool/All false evaluates to true" duration="{duration}"/> | ||||
|     <testCase name="Usage of NoneTrue range matcher/Shortcircuiting/All are read" duration="{duration}"/> | ||||
|     <testCase name="Usage of NoneTrue range matcher/Shortcircuiting/Short-circuited" duration="{duration}"/> | ||||
|     <testCase name="Usage of the SizeIs range matcher/Some with stdlib containers" duration="{duration}"/> | ||||
|     <testCase name="Usage of the SizeIs range matcher/Type requires ADL found size free function" duration="{duration}"/> | ||||
|     <testCase name="Usage of the SizeIs range matcher/Type has size member" duration="{duration}"/> | ||||
|   | ||||
| @@ -3530,6 +3530,44 @@ ok {test-number} - mocked.m_derefed[2] for: true | ||||
| ok {test-number} - !(mocked.m_derefed[3]) for: !false | ||||
| # Usage of AllMatch range matcher | ||||
| ok {test-number} - !(mocked.m_derefed[4]) for: !false | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - data, AllTrue() for: { true, true, true, true, true } contains only true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - data, AllTrue() for: {  } contains only true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - data, !AllTrue() for: { true, true, false, true, true } not contains only true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - data, !AllTrue() for: { false, false, false, false, false } not contains only true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - data, AllTrue() for: { true, true, true, true, true } contains only true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - data, !AllTrue() for: { true, true, false, true, true } not contains only true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - data, !AllTrue() for: { false, false, false, false, false } not contains only true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - mocked, AllTrue() for: { true, true, true, true, true } contains only true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[0] for: true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[1] for: true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[2] for: true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[3] for: true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[4] for: true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - mocked, !AllTrue() for: { true, true, false, true, true } not contains only true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[0] for: true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[1] for: true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[2] for: true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - !(mocked.m_derefed[3]) for: !false | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - !(mocked.m_derefed[4]) for: !false | ||||
| # Usage of AnyMatch range matcher | ||||
| ok {test-number} - data, AnyMatch(SizeIs(5)) for: { { 0, 1, 2, 3, 5 }, { 4, -3, -2, 5, 0 }, { 0, 0, 0, 5, 0 }, { 0, -5, 0, 5, 0 }, { 1, 0, 0, -1, 5 } } any match has size == 5 | ||||
| # Usage of AnyMatch range matcher | ||||
| @@ -3560,6 +3598,44 @@ ok {test-number} - !(mocked.m_derefed[2]) for: !false | ||||
| ok {test-number} - !(mocked.m_derefed[3]) for: !false | ||||
| # Usage of AnyMatch range matcher | ||||
| ok {test-number} - !(mocked.m_derefed[4]) for: !false | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - data, AnyTrue() for: { true, true, true, true, true } contains at least one true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - data, !AnyTrue() for: {  } not contains at least one true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - data, AnyTrue() for: { false, false, true, false, false } contains at least one true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - data, !AnyTrue() for: { false, false, false, false, false } not contains at least one true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - data, AnyTrue() for: { true, true, true, true, true } contains at least one true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - data, AnyTrue() for: { false, false, true, false, false } contains at least one true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - data, !AnyTrue() for: { false, false, false, false, false } not contains at least one true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - mocked, AnyTrue() for: { false, false, false, false, true } contains at least one true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[0] for: true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[1] for: true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[2] for: true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[3] for: true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[4] for: true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - mocked, AnyTrue() for: { false, false, true, true, true } contains at least one true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[0] for: true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[1] for: true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[2] for: true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - !(mocked.m_derefed[3]) for: !false | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - !(mocked.m_derefed[4]) for: !false | ||||
| # Usage of NoneMatch range matcher | ||||
| ok {test-number} - data, NoneMatch(SizeIs(6)) for: { { 0, 1, 2, 3, 5 }, { 4, -3, -2, 5, 0 }, { 0, 0, 0, 5, 0 }, { 0, -5, 0, 5, 0 }, { 1, 0, 0, -1, 5 } } none match has size == 6 | ||||
| # Usage of NoneMatch range matcher | ||||
| @@ -3590,6 +3666,44 @@ ok {test-number} - !(mocked.m_derefed[2]) for: !false | ||||
| ok {test-number} - !(mocked.m_derefed[3]) for: !false | ||||
| # Usage of NoneMatch range matcher | ||||
| ok {test-number} - !(mocked.m_derefed[4]) for: !false | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - data, !NoneTrue() for: { true, true, true, true, true } not contains no true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - data, NoneTrue() for: {  } contains no true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - data, !NoneTrue() for: { false, false, true, false, false } not contains no true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - data, NoneTrue() for: { false, false, false, false, false } contains no true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - data, !NoneTrue() for: { true, true, true, true, true } not contains no true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - data, !NoneTrue() for: { false, false, true, false, false } not contains no true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - data, NoneTrue() for: { false, false, false, false, false } contains no true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - mocked, NoneTrue() for: { false, false, false, false, false } contains no true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[0] for: true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[1] for: true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[2] for: true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[3] for: true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[4] for: true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - mocked, !NoneTrue() for: { false, false, true, true, true } not contains no true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[0] for: true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[1] for: true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[2] for: true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - !(mocked.m_derefed[3]) for: !false | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - !(mocked.m_derefed[4]) for: !false | ||||
| # Usage of the SizeIs range matcher | ||||
| ok {test-number} - empty_vec, SizeIs(0) for: {  } has size == 0 | ||||
| # Usage of the SizeIs range matcher | ||||
| @@ -4487,5 +4601,5 @@ ok {test-number} - q3 == 23. for: 23.0 == 23.0 | ||||
| ok {test-number} - | ||||
| # xmlentitycheck | ||||
| ok {test-number} - | ||||
| 1..2242 | ||||
| 1..2299 | ||||
|  | ||||
|   | ||||
| @@ -3523,6 +3523,44 @@ ok {test-number} - mocked.m_derefed[2] for: true | ||||
| ok {test-number} - !(mocked.m_derefed[3]) for: !false | ||||
| # Usage of AllMatch range matcher | ||||
| ok {test-number} - !(mocked.m_derefed[4]) for: !false | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - data, AllTrue() for: { true, true, true, true, true } contains only true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - data, AllTrue() for: {  } contains only true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - data, !AllTrue() for: { true, true, false, true, true } not contains only true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - data, !AllTrue() for: { false, false, false, false, false } not contains only true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - data, AllTrue() for: { true, true, true, true, true } contains only true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - data, !AllTrue() for: { true, true, false, true, true } not contains only true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - data, !AllTrue() for: { false, false, false, false, false } not contains only true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - mocked, AllTrue() for: { true, true, true, true, true } contains only true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[0] for: true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[1] for: true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[2] for: true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[3] for: true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[4] for: true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - mocked, !AllTrue() for: { true, true, false, true, true } not contains only true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[0] for: true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[1] for: true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[2] for: true | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - !(mocked.m_derefed[3]) for: !false | ||||
| # Usage of AllTrue range matcher | ||||
| ok {test-number} - !(mocked.m_derefed[4]) for: !false | ||||
| # Usage of AnyMatch range matcher | ||||
| ok {test-number} - data, AnyMatch(SizeIs(5)) for: { { 0, 1, 2, 3, 5 }, { 4, -3, -2, 5, 0 }, { 0, 0, 0, 5, 0 }, { 0, -5, 0, 5, 0 }, { 1, 0, 0, -1, 5 } } any match has size == 5 | ||||
| # Usage of AnyMatch range matcher | ||||
| @@ -3553,6 +3591,44 @@ ok {test-number} - !(mocked.m_derefed[2]) for: !false | ||||
| ok {test-number} - !(mocked.m_derefed[3]) for: !false | ||||
| # Usage of AnyMatch range matcher | ||||
| ok {test-number} - !(mocked.m_derefed[4]) for: !false | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - data, AnyTrue() for: { true, true, true, true, true } contains at least one true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - data, !AnyTrue() for: {  } not contains at least one true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - data, AnyTrue() for: { false, false, true, false, false } contains at least one true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - data, !AnyTrue() for: { false, false, false, false, false } not contains at least one true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - data, AnyTrue() for: { true, true, true, true, true } contains at least one true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - data, AnyTrue() for: { false, false, true, false, false } contains at least one true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - data, !AnyTrue() for: { false, false, false, false, false } not contains at least one true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - mocked, AnyTrue() for: { false, false, false, false, true } contains at least one true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[0] for: true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[1] for: true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[2] for: true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[3] for: true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[4] for: true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - mocked, AnyTrue() for: { false, false, true, true, true } contains at least one true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[0] for: true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[1] for: true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[2] for: true | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - !(mocked.m_derefed[3]) for: !false | ||||
| # Usage of AnyTrue range matcher | ||||
| ok {test-number} - !(mocked.m_derefed[4]) for: !false | ||||
| # Usage of NoneMatch range matcher | ||||
| ok {test-number} - data, NoneMatch(SizeIs(6)) for: { { 0, 1, 2, 3, 5 }, { 4, -3, -2, 5, 0 }, { 0, 0, 0, 5, 0 }, { 0, -5, 0, 5, 0 }, { 1, 0, 0, -1, 5 } } none match has size == 6 | ||||
| # Usage of NoneMatch range matcher | ||||
| @@ -3583,6 +3659,44 @@ ok {test-number} - !(mocked.m_derefed[2]) for: !false | ||||
| ok {test-number} - !(mocked.m_derefed[3]) for: !false | ||||
| # Usage of NoneMatch range matcher | ||||
| ok {test-number} - !(mocked.m_derefed[4]) for: !false | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - data, !NoneTrue() for: { true, true, true, true, true } not contains no true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - data, NoneTrue() for: {  } contains no true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - data, !NoneTrue() for: { false, false, true, false, false } not contains no true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - data, NoneTrue() for: { false, false, false, false, false } contains no true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - data, !NoneTrue() for: { true, true, true, true, true } not contains no true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - data, !NoneTrue() for: { false, false, true, false, false } not contains no true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - data, NoneTrue() for: { false, false, false, false, false } contains no true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - mocked, NoneTrue() for: { false, false, false, false, false } contains no true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[0] for: true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[1] for: true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[2] for: true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[3] for: true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[4] for: true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - mocked, !NoneTrue() for: { false, false, true, true, true } not contains no true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[0] for: true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[1] for: true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - mocked.m_derefed[2] for: true | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - !(mocked.m_derefed[3]) for: !false | ||||
| # Usage of NoneTrue range matcher | ||||
| ok {test-number} - !(mocked.m_derefed[4]) for: !false | ||||
| # Usage of the SizeIs range matcher | ||||
| ok {test-number} - empty_vec, SizeIs(0) for: {  } has size == 0 | ||||
| # Usage of the SizeIs range matcher | ||||
| @@ -4479,5 +4593,5 @@ ok {test-number} - q3 == 23. for: 23.0 == 23.0 | ||||
| ok {test-number} - | ||||
| # xmlentitycheck | ||||
| ok {test-number} - | ||||
| 1..2242 | ||||
| 1..2299 | ||||
|  | ||||
|   | ||||
| @@ -651,10 +651,16 @@ Exception.tests.cpp:<line number>|nunexpected exception with message:|n  "3.14"' | ||||
| ##teamcity[testFinished name='Upcasting special member functions' duration="{duration}"] | ||||
| ##teamcity[testStarted name='Usage of AllMatch range matcher'] | ||||
| ##teamcity[testFinished name='Usage of AllMatch range matcher' duration="{duration}"] | ||||
| ##teamcity[testStarted name='Usage of AllTrue range matcher'] | ||||
| ##teamcity[testFinished name='Usage of AllTrue range matcher' duration="{duration}"] | ||||
| ##teamcity[testStarted name='Usage of AnyMatch range matcher'] | ||||
| ##teamcity[testFinished name='Usage of AnyMatch range matcher' duration="{duration}"] | ||||
| ##teamcity[testStarted name='Usage of AnyTrue range matcher'] | ||||
| ##teamcity[testFinished name='Usage of AnyTrue range matcher' duration="{duration}"] | ||||
| ##teamcity[testStarted name='Usage of NoneMatch range matcher'] | ||||
| ##teamcity[testFinished name='Usage of NoneMatch range matcher' duration="{duration}"] | ||||
| ##teamcity[testStarted name='Usage of NoneTrue range matcher'] | ||||
| ##teamcity[testFinished name='Usage of NoneTrue range matcher' duration="{duration}"] | ||||
| ##teamcity[testStarted name='Usage of the SizeIs range matcher'] | ||||
| ##teamcity[testFinished name='Usage of the SizeIs range matcher' duration="{duration}"] | ||||
| ##teamcity[testStarted name='Use a custom approx'] | ||||
|   | ||||
| @@ -651,10 +651,16 @@ Exception.tests.cpp:<line number>|nunexpected exception with message:|n  "3.14"' | ||||
| ##teamcity[testFinished name='Upcasting special member functions' duration="{duration}"] | ||||
| ##teamcity[testStarted name='Usage of AllMatch range matcher'] | ||||
| ##teamcity[testFinished name='Usage of AllMatch range matcher' duration="{duration}"] | ||||
| ##teamcity[testStarted name='Usage of AllTrue range matcher'] | ||||
| ##teamcity[testFinished name='Usage of AllTrue range matcher' duration="{duration}"] | ||||
| ##teamcity[testStarted name='Usage of AnyMatch range matcher'] | ||||
| ##teamcity[testFinished name='Usage of AnyMatch range matcher' duration="{duration}"] | ||||
| ##teamcity[testStarted name='Usage of AnyTrue range matcher'] | ||||
| ##teamcity[testFinished name='Usage of AnyTrue range matcher' duration="{duration}"] | ||||
| ##teamcity[testStarted name='Usage of NoneMatch range matcher'] | ||||
| ##teamcity[testFinished name='Usage of NoneMatch range matcher' duration="{duration}"] | ||||
| ##teamcity[testStarted name='Usage of NoneTrue range matcher'] | ||||
| ##teamcity[testFinished name='Usage of NoneTrue range matcher' duration="{duration}"] | ||||
| ##teamcity[testStarted name='Usage of the SizeIs range matcher'] | ||||
| ##teamcity[testFinished name='Usage of the SizeIs range matcher' duration="{duration}"] | ||||
| ##teamcity[testStarted name='Use a custom approx'] | ||||
|   | ||||
| @@ -16609,6 +16609,215 @@ There is no extra whitespace here | ||||
|     </Section> | ||||
|     <OverallResult success="true"/> | ||||
|   </TestCase> | ||||
|   <TestCase name="Usage of AllTrue range matcher" tags="[matchers][quantifiers][templated]" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|     <Section name="Basic usage" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="All true evaluates to true" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, AllTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { true, true, true, true, true } contains only true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Basic usage" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="Empty evaluates to true" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, AllTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             {  } contains only true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Basic usage" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="One false evalutes to false" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, !AllTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { true, true, false, true, true } not contains only true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Basic usage" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="All false evaluates to false" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, !AllTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { false, false, false, false, false } not contains only true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Contained type is convertible to bool" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="All true evaluates to true" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, AllTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { true, true, true, true, true } contains only true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Contained type is convertible to bool" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="One false evalutes to false" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, !AllTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { true, true, false, true, true } not contains only true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Contained type is convertible to bool" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="All false evaluates to false" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, !AllTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { false, false, false, false, false } not contains only true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Shortcircuiting" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="All are read" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked, AllTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { true, true, true, true, true } contains only true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[0] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[1] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[2] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[3] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[4] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="6" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="6" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Shortcircuiting" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="Short-circuited" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked, !AllTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { true, true, false, true, true } not contains only true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[0] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[1] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[2] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE_FALSE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             !(mocked.m_derefed[3]) | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             !false | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE_FALSE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             !(mocked.m_derefed[4]) | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             !false | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="6" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="6" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <OverallResult success="true"/> | ||||
|   </TestCase> | ||||
|   <TestCase name="Usage of AnyMatch range matcher" tags="[matchers][quantifiers][templated]" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|     <Section name="Basic usage" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
| @@ -16750,6 +16959,215 @@ There is no extra whitespace here | ||||
|     </Section> | ||||
|     <OverallResult success="true"/> | ||||
|   </TestCase> | ||||
|   <TestCase name="Usage of AnyTrue range matcher" tags="[matchers][quantifiers][templated]" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|     <Section name="Basic usage" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="All true evaluates to true" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, AnyTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { true, true, true, true, true } contains at least one true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Basic usage" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="Empty evaluates to false" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, !AnyTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             {  } not contains at least one true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Basic usage" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="One true evalutes to true" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, AnyTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { false, false, true, false, false } contains at least one true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Basic usage" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="All false evaluates to false" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, !AnyTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { false, false, false, false, false } not contains at least one true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Contained type is convertible to bool" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="All true evaluates to true" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, AnyTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { true, true, true, true, true } contains at least one true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Contained type is convertible to bool" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="One true evalutes to true" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, AnyTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { false, false, true, false, false } contains at least one true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Contained type is convertible to bool" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="All false evaluates to false" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, !AnyTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { false, false, false, false, false } not contains at least one true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Shortcircuiting" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="All are read" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked, AnyTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { false, false, false, false, true } contains at least one true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[0] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[1] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[2] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[3] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[4] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="6" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="6" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Shortcircuiting" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="Short-circuited" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked, AnyTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { false, false, true, true, true } contains at least one true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[0] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[1] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[2] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE_FALSE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             !(mocked.m_derefed[3]) | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             !false | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE_FALSE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             !(mocked.m_derefed[4]) | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             !false | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="6" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="6" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <OverallResult success="true"/> | ||||
|   </TestCase> | ||||
|   <TestCase name="Usage of NoneMatch range matcher" tags="[matchers][quantifiers][templated]" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|     <Section name="Basic usage" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
| @@ -16891,6 +17309,215 @@ There is no extra whitespace here | ||||
|     </Section> | ||||
|     <OverallResult success="true"/> | ||||
|   </TestCase> | ||||
|   <TestCase name="Usage of NoneTrue range matcher" tags="[matchers][quantifiers][templated]" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|     <Section name="Basic usage" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="All true evaluates to false" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, !NoneTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { true, true, true, true, true } not contains no true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Basic usage" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="Empty evaluates to true" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, NoneTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             {  } contains no true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Basic usage" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="One true evalutes to false" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, !NoneTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { false, false, true, false, false } not contains no true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Basic usage" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="All false evaluates to true" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, NoneTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { false, false, false, false, false } contains no true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Contained type is convertible to bool" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="All true evaluates to false" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, !NoneTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { true, true, true, true, true } not contains no true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Contained type is convertible to bool" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="One true evalutes to false" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, !NoneTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { false, false, true, false, false } not contains no true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Contained type is convertible to bool" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="All false evaluates to true" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, NoneTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { false, false, false, false, false } contains no true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Shortcircuiting" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="All are read" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked, NoneTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { false, false, false, false, false } contains no true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[0] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[1] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[2] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[3] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[4] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="6" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="6" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Shortcircuiting" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="Short-circuited" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked, !NoneTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { false, false, true, true, true } not contains no true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[0] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[1] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[2] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE_FALSE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             !(mocked.m_derefed[3]) | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             !false | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE_FALSE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             !(mocked.m_derefed[4]) | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             !false | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="6" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="6" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <OverallResult success="true"/> | ||||
|   </TestCase> | ||||
|   <TestCase name="Usage of the SizeIs range matcher" tags="[matchers][size][templated]" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|     <Section name="Some with stdlib containers" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
| @@ -21075,6 +21702,6 @@ loose text artifact | ||||
|     </Section> | ||||
|     <OverallResult success="true"/> | ||||
|   </TestCase> | ||||
|   <OverallResults successes="2072" failures="143" expectedFailures="27"/> | ||||
|   <OverallResultsCases successes="301" failures="83" expectedFailures="7"/> | ||||
|   <OverallResults successes="2129" failures="143" expectedFailures="27"/> | ||||
|   <OverallResultsCases successes="304" failures="83" expectedFailures="7"/> | ||||
| </Catch2TestRun> | ||||
|   | ||||
| @@ -16609,6 +16609,215 @@ There is no extra whitespace here | ||||
|     </Section> | ||||
|     <OverallResult success="true"/> | ||||
|   </TestCase> | ||||
|   <TestCase name="Usage of AllTrue range matcher" tags="[matchers][quantifiers][templated]" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|     <Section name="Basic usage" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="All true evaluates to true" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, AllTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { true, true, true, true, true } contains only true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Basic usage" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="Empty evaluates to true" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, AllTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             {  } contains only true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Basic usage" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="One false evalutes to false" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, !AllTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { true, true, false, true, true } not contains only true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Basic usage" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="All false evaluates to false" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, !AllTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { false, false, false, false, false } not contains only true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Contained type is convertible to bool" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="All true evaluates to true" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, AllTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { true, true, true, true, true } contains only true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Contained type is convertible to bool" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="One false evalutes to false" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, !AllTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { true, true, false, true, true } not contains only true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Contained type is convertible to bool" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="All false evaluates to false" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, !AllTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { false, false, false, false, false } not contains only true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Shortcircuiting" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="All are read" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked, AllTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { true, true, true, true, true } contains only true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[0] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[1] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[2] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[3] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[4] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="6" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="6" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Shortcircuiting" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="Short-circuited" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked, !AllTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { true, true, false, true, true } not contains only true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[0] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[1] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[2] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE_FALSE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             !(mocked.m_derefed[3]) | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             !false | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE_FALSE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             !(mocked.m_derefed[4]) | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             !false | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="6" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="6" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <OverallResult success="true"/> | ||||
|   </TestCase> | ||||
|   <TestCase name="Usage of AnyMatch range matcher" tags="[matchers][quantifiers][templated]" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|     <Section name="Basic usage" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
| @@ -16750,6 +16959,215 @@ There is no extra whitespace here | ||||
|     </Section> | ||||
|     <OverallResult success="true"/> | ||||
|   </TestCase> | ||||
|   <TestCase name="Usage of AnyTrue range matcher" tags="[matchers][quantifiers][templated]" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|     <Section name="Basic usage" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="All true evaluates to true" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, AnyTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { true, true, true, true, true } contains at least one true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Basic usage" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="Empty evaluates to false" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, !AnyTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             {  } not contains at least one true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Basic usage" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="One true evalutes to true" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, AnyTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { false, false, true, false, false } contains at least one true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Basic usage" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="All false evaluates to false" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, !AnyTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { false, false, false, false, false } not contains at least one true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Contained type is convertible to bool" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="All true evaluates to true" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, AnyTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { true, true, true, true, true } contains at least one true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Contained type is convertible to bool" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="One true evalutes to true" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, AnyTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { false, false, true, false, false } contains at least one true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Contained type is convertible to bool" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="All false evaluates to false" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, !AnyTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { false, false, false, false, false } not contains at least one true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Shortcircuiting" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="All are read" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked, AnyTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { false, false, false, false, true } contains at least one true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[0] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[1] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[2] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[3] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[4] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="6" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="6" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Shortcircuiting" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="Short-circuited" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked, AnyTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { false, false, true, true, true } contains at least one true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[0] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[1] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[2] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE_FALSE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             !(mocked.m_derefed[3]) | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             !false | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE_FALSE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             !(mocked.m_derefed[4]) | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             !false | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="6" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="6" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <OverallResult success="true"/> | ||||
|   </TestCase> | ||||
|   <TestCase name="Usage of NoneMatch range matcher" tags="[matchers][quantifiers][templated]" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|     <Section name="Basic usage" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
| @@ -16891,6 +17309,215 @@ There is no extra whitespace here | ||||
|     </Section> | ||||
|     <OverallResult success="true"/> | ||||
|   </TestCase> | ||||
|   <TestCase name="Usage of NoneTrue range matcher" tags="[matchers][quantifiers][templated]" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|     <Section name="Basic usage" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="All true evaluates to false" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, !NoneTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { true, true, true, true, true } not contains no true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Basic usage" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="Empty evaluates to true" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, NoneTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             {  } contains no true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Basic usage" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="One true evalutes to false" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, !NoneTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { false, false, true, false, false } not contains no true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Basic usage" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="All false evaluates to true" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, NoneTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { false, false, false, false, false } contains no true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Contained type is convertible to bool" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="All true evaluates to false" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, !NoneTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { true, true, true, true, true } not contains no true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Contained type is convertible to bool" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="One true evalutes to false" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, !NoneTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { false, false, true, false, false } not contains no true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Contained type is convertible to bool" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="All false evaluates to true" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             data, NoneTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { false, false, false, false, false } contains no true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="1" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Shortcircuiting" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="All are read" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked, NoneTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { false, false, false, false, false } contains no true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[0] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[1] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[2] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[3] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[4] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="6" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="6" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <Section name="Shortcircuiting" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Section name="Short-circuited" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked, !NoneTrue() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             { false, false, true, true, true } not contains no true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[0] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[1] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             mocked.m_derefed[2] | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             true | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE_FALSE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             !(mocked.m_derefed[3]) | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             !false | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE_FALSE" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|           <Original> | ||||
|             !(mocked.m_derefed[4]) | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             !false | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="6" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResults successes="6" failures="0" expectedFailures="0"/> | ||||
|     </Section> | ||||
|     <OverallResult success="true"/> | ||||
|   </TestCase> | ||||
|   <TestCase name="Usage of the SizeIs range matcher" tags="[matchers][size][templated]" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|     <Section name="Some with stdlib containers" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
|       <Expression success="true" type="REQUIRE_THAT" filename="tests/<exe-name>/UsageTests/MatchersRanges.tests.cpp" > | ||||
| @@ -21074,6 +21701,6 @@ There is no extra whitespace here | ||||
|     </Section> | ||||
|     <OverallResult success="true"/> | ||||
|   </TestCase> | ||||
|   <OverallResults successes="2072" failures="143" expectedFailures="27"/> | ||||
|   <OverallResultsCases successes="301" failures="83" expectedFailures="7"/> | ||||
|   <OverallResults successes="2129" failures="143" expectedFailures="27"/> | ||||
|   <OverallResultsCases successes="304" failures="83" expectedFailures="7"/> | ||||
| </Catch2TestRun> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user