MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / BOOST_AUTO_TEST_CASE

Function BOOST_AUTO_TEST_CASE

source/tests/test_ConsoleInterface.cpp:74–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74BOOST_AUTO_TEST_CASE(test_Command)
75{
76 auto t = TestModeManager::ModeType::GAME;
77 Command c(testCommand,Command::cStubServer,"descr",{t});
78 BOOST_CHECK(c.isAllowedInMode(t));
79}
80
81BOOST_AUTO_TEST_CASE(test_ConsoleInterface)
82{

Callers

nothing calls this directly

Calls 7

isAllowedInModeMethod · 0.80
addCommandMethod · 0.80
tryCompleteCommandMethod · 0.80
printMethod · 0.45

Tested by

no test coverage detected