mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-17 11:12:25 +01:00
clean up comments
This commit is contained in:
parent
32e81790d6
commit
2a14dffe97
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,6 +5,7 @@
|
|||||||
*.sdf
|
*.sdf
|
||||||
*.opensdf
|
*.opensdf
|
||||||
*.suo
|
*.suo
|
||||||
|
*.lnt
|
||||||
Debug
|
Debug
|
||||||
Release
|
Release
|
||||||
ipch
|
ipch
|
||||||
|
@ -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 {
|
||||||
|
@ -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
|
||||||
|
@ -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 {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user