fix coding style deviations

This commit is contained in:
François Moisan
2014-03-25 15:42:07 -04:00
parent 36bed7af00
commit 527a84a467
6 changed files with 13 additions and 19 deletions

View File

@@ -157,8 +157,7 @@ namespace Catch {
return m_userHooks;
}
void addUserHook(ITestCaseHook* hook)
{
void addUserHook(ITestCaseHook* hook) {
m_userHooks.push_back(hook);
}

View File

@@ -35,8 +35,8 @@ namespace Catch {
Never
}; };
struct ITestCaseHook
{
struct ITestCaseHook {
virtual ~ITestCaseHook() {}
virtual void sectionStarting(TestCaseInfo const & testCaseInfo) = 0;

View File

@@ -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)

View File

@@ -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