mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 04:07:10 +01:00 
			
		
		
		
	Added clog test
This commit is contained in:
		| @@ -700,6 +700,7 @@ with expansion: | ||||
|  | ||||
| A string sent directly to stdout | ||||
| A string sent directly to stderr | ||||
| A string sent to stderr via clog | ||||
| Message from section one | ||||
| Message from section two | ||||
| ------------------------------------------------------------------------------- | ||||
|   | ||||
| @@ -4573,6 +4573,7 @@ with expansion: | ||||
|  | ||||
| A string sent directly to stdout | ||||
| A string sent directly to stderr | ||||
| A string sent to stderr via clog | ||||
| ------------------------------------------------------------------------------- | ||||
| Some simple comparisons between doubles | ||||
| ------------------------------------------------------------------------------- | ||||
|   | ||||
| @@ -517,6 +517,7 @@ A string sent directly to stdout | ||||
|       </system-out> | ||||
|       <system-err> | ||||
| A string sent directly to stderr | ||||
| A string sent to stderr via clog | ||||
|       </system-err> | ||||
|     </testcase> | ||||
|     <testcase classname="<exe-name>.global" name="Some simple comparisons between doubles" time="{duration}"/> | ||||
| @@ -835,6 +836,7 @@ Message from section two | ||||
|     </system-out> | ||||
|     <system-err> | ||||
| A string sent directly to stderr | ||||
| A string sent to stderr via clog | ||||
|     </system-err> | ||||
|   </testsuite> | ||||
| </testsuites> | ||||
|   | ||||
| @@ -5260,6 +5260,7 @@ A string sent directly to stdout | ||||
|         </StdOut> | ||||
|         <StdErr> | ||||
| A string sent directly to stderr | ||||
| A string sent to stderr via clog | ||||
|         </StdErr> | ||||
|       </OverallResult> | ||||
|     </TestCase> | ||||
|   | ||||
| @@ -148,8 +148,8 @@ TEST_CASE( "looped tests", "[.][failing]" ) { | ||||
|  | ||||
| TEST_CASE( "Sends stuff to stdout and stderr", "[.]" ) { | ||||
|     std::cout << "A string sent directly to stdout" << std::endl; | ||||
|  | ||||
|     std::cerr << "A string sent directly to stderr" << std::endl; | ||||
|     std::clog << "A string sent to stderr via clog" << std::endl; | ||||
| } | ||||
|  | ||||
| TEST_CASE( "null strings" ) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Phil Nash
					Phil Nash