MCPcopy Create free account
hub / github.com/TuGraph-family/tugraph-db / WriteSleepPlugin

Function WriteSleepPlugin

test/test_python_plugin_manager_impl.cpp:143–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143void WriteSleepPlugin(const std::string& path) {
144 fma_common::OutputFmaStream out(path, 0);
145 buil_python_extension("./sleep.so", "sleep");
146 std::string code = "";
147 read_code("./sleep.so", code);
148
149 out.Write(code.data(), code.size());
150 out.Close();
151}
152
153TEST_F(TestPythonPluginManagerImpl, PythonPluginManagerImpl) {
154 using namespace fma_common;

Callers 1

TEST_FFunction · 0.85

Calls 6

buil_python_extensionFunction · 0.85
read_codeFunction · 0.85
WriteMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45
CloseMethod · 0.45

Tested by

no test coverage detected