From 6b3ee4a61e056cf9d1486da1490595493b88d168 Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Mon, 6 Aug 2012 20:17:23 +0100 Subject: [PATCH] Fixes for iTchRunner --- projects/runners/iTchRunner/internal/iTchRunnerMainView.h | 2 +- projects/runners/iTchRunner/internal/iTchRunnerReporter.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/projects/runners/iTchRunner/internal/iTchRunnerMainView.h b/projects/runners/iTchRunner/internal/iTchRunnerMainView.h index aee46922..f4e64be2 100644 --- a/projects/runners/iTchRunner/internal/iTchRunnerMainView.h +++ b/projects/runners/iTchRunner/internal/iTchRunnerMainView.h @@ -41,7 +41,7 @@ arcSafeRelease( appName ); appName.textColor = [[UIColor alloc] initWithRed:0.35 green:0.35 blue:1 alpha:1]; arcSafeRelease( appName.textColor ); - appName.textAlignment = UITextAlignmentCenter; + appName.textAlignment = UITextAlignmentCenter; // or NSTextAlignmentCenter appName.text = [NSString stringWithFormat:@"CATCH tests"]; // [self performSelector: @selector(showAlert) withObject:nil afterDelay:0.1]; diff --git a/projects/runners/iTchRunner/internal/iTchRunnerReporter.h b/projects/runners/iTchRunner/internal/iTchRunnerReporter.h index 29ce5513..eb89e85a 100644 --- a/projects/runners/iTchRunner/internal/iTchRunnerReporter.h +++ b/projects/runners/iTchRunner/internal/iTchRunnerReporter.h @@ -95,9 +95,10 @@ namespace Catch virtual void StartGroup( const std::string& ){} virtual void EndGroup( const std::string&, const Totals& ){} virtual void StartTestCase( const TestCaseInfo& ){} - virtual void StartSection( const std::string&, const std::string ){} + virtual void StartSection( const std::string& sectionName, const std::string& description ) {} virtual void EndSection( const std::string&, const Counts& ){} virtual void EndTestCase( const TestCaseInfo&, const Totals&, const std::string&, const std::string& ){} + virtual void Aborted() {} private: Totals m_totals;