MCPcopy Create free account
hub / github.com/boost-ext/di / initialize

Method initialize

test/ft/di_bind.cpp:941–945  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

939 c(lazy<int> i1_, const lazy<std::unique_ptr<i1>> &i2_) : i1_(i1_), i2_(i2_) {}
940
941 void initialize() {
942 expect(42 == i1_.get());
943 auto object = i2_.get();
944 expect(dynamic_cast<impl1 *>(object.get()));
945 }
946
947 lazy<int> i1_;
948 lazy<std::unique_ptr<i1>> i2_;

Callers 15

di_bind.cppFile · 0.45
markdown.jsFile · 0.45
test.jsFile · 0.45
test-pdf.jsFile · 0.45
test-markdown.jsFile · 0.45
markdown.jsFile · 0.45
test.jsFile · 0.45
test-pdf.jsFile · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected