Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Fixes for iTchRunner

Commit
6b3ee4a61e056cf9d1486da1490595493b88d168
Author
Phil Nash ·
Parents
1091ca81e6ea

Files · Download .tar.gz

Changes

 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;