C++的一个好库。。。现在很流行

源代码在线查看: errors_handling_test.pattern

软件大小: 21075 K
上传用户: lyyfengyutongzh
关键词:
下载地址: 免注册下载 普通下载 VIP

相关代码

				
				===========================
				log level: log_successful_tests; error type: no error;
				
				Entering test case "error_on_demand"
				97: info: check 'no error' passed
				197: info: check 'Test case has less failures then expected' passed
				Leaving test case "error_on_demand"
				
				===========================
				log level: log_successful_tests; error type: user message;
				
				Entering test case "error_on_demand"
				message
				197: info: check 'Test case has less failures then expected' passed
				Leaving test case "error_on_demand"
				
				===========================
				log level: log_successful_tests; error type: user warning;
				
				Entering test case "error_on_demand"
				105: warning in "error_on_demand": warning
				197: info: check 'Test case has less failures then expected' passed
				Leaving test case "error_on_demand"
				
				===========================
				log level: log_successful_tests; error type: user non-fatal error;
				
				Entering test case "error_on_demand"
				109: error in "error_on_demand": non-fatal error
				197: info: check 'Test case has less failures then expected' passed
				Leaving test case "error_on_demand"
				
				===========================
				log level: log_successful_tests; error type: cpp exception;
				
				Entering test case "error_on_demand"
				0: fatal error in "error_on_demand": std::runtime_error: test std::runtime error what() message
				119: last checkpoint: error_on_demand() throw runtime_error
				197: info: check 'Test case has less failures then expected' passed
				Leaving test case "error_on_demand"
				
				===========================
				log level: log_successful_tests; error type:  system error;
				
				Entering test case "error_on_demand"
				0: fatal error in "error_on_demand": integer divide by zero
				124: last checkpoint: error_on_demand() divide by zero
				197: info: check 'Test case has less failures then expected' passed
				Leaving test case "error_on_demand"
				
				===========================
				log level: log_successful_tests; error type: user fatal error;
				
				Entering test case "error_on_demand"
				113: fatal error in "error_on_demand": fatal error
				197: info: check 'Test case has less failures then expected' passed
				Leaving test case "error_on_demand"
				
				===========================
				log level: log_successful_tests; error type: system fatal error;
				
				Entering test case "error_on_demand"
				0: fatal error in "error_on_demand": memory access violation
				129: last checkpoint: write to an invalid address
				Test is aborted
				197: info: check 'Test case has less failures then expected' passed
				Leaving test case "error_on_demand"
				
				===========================
				log level: log_test_suites; error type: no error;
				
				Entering test case "error_on_demand"
				Leaving test case "error_on_demand"
				
				===========================
				log level: log_test_suites; error type: user message;
				
				Entering test case "error_on_demand"
				message
				Leaving test case "error_on_demand"
				
				===========================
				log level: log_test_suites; error type: user warning;
				
				Entering test case "error_on_demand"
				105: warning in "error_on_demand": warning
				Leaving test case "error_on_demand"
				
				===========================
				log level: log_test_suites; error type: user non-fatal error;
				
				Entering test case "error_on_demand"
				109: error in "error_on_demand": non-fatal error
				Leaving test case "error_on_demand"
				
				===========================
				log level: log_test_suites; error type: cpp exception;
				
				Entering test case "error_on_demand"
				0: fatal error in "error_on_demand": std::runtime_error: test std::runtime error what() message
				119: last checkpoint: error_on_demand() throw runtime_error
				Leaving test case "error_on_demand"
				
				===========================
				log level: log_test_suites; error type:  system error;
				
				Entering test case "error_on_demand"
				0: fatal error in "error_on_demand": integer divide by zero
				124: last checkpoint: error_on_demand() divide by zero
				Leaving test case "error_on_demand"
				
				===========================
				log level: log_test_suites; error type: user fatal error;
				
				Entering test case "error_on_demand"
				113: fatal error in "error_on_demand": fatal error
				Leaving test case "error_on_demand"
				
				===========================
				log level: log_test_suites; error type: system fatal error;
				
				Entering test case "error_on_demand"
				0: fatal error in "error_on_demand": memory access violation
				129: last checkpoint: write to an invalid address
				Test is aborted
				Leaving test case "error_on_demand"
				
				===========================
				log level: log_messages; error type: no error;
				
				
				===========================
				log level: log_messages; error type: user message;
				
				message
				
				===========================
				log level: log_messages; error type: user warning;
				
				105: warning in "error_on_demand": warning
				
				===========================
				log level: log_messages; error type: user non-fatal error;
				
				109: error in "error_on_demand": non-fatal error
				
				===========================
				log level: log_messages; error type: cpp exception;
				
				0: fatal error in "error_on_demand": std::runtime_error: test std::runtime error what() message
				119: last checkpoint: error_on_demand() throw runtime_error
				
				===========================
				log level: log_messages; error type:  system error;
				
				0: fatal error in "error_on_demand": integer divide by zero
				124: last checkpoint: error_on_demand() divide by zero
				
				===========================
				log level: log_messages; error type: user fatal error;
				
				113: fatal error in "error_on_demand": fatal error
				
				===========================
				log level: log_messages; error type: system fatal error;
				
				0: fatal error in "error_on_demand": memory access violation
				129: last checkpoint: write to an invalid address
				Test is aborted
				
				===========================
				log level: log_warnings; error type: no error;
				
				
				===========================
				log level: log_warnings; error type: user message;
				
				
				===========================
				log level: log_warnings; error type: user warning;
				
				105: warning in "error_on_demand": warning
				
				===========================
				log level: log_warnings; error type: user non-fatal error;
				
				109: error in "error_on_demand": non-fatal error
				
				===========================
				log level: log_warnings; error type: cpp exception;
				
				0: fatal error in "error_on_demand": std::runtime_error: test std::runtime error what() message
				119: last checkpoint: error_on_demand() throw runtime_error
				
				===========================
				log level: log_warnings; error type:  system error;
				
				0: fatal error in "error_on_demand": integer divide by zero
				124: last checkpoint: error_on_demand() divide by zero
				
				===========================
				log level: log_warnings; error type: user fatal error;
				
				113: fatal error in "error_on_demand": fatal error
				
				===========================
				log level: log_warnings; error type: system fatal error;
				
				0: fatal error in "error_on_demand": memory access violation
				129: last checkpoint: write to an invalid address
				
				===========================
				log level: log_all_errors; error type: no error;
				
				
				===========================
				log level: log_all_errors; error type: user message;
				
				
				===========================
				log level: log_all_errors; error type: user warning;
				
				
				===========================
				log level: log_all_errors; error type: user non-fatal error;
				
				109: error in "error_on_demand": non-fatal error
				
				===========================
				log level: log_all_errors; error type: cpp exception;
				
				0: fatal error in "error_on_demand": std::runtime_error: test std::runtime error what() message
				119: last checkpoint: error_on_demand() throw runtime_error
				
				===========================
				log level: log_all_errors; error type:  system error;
				
				0: fatal error in "error_on_demand": integer divide by zero
				124: last checkpoint: error_on_demand() divide by zero
				
				===========================
				log level: log_all_errors; error type: user fatal error;
				
				113: fatal error in "error_on_demand": fatal error
				
				===========================
				log level: log_all_errors; error type: system fatal error;
				
				0: fatal error in "error_on_demand": memory access violation
				129: last checkpoint: write to an invalid address
				
				===========================
				log level: log_cpp_exception_errors; error type: no error;
				
				
				===========================
				log level: log_cpp_exception_errors; error type: user message;
				
				
				===========================
				log level: log_cpp_exception_errors; error type: user warning;
				
				
				===========================
				log level: log_cpp_exception_errors; error type: user non-fatal error;
				
				
				===========================
				log level: log_cpp_exception_errors; error type: cpp exception;
				
				0: fatal error in "error_on_demand": std::runtime_error: test std::runtime error what() message
				119: last checkpoint: error_on_demand() throw runtime_error
				
				===========================
				log level: log_cpp_exception_errors; error type:  system error;
				
				0: fatal error in "error_on_demand": integer divide by zero
				124: last checkpoint: error_on_demand() divide by zero
				
				===========================
				log level: log_cpp_exception_errors; error type: user fatal error;
				
				113: fatal error in "error_on_demand": fatal error
				
				===========================
				log level: log_cpp_exception_errors; error type: system fatal error;
				
				0: fatal error in "error_on_demand": memory access violation
				129: last checkpoint: write to an invalid address
				
				===========================
				log level: log_system_errors; error type: no error;
				
				
				===========================
				log level: log_system_errors; error type: user message;
				
				
				===========================
				log level: log_system_errors; error type: user warning;
				
				
				===========================
				log level: log_system_errors; error type: user non-fatal error;
				
				
				===========================
				log level: log_system_errors; error type: cpp exception;
				
				
				===========================
				log level: log_system_errors; error type:  system error;
				
				0: fatal error in "error_on_demand": integer divide by zero
				124: last checkpoint: error_on_demand() divide by zero
				
				===========================
				log level: log_system_errors; error type: user fatal error;
				
				113: fatal error in "error_on_demand": fatal error
				
				===========================
				log level: log_system_errors; error type: system fatal error;
				
				0: fatal error in "error_on_demand": memory access violation
				129: last checkpoint: write to an invalid address
				
				===========================
				log level: log_fatal_errors; error type: no error;
				
				
				===========================
				log level: log_fatal_errors; error type: user message;
				
				
				===========================
				log level: log_fatal_errors; error type: user warning;
				
				
				===========================
				log level: log_fatal_errors; error type: user non-fatal error;
				
				
				===========================
				log level: log_fatal_errors; error type: cpp exception;
				
				
				===========================
				log level: log_fatal_errors; error type:  system error;
				
				
				===========================
				log level: log_fatal_errors; error type: user fatal error;
				
				113: fatal error in "error_on_demand": fatal error
				
				===========================
				log level: log_fatal_errors; error type: system fatal error;
				
				0: fatal error in "error_on_demand": memory access violation
				129: last checkpoint: write to an invalid address
				
				===========================
				log level: log_nothing; error type: no error;
				
				
				===========================
				log level: log_nothing; error type: user message;
				
				
				===========================
				log level: log_nothing; error type: user warning;
				
				
				===========================
				log level: log_nothing; error type: user non-fatal error;
				
				
				===========================
				log level: log_nothing; error type: cpp exception;
				
				
				===========================
				log level: log_nothing; error type:  system error;
				
				
				===========================
				log level: log_nothing; error type: user fatal error;
				
				
				===========================
				log level: log_nothing; error type: system fatal error;
				
							

相关资源