mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	Added approvals for new tests
This commit is contained in:
		| @@ -786,6 +786,6 @@ with expansion: | ||||
|   "first" == "second" | ||||
|  | ||||
| =============================================================================== | ||||
| test cases: 125 |  86 passed | 38 failed |  1 failed as expected | ||||
| assertions: 703 | 611 passed | 79 failed | 13 failed as expected | ||||
| test cases: 130 |  91 passed | 38 failed |  1 failed as expected | ||||
| assertions: 709 | 617 passed | 79 failed | 13 failed as expected | ||||
|  | ||||
|   | ||||
| @@ -3572,6 +3572,54 @@ with expansion: | ||||
|   } | ||||
|   " | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| toString on const wchar_t const pointer returns the string contents | ||||
| ------------------------------------------------------------------------------- | ||||
| MiscTests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MiscTests.cpp:<line number>: | ||||
| PASSED: | ||||
|   CHECK( result == "\"wide load\"" ) | ||||
| with expansion: | ||||
|   ""wide load"" == ""wide load"" | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| toString on const wchar_t pointer returns the string contents | ||||
| ------------------------------------------------------------------------------- | ||||
| MiscTests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MiscTests.cpp:<line number>: | ||||
| PASSED: | ||||
|   CHECK( result == "\"wide load\"" ) | ||||
| with expansion: | ||||
|   ""wide load"" == ""wide load"" | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| toString on wchar_t const pointer returns the string contents | ||||
| ------------------------------------------------------------------------------- | ||||
| MiscTests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MiscTests.cpp:<line number>: | ||||
| PASSED: | ||||
|   CHECK( result == "\"wide load\"" ) | ||||
| with expansion: | ||||
|   ""wide load"" == ""wide load"" | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| toString on wchar_t returns the string contents | ||||
| ------------------------------------------------------------------------------- | ||||
| MiscTests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| MiscTests.cpp:<line number>: | ||||
| PASSED: | ||||
|   CHECK( result == "\"wide load\"" ) | ||||
| with expansion: | ||||
|   ""wide load"" == ""wide load"" | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Process can be configured on command line | ||||
|   default - no arguments | ||||
| @@ -7124,6 +7172,36 @@ PASSED: | ||||
| with message: | ||||
|   boo! | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Scenario: BDD tests requiring Fixtures to provide commonly-accessed data or | ||||
|           methods | ||||
|      Given: No operations precede me | ||||
| ------------------------------------------------------------------------------- | ||||
| BDDTests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| BDDTests.cpp:<line number>: | ||||
| PASSED: | ||||
|   REQUIRE( before == 0 ) | ||||
| with expansion: | ||||
|   0 == 0 | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Scenario: BDD tests requiring Fixtures to provide commonly-accessed data or | ||||
|           methods | ||||
|      Given: No operations precede me | ||||
|       When: We get the count | ||||
|       Then: Subsequently values are higher | ||||
| ------------------------------------------------------------------------------- | ||||
| BDDTests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| BDDTests.cpp:<line number>: | ||||
| PASSED: | ||||
|   REQUIRE( after > before ) | ||||
| with expansion: | ||||
|   1 > 0 | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| section tracking | ||||
| ------------------------------------------------------------------------------- | ||||
| @@ -7297,6 +7375,6 @@ with expansion: | ||||
|   true | ||||
|  | ||||
| =============================================================================== | ||||
| test cases: 125 |  70 passed | 54 failed |  1 failed as expected | ||||
| assertions: 723 | 611 passed | 99 failed | 13 failed as expected | ||||
| test cases: 130 |  75 passed | 54 failed |  1 failed as expected | ||||
| assertions: 729 | 617 passed | 99 failed | 13 failed as expected | ||||
|  | ||||
|   | ||||
| @@ -1,5 +1,5 @@ | ||||
| <testsuites> | ||||
|   <testsuite errors="12" failures="87" tests="723" hostname="tbd" time="{duration}" timestamp="tbd"> | ||||
|   <testsuite errors="12" failures="87" tests="729" hostname="tbd" time="{duration}" timestamp="tbd"> | ||||
|     <testcase classname="global" name="Some simple comparisons between doubles" time="{duration}"/> | ||||
|     <testcase classname="global" name="Approximate comparisons with different epsilons" time="{duration}"/> | ||||
|     <testcase classname="global" name="Approximate comparisons with floats" time="{duration}"/> | ||||
| @@ -447,6 +447,10 @@ MiscTests.cpp:<line number> | ||||
| MiscTests.cpp:<line number> | ||||
|       </failure> | ||||
|     </testcase> | ||||
|     <testcase classname="global" name="toString on const wchar_t const pointer returns the string contents" time="{duration}"/> | ||||
|     <testcase classname="global" name="toString on const wchar_t pointer returns the string contents" time="{duration}"/> | ||||
|     <testcase classname="global" name="toString on wchar_t const pointer returns the string contents" time="{duration}"/> | ||||
|     <testcase classname="global" name="toString on wchar_t returns the string contents" time="{duration}"/> | ||||
|     <testcase classname="Process can be configured on command line" name="default - no arguments" time="{duration}"/> | ||||
|     <testcase classname="Process can be configured on command line" name="test lists/1 test" time="{duration}"/> | ||||
|     <testcase classname="Process can be configured on command line" name="test lists/Specify one test case exclusion using exclude:" time="{duration}"/> | ||||
| @@ -568,6 +572,8 @@ TrickyTests.cpp:<line number> | ||||
|     <testcase classname="Scenario: Vector resizing affects size and capacity" name="Given: an empty vector/When: it is made larger/Then: the size and capacity go up/And when: it is made smaller again/Then: the size goes down but the capacity stays the same" time="{duration}"/> | ||||
|     <testcase classname="Scenario: Vector resizing affects size and capacity" name="Given: an empty vector/When: we reserve more space/Then: The capacity is increased but the size remains the same" time="{duration}"/> | ||||
|     <testcase classname="Scenario: This is a really long scenario name to see how the list command deals with wrapping" name="Given: A section name that is so long that it cannot fit in a single console width/When: The test headers are printed as part of the normal running of the scenario/Then: The, deliberately very long and overly verbose (you see what I did there?) section names must wrap, along with an indent" time="{duration}"/> | ||||
|     <testcase classname="Fixture" name="Scenario: BDD tests requiring Fixtures to provide commonly-accessed data or methods/Given: No operations precede me" time="{duration}"/> | ||||
|     <testcase classname="Fixture" name="Scenario: BDD tests requiring Fixtures to provide commonly-accessed data or methods/Given: No operations precede me/When: We get the count/Then: Subsequently values are higher" time="{duration}"/> | ||||
|     <testcase classname="section tracking" name="root" time="{duration}"/> | ||||
|     <testcase classname="section tracking" name="test case with no sections" time="{duration}"/> | ||||
|     <testcase classname="section tracking" name="test case with one section" time="{duration}"/> | ||||
|   | ||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Reference in New Issue
	
	Block a user
	 Phil Nash
					Phil Nash