mirror of
https://github.com/catchorg/Catch2.git
synced 2025-10-24 18:35:38 +02:00
fix coding style deviations
This commit is contained in:
@@ -157,8 +157,7 @@ namespace Catch {
|
||||
return m_userHooks;
|
||||
}
|
||||
|
||||
void addUserHook(ITestCaseHook* hook)
|
||||
{
|
||||
void addUserHook(ITestCaseHook* hook) {
|
||||
m_userHooks.push_back(hook);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,8 +35,8 @@ namespace Catch {
|
||||
Never
|
||||
}; };
|
||||
|
||||
struct ITestCaseHook
|
||||
{
|
||||
struct ITestCaseHook {
|
||||
|
||||
virtual ~ITestCaseHook() {}
|
||||
|
||||
virtual void sectionStarting(TestCaseInfo const & testCaseInfo) = 0;
|
||||
|
||||
@@ -256,8 +256,7 @@ namespace Catch {
|
||||
return action;
|
||||
}
|
||||
|
||||
void runTestCaseStartingHook(TestCaseInfo const& testCaseInfo)
|
||||
{
|
||||
void runTestCaseStartingHook(TestCaseInfo const& testCaseInfo) {
|
||||
std::vector<ITestCaseHook*> const & validations = m_config->userTestCaseHooks();
|
||||
|
||||
for(std::vector<ITestCaseHook*>::const_iterator it = validations.begin(), end = validations.end(); it != end; ++it)
|
||||
@@ -266,8 +265,7 @@ namespace Catch {
|
||||
}
|
||||
}
|
||||
|
||||
void runTestCaseEndingHook(TestCaseInfo const& testCaseInfo)
|
||||
{
|
||||
void runTestCaseEndingHook(TestCaseInfo const& testCaseInfo) {
|
||||
std::vector<ITestCaseHook*> const & validations = m_config->userTestCaseHooks();
|
||||
|
||||
for(std::vector<ITestCaseHook*>::const_reverse_iterator it = validations.rbegin(), end = validations.rend(); it != end; ++it)
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
namespace Catch {
|
||||
|
||||
// These numbers are maintained by a script
|
||||
Version libraryVersion( 1, 0, 33, "master" );
|
||||
Version libraryVersion( 1, 0, 34, "master" );
|
||||
}
|
||||
|
||||
#endif // TWOBLUECUBES_CATCH_VERSION_HPP_INCLUDED
|
||||
|
||||
Reference in New Issue
Block a user