mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 12:17:11 +01:00 
			
		
		
		
	Update approval tests
This commit is contained in:
		| @@ -652,6 +652,9 @@ String.tests.cpp:<line number>: passed: stdStr == "a stringref" for: "a stringre | ||||
| String.tests.cpp:<line number>: passed: stdStr.size() == sr.size() for: 11 == 11 | ||||
| String.tests.cpp:<line number>: passed: stdStr == "a stringref" for: "a stringref" == "a stringref" | ||||
| String.tests.cpp:<line number>: passed: stdStr.size() == sr.size() for: 11 == 11 | ||||
| String.tests.cpp:<line number>: passed: ascii.numberOfCharacters() == ascii.size() for: 39 == 39 | ||||
| String.tests.cpp:<line number>: passed: simpleu8.numberOfCharacters() == 30 for: 30 == 30 | ||||
| String.tests.cpp:<line number>: passed: emojis.numberOfCharacters() == 9 for: 9 == 9 | ||||
| ToStringChrono.tests.cpp:<line number>: passed: minute == seconds for: 1 m == 60 s | ||||
| ToStringChrono.tests.cpp:<line number>: passed: hour != seconds for: 1 h != 60 s | ||||
| ToStringChrono.tests.cpp:<line number>: passed: micro != milli for: 1 us != 1 ms | ||||
|   | ||||
| @@ -1065,5 +1065,5 @@ with expansion: | ||||
|  | ||||
| =============================================================================== | ||||
| test cases: 198 | 147 passed |  47 failed |  4 failed as expected | ||||
| assertions: 996 | 870 passed | 105 failed | 21 failed as expected | ||||
| assertions: 999 | 873 passed | 105 failed | 21 failed as expected | ||||
|  | ||||
|   | ||||
| @@ -5239,6 +5239,31 @@ PASSED: | ||||
| with expansion: | ||||
|   11 == 11 | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| StringRef | ||||
|   Counting utf-8 codepoints | ||||
| ------------------------------------------------------------------------------- | ||||
| String.tests.cpp:<line number> | ||||
| ............................................................................... | ||||
|  | ||||
| String.tests.cpp:<line number>: | ||||
| PASSED: | ||||
|   REQUIRE( ascii.numberOfCharacters() == ascii.size() ) | ||||
| with expansion: | ||||
|   39 == 39 | ||||
|  | ||||
| String.tests.cpp:<line number>: | ||||
| PASSED: | ||||
|   REQUIRE( simpleu8.numberOfCharacters() == 30 ) | ||||
| with expansion: | ||||
|   30 == 30 | ||||
|  | ||||
| String.tests.cpp:<line number>: | ||||
| PASSED: | ||||
|   REQUIRE( emojis.numberOfCharacters() == 9 ) | ||||
| with expansion: | ||||
|   9 == 9 | ||||
|  | ||||
| ------------------------------------------------------------------------------- | ||||
| Stringifying std::chrono::duration helpers | ||||
| ------------------------------------------------------------------------------- | ||||
| @@ -8442,5 +8467,5 @@ PASSED: | ||||
|  | ||||
| =============================================================================== | ||||
| test cases:  198 | 133 passed |  61 failed |  4 failed as expected | ||||
| assertions: 1007 | 866 passed | 120 failed | 21 failed as expected | ||||
| assertions: 1010 | 869 passed | 120 failed | 21 failed as expected | ||||
|  | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <testsuitesloose text artifact | ||||
| > | ||||
|   <testsuite name="<exe-name>" errors="15" failures="106" tests="1008" hostname="tbd" time="{duration}" timestamp="{iso8601-timestamp}"> | ||||
|   <testsuite name="<exe-name>" errors="15" failures="106" tests="1011" hostname="tbd" time="{duration}" timestamp="{iso8601-timestamp}"> | ||||
|     <testcase classname="<exe-name>.global" name="# A test name that starts with a #" time="{duration}"/> | ||||
|     <testcase classname="<exe-name>.global" name="#1005: Comparing pointer to int and long (NULL can be either on various systems)" time="{duration}"/> | ||||
|     <testcase classname="<exe-name>.global" name="#1027" time="{duration}"/> | ||||
| @@ -562,6 +562,7 @@ String.tests.cpp:<line number> | ||||
|     <testcase classname="<exe-name>.global" name="StringRef/to std::string/implicitly constructed" time="{duration}"/> | ||||
|     <testcase classname="<exe-name>.global" name="StringRef/to std::string/explicitly constructed" time="{duration}"/> | ||||
|     <testcase classname="<exe-name>.global" name="StringRef/to std::string/assigned" time="{duration}"/> | ||||
|     <testcase classname="<exe-name>.global" name="StringRef/Counting utf-8 codepoints" time="{duration}"/> | ||||
|     <testcase classname="<exe-name>.global" name="Stringifying std::chrono::duration helpers" time="{duration}"/> | ||||
|     <testcase classname="<exe-name>.global" name="Stringifying std::chrono::duration with weird ratios" time="{duration}"/> | ||||
|     <testcase classname="<exe-name>.global" name="Stringifying std::chrono::time_point<system_clock>" time="{duration}"/> | ||||
|   | ||||
| @@ -5582,7 +5582,7 @@ Message from section two | ||||
|       </Expression> | ||||
|       <OverallResult success="true"/> | ||||
|     </TestCase> | ||||
|     <TestCase name="StringRef" tags="[Strings]" filename="projects/<exe-name>/IntrospectiveTests/String.tests.cpp" > | ||||
|     <TestCase name="StringRef" tags="[StringRef][Strings]" filename="projects/<exe-name>/IntrospectiveTests/String.tests.cpp" > | ||||
|       <Section name="Empty string" filename="projects/<exe-name>/IntrospectiveTests/String.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/IntrospectiveTests/String.tests.cpp" > | ||||
|           <Original> | ||||
| @@ -5992,6 +5992,33 @@ Message from section two | ||||
|         </Section> | ||||
|         <OverallResults successes="2" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <Section name="Counting utf-8 codepoints" filename="projects/<exe-name>/IntrospectiveTests/String.tests.cpp" > | ||||
|         <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/IntrospectiveTests/String.tests.cpp" > | ||||
|           <Original> | ||||
|             ascii.numberOfCharacters() == ascii.size() | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             39 == 39 | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/IntrospectiveTests/String.tests.cpp" > | ||||
|           <Original> | ||||
|             simpleu8.numberOfCharacters() == 30 | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             30 == 30 | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/IntrospectiveTests/String.tests.cpp" > | ||||
|           <Original> | ||||
|             emojis.numberOfCharacters() == 9 | ||||
|           </Original> | ||||
|           <Expanded> | ||||
|             9 == 9 | ||||
|           </Expanded> | ||||
|         </Expression> | ||||
|         <OverallResults successes="3" failures="0" expectedFailures="0"/> | ||||
|       </Section> | ||||
|       <OverallResult success="false"/> | ||||
|     </TestCase> | ||||
|     <TestCase name="Stringifying std::chrono::duration helpers" tags="[chrono][toString]" filename="projects/<exe-name>/UsageTests/ToStringChrono.tests.cpp" > | ||||
| @@ -8375,7 +8402,7 @@ loose text artifact | ||||
|       </Section> | ||||
|       <OverallResult success="true"/> | ||||
|     </TestCase> | ||||
|     <TestCase name="replaceInPlace" filename="projects/<exe-name>/IntrospectiveTests/String.tests.cpp" > | ||||
|     <TestCase name="replaceInPlace" tags="[StringManip][Strings]" filename="projects/<exe-name>/IntrospectiveTests/String.tests.cpp" > | ||||
|       <Section name="replace single char" filename="projects/<exe-name>/IntrospectiveTests/String.tests.cpp" > | ||||
|         <Expression success="true" type="CHECK" filename="projects/<exe-name>/IntrospectiveTests/String.tests.cpp" > | ||||
|           <Original> | ||||
| @@ -9296,7 +9323,7 @@ loose text artifact | ||||
|       </Section> | ||||
|       <OverallResult success="true"/> | ||||
|     </TestCase> | ||||
|     <OverallResults successes="866" failures="121" expectedFailures="21"/> | ||||
|     <OverallResults successes="869" failures="121" expectedFailures="21"/> | ||||
|   </Group> | ||||
|   <OverallResults successes="866" failures="120" expectedFailures="21"/> | ||||
|   <OverallResults successes="869" failures="120" expectedFailures="21"/> | ||||
| </Catch> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský