From b84444c501a4e3f13a27acc70473954a880976a3 Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Thu, 10 May 2012 08:16:30 +0100 Subject: [PATCH] Obj-C updates --- 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 { public: ///////////////////////////////////////////////////////////////////////////