Obj-C updates

This commit is contained in:
Phil Nash 2012-05-10 08:16:30 +01:00
parent 5ec53b2788
commit b84444c501
3 changed files with 3 additions and 3 deletions

View File

@ -192,7 +192,7 @@ namespace Catch
std::string name = Detail::getAnnotation( cls, "Name", testCaseName ); std::string name = Detail::getAnnotation( cls, "Name", testCaseName );
std::string desc = Detail::getAnnotation( cls, "Description", 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++; noTestMethods++;
} }

View File

@ -9,7 +9,7 @@
#include "internal/catch_config.hpp" #include "internal/catch_config.hpp"
#include "internal/catch_runner_impl.hpp" #include "internal/catch_runner_impl.hpp"
#include "internal/catch_hub_impl.hpp" #include "internal/catch_context_impl.hpp"
#include "catch.hpp" #include "catch.hpp"
#include "iTchRunnerReporter.h" #include "iTchRunnerReporter.h"

View File

@ -16,7 +16,7 @@
namespace Catch namespace Catch
{ {
class iTchRunnerReporter : public IReporter class iTchRunnerReporter : public SharedImpl<IReporter>
{ {
public: public:
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////