Fixes for iTchRunner

This commit is contained in:
Phil Nash 2012-08-06 20:17:23 +01:00
parent 1091ca81e6
commit 6b3ee4a61e
2 changed files with 3 additions and 2 deletions

View File

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

View File

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