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

Method invoke

extlibs/catch/include/catch/catch.hpp:4686–4694  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4684 OcMethod( Class cls, SEL sel ) : m_cls( cls ), m_sel( sel ) {}
4685
4686 virtual void invoke() const {
4687 id obj = [[m_cls alloc] init];
4688
4689 performOptionalSelector( obj, @selector(setUp) );
4690 performOptionalSelector( obj, m_sel );
4691 performOptionalSelector( obj, @selector(tearDown) );
4692
4693 arcSafeRelease( obj );
4694 }
4695 private:
4696 virtual ~OcMethod() {}
4697

Callers

nothing calls this directly

Calls 2

performOptionalSelectorFunction · 0.85
arcSafeReleaseFunction · 0.85

Tested by

no test coverage detected