diff --git a/.gitignore b/.gitignore index d9cfe6d7..45fc0fa8 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ *.sdf *.opensdf *.suo +*.lnt Debug Release ipch diff --git a/include/internal/catch_vs_native_impl.hpp b/include/internal/catch_vs_native_impl.hpp index 6930b213..f0c2e242 100644 --- a/include/internal/catch_vs_native_impl.hpp +++ b/include/internal/catch_vs_native_impl.hpp @@ -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 { diff --git a/include/internal/catch_vs_test_registry.hpp b/include/internal/catch_vs_test_registry.hpp index a144903a..ee1e022b 100644 --- a/include/internal/catch_vs_test_registry.hpp +++ b/include/internal/catch_vs_test_registry.hpp @@ -16,7 +16,6 @@ #include "catch_common.h" #include "catch_interfaces_testcase.h" #include "internal/catch_compiler_capabilities.h" -//#include "catch_config.hpp" #include 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 { struct placeholder diff --git a/include/reporters/catch_vs_reporter.hpp b/include/reporters/catch_vs_reporter.hpp index 54ef5c68..29f0be57 100644 --- a/include/reporters/catch_vs_reporter.hpp +++ b/include/reporters/catch_vs_reporter.hpp @@ -9,11 +9,8 @@ #define TWOBLUECUBES_CATCH_REPORTER_MSTEST_HPP_INCLUDED #include "../internal/catch_interfaces_reporter.h" -//#include "../internal/catch_reporter_registrars.hpp" #include "../internal/catch_text.h" -//#include "../internal/catch_console_colour.hpp" #include "../internal/catch_version.h" -//#include namespace Catch {