MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / TEST_F

Function TEST_F

test/tests/CLITests.cpp:61–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59};
60
61TEST_F(CommandLineTests, command_line_for_sprite_details)
62{
63 std::string exampleFilePath = ExampleSpriteFilePath();
64 const char* detailsCmd[3] = { "details", exampleFilePath.c_str() };
65
66 auto result = details(detailsCmd, 2);
67 // need to come up with some way to extract stdout/stderr stream if we want to
68 // fully test this module
69 ASSERT_EQ(result, ExitCode::ok);
70}
71
72TEST_F(CommandLineTests, command_line_for_sprite_build)
73{

Callers

nothing calls this directly

Calls 2

detailsFunction · 0.85
buildFunction · 0.85

Tested by

no test coverage detected