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

Function TEST_F

tests/test_logger_factory.cpp:24–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22class LoggerFactoryTest : public ::testing::Test {};
23
24TEST_F(LoggerFactoryTest, CreateLogger)
25{
26 auto &logger = LoggerFactory::getLogger("TestLogger");
27 ASSERT_EQ("TestLogger", logger.getName());
28}
29
30TEST_F(LoggerFactoryTest, GetLoggerSameName)
31{

Callers

nothing calls this directly

Calls 3

isEnabledForMethod · 0.80
getNameMethod · 0.45
setLevelMethod · 0.45

Tested by

no test coverage detected