clean up comments

This commit is contained in:
Malcolm Noyes 2013-11-22 07:38:50 +00:00
parent 32e81790d6
commit 2a14dffe97
4 changed files with 1 additions and 34 deletions

1
.gitignore vendored
View File

@ -5,6 +5,7 @@
*.sdf *.sdf
*.opensdf *.opensdf
*.suo *.suo
*.lnt
Debug Debug
Release Release
ipch ipch

View File

@ -25,8 +25,6 @@ using Microsoft::VisualStudio::CppUnitTestFramework::__LineInfo;
#include "internal/catch_vs_test_registry.hpp" #include "internal/catch_vs_test_registry.hpp"
#include "reporters/catch_vs_reporter.hpp" #include "reporters/catch_vs_reporter.hpp"
#include "internal/catch_exception_translator_registry.hpp"
namespace Catch { namespace Catch {
class ExceptionRegistryHub : public IRegistryHub, public IMutableRegistryHub { class ExceptionRegistryHub : public IRegistryHub, public IMutableRegistryHub {

View File

@ -16,7 +16,6 @@
#include "catch_common.h" #include "catch_common.h"
#include "catch_interfaces_testcase.h" #include "catch_interfaces_testcase.h"
#include "internal/catch_compiler_capabilities.h" #include "internal/catch_compiler_capabilities.h"
//#include "catch_config.hpp"
#include <tchar.h> #include <tchar.h>
namespace Catch { namespace Catch {
@ -38,34 +37,6 @@ namespace Catch {
TestFunction m_fun; 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> { class MethodTestCase : public SharedImpl<ITestCase> {
struct placeholder struct placeholder

View File

@ -9,11 +9,8 @@
#define TWOBLUECUBES_CATCH_REPORTER_MSTEST_HPP_INCLUDED #define TWOBLUECUBES_CATCH_REPORTER_MSTEST_HPP_INCLUDED
#include "../internal/catch_interfaces_reporter.h" #include "../internal/catch_interfaces_reporter.h"
//#include "../internal/catch_reporter_registrars.hpp"
#include "../internal/catch_text.h" #include "../internal/catch_text.h"
//#include "../internal/catch_console_colour.hpp"
#include "../internal/catch_version.h" #include "../internal/catch_version.h"
//#include <sstream>
namespace Catch { namespace Catch {