MCPcopy Create free account
hub / github.com/apache/trafficserver / invoke

Method invoke

lib/catch2/catch.hpp:4878–4886  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4876 OcMethod( Class cls, SEL sel ) : m_cls( cls ), m_sel( sel ) {}
4877
4878 virtual void invoke() const {
4879 id obj = [[m_cls alloc] init];
4880
4881 performOptionalSelector( obj, @selector(setUp) );
4882 performOptionalSelector( obj, m_sel );
4883 performOptionalSelector( obj, @selector(tearDown) );
4884
4885 arcSafeRelease( obj );
4886 }
4887 private:
4888 virtual ~OcMethod() {}
4889

Callers

nothing calls this directly

Calls 2

performOptionalSelectorFunction · 0.85
arcSafeReleaseFunction · 0.85

Tested by

no test coverage detected