MCPcopy Create free account
hub / github.com/3rdparty/libprocess / initialize

Method initialize

src/tests/process_tests.cpp:1856–1860  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1854 : ProcessBase("id(42)") {}
1855
1856 void initialize() override
1857 {
1858 install("handler1", &Self::handler1);
1859 route("/handler2", None(), &Self::handler2);
1860 }
1861
1862 MOCK_METHOD2(handler1, void(const UPID&, const string&));
1863 MOCK_METHOD1(handler2, Future<http::Response>(const http::Request&));

Callers

nothing calls this directly

Calls 1

installFunction · 0.85

Tested by

no test coverage detected