MCPcopy Create free account
hub / github.com/Profactor/cv-plot / invoke

Method invoke

CvPlot/ext/catch2/inc/catch.hpp:4819–4827  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4817 OcMethod( Class cls, SEL sel ) : m_cls( cls ), m_sel( sel ) {}
4818
4819 virtual void invoke() const {
4820 id obj = [[m_cls alloc] init];
4821
4822 performOptionalSelector( obj, @selector(setUp) );
4823 performOptionalSelector( obj, m_sel );
4824 performOptionalSelector( obj, @selector(tearDown) );
4825
4826 arcSafeRelease( obj );
4827 }
4828 private:
4829 virtual ~OcMethod() {}
4830

Callers

nothing calls this directly

Calls 2

performOptionalSelectorFunction · 0.85
arcSafeReleaseFunction · 0.85

Tested by

no test coverage detected