MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / invoke

Method invoke

unittests/catch.hpp:2880–2888  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2878 OcMethod( Class cls, SEL sel ) : m_cls( cls ), m_sel( sel ) {}
2879
2880 virtual void invoke() const {
2881 id obj = [[m_cls alloc] init];
2882
2883 performOptionalSelector( obj, @selector(setUp) );
2884 performOptionalSelector( obj, m_sel );
2885 performOptionalSelector( obj, @selector(tearDown) );
2886
2887 arcSafeRelease( obj );
2888 }
2889 private:
2890 virtual ~OcMethod() {}
2891

Callers

nothing calls this directly

Calls 2

performOptionalSelectorFunction · 0.85
arcSafeReleaseFunction · 0.85

Tested by

no test coverage detected