MCPcopy Create free account
hub / github.com/aria2/aria2 / createMessage

Method createMessage

test/MockExtensionMessageFactory.h:13–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11 virtual ~MockExtensionMessageFactory() {}
12
13 virtual std::unique_ptr<ExtensionMessage>
14 createMessage(const unsigned char* data, size_t length) CXX11_OVERRIDE
15 {
16 return make_unique<MockExtensionMessage>("a2_mock", *data, data + 1,
17 length - 1, nullptr);
18 }
19};
20
21} // namespace aria2

Callers 15

testCreateMessageMethod · 0.45
testCreateMessageMethod · 0.45
testCreateMessageMethod · 0.45
testCreateMessageMethod · 0.45
testCreateMessageMethod · 0.45
testCreateMessageMethod · 0.45
testCreateMessageMethod · 0.45
testCreateMessageMethod · 0.45
testCreateMessageMethod · 0.45
testCreateMessageMethod · 0.45
testCreateMessageMethod · 0.45
testCreateMessageMethod · 0.45

Calls

no outgoing calls

Tested by 15

testCreateMessageMethod · 0.36
testCreateMessageMethod · 0.36
testCreateMessageMethod · 0.36
testCreateMessageMethod · 0.36
testCreateMessageMethod · 0.36
testCreateMessageMethod · 0.36
testCreateMessageMethod · 0.36
testCreateMessageMethod · 0.36
testCreateMessageMethod · 0.36
testCreateMessageMethod · 0.36
testCreateMessageMethod · 0.36
testCreateMessageMethod · 0.36