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

Obj-C updates

Commit
b84444c501a4e3f13a27acc70473954a880976a3
Author
Phil Nash ·
Parents
5ec53b2788cb

Files · Download .tar.gz

Changes

 include/internal/catch_objc.hpp                           | 2 +-
 projects/runners/iTchRunner/internal/iTchRunnerMainView.h | 2 +-
 projects/runners/iTchRunner/internal/iTchRunnerReporter.h | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/internal/catch_objc.hpp b/include/internal/catch_objc.hpp
index 330b948e..e78f85fc 100644
--- a/include/internal/catch_objc.hpp
+++ b/include/internal/catch_objc.hpp
@@ -192,7 +192,7 @@ namespace Catch
                         std::string name = Detail::getAnnotation( cls, "Name", testCaseName );
                         std::string desc = Detail::getAnnotation( cls, "Description", testCaseName );
                         
-                        Context::getTestCaseRegistry().registerTest( TestCaseInfo( new OcMethod( cls, selector ), name.c_str(), desc.c_str(), "", 0 ) );
+                        Context::getTestCaseRegistry().registerTest( TestCaseInfo( new OcMethod( cls, selector ), name.c_str(), desc.c_str(), SourceLineInfo() ) );
                         noTestMethods++;
                         
                     }
diff --git a/projects/runners/iTchRunner/internal/iTchRunnerMainView.h b/projects/runners/iTchRunner/internal/iTchRunnerMainView.h
index d2a98579..aee46922 100644
--- a/projects/runners/iTchRunner/internal/iTchRunnerMainView.h
+++ b/projects/runners/iTchRunner/internal/iTchRunnerMainView.h
@@ -9,7 +9,7 @@
 
 #include "internal/catch_config.hpp"
 #include "internal/catch_runner_impl.hpp"
-#include "internal/catch_hub_impl.hpp"
+#include "internal/catch_context_impl.hpp"
 #include "catch.hpp"
 
 #include "iTchRunnerReporter.h"
diff --git a/projects/runners/iTchRunner/internal/iTchRunnerReporter.h b/projects/runners/iTchRunner/internal/iTchRunnerReporter.h
index 4d3bd566..29ce5513 100644
--- a/projects/runners/iTchRunner/internal/iTchRunnerReporter.h
+++ b/projects/runners/iTchRunner/internal/iTchRunnerReporter.h
@@ -16,7 +16,7 @@
 
 namespace Catch
 {
-    class iTchRunnerReporter : public IReporter
+    class iTchRunnerReporter : public SharedImpl<IReporter>
     {
     public:
         ///////////////////////////////////////////////////////////////////////////