mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 21:05:39 +02:00
clean up comments
This commit is contained in:
@@ -25,8 +25,6 @@ using Microsoft::VisualStudio::CppUnitTestFramework::__LineInfo;
|
||||
#include "internal/catch_vs_test_registry.hpp"
|
||||
#include "reporters/catch_vs_reporter.hpp"
|
||||
|
||||
#include "internal/catch_exception_translator_registry.hpp"
|
||||
|
||||
namespace Catch {
|
||||
|
||||
class ExceptionRegistryHub : public IRegistryHub, public IMutableRegistryHub {
|
||||
|
@@ -16,7 +16,6 @@
|
||||
#include "catch_common.h"
|
||||
#include "catch_interfaces_testcase.h"
|
||||
#include "internal/catch_compiler_capabilities.h"
|
||||
//#include "catch_config.hpp"
|
||||
#include <tchar.h>
|
||||
|
||||
namespace Catch {
|
||||
@@ -38,34 +37,6 @@ namespace Catch {
|
||||
TestFunction m_fun;
|
||||
};
|
||||
|
||||
/*inline std::string translateActiveException() {
|
||||
try {
|
||||
#ifdef __OBJC__
|
||||
// In Objective-C try objective-c exceptions first
|
||||
@try {
|
||||
throw;
|
||||
}
|
||||
@catch (NSException *exception) {
|
||||
return toString( [exception description] );
|
||||
}
|
||||
#else
|
||||
throw;
|
||||
#endif
|
||||
}
|
||||
catch( std::exception& ex ) {
|
||||
return ex.what();
|
||||
}
|
||||
catch( std::string& msg ) {
|
||||
return msg;
|
||||
}
|
||||
catch( const char* msg ) {
|
||||
return msg;
|
||||
}
|
||||
catch(...) {
|
||||
return "Unknown exception";
|
||||
}
|
||||
}*/
|
||||
|
||||
class MethodTestCase : public SharedImpl<ITestCase> {
|
||||
|
||||
struct placeholder
|
||||
|
Reference in New Issue
Block a user