MCPcopy Create free account
hub / github.com/EndstoneMC/endstone / SetUp

Method SetUp

tests/test_cpp_plugin_loader.cpp:30–36  ·  view source on GitHub ↗

Set Up

Source from the content-addressed store, hash-verified

28protected:
29 // Set Up
30 void SetUp() override
31 {
32 ON_CALL(server_, getLogger())
33 .WillByDefault(testing::ReturnRef(endstone::core::LoggerFactory::getLogger("Test")));
34 loader_ = std::make_unique<endstone::core::CppPluginLoader>(server_);
35 plugin_dir_ = std::filesystem::current_path() / "plugins";
36 }
37
38 // Tear Down
39 void TearDown() override

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected