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

Function TEST_F

test/tests/IniWriterTest.cpp:29–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27});
28
29TEST_F(IniWriterTest, create_empty)
30{
31 MemoryStream ms(0);
32 ASSERT_EQ(ms.CanRead(), true);
33 ASSERT_EQ(ms.CanWrite(), true);
34 auto iw = CreateIniWriter(&ms);
35 ASSERT_NE(iw, nullptr);
36}
37
38TEST_F(IniWriterTest, create_one_section)
39{

Callers

nothing calls this directly

Calls 14

CreateIniWriterFunction · 0.85
WriteSectionMethod · 0.80
ReadStringMethod · 0.80
WriteBooleanMethod · 0.80
WriteFloatMethod · 0.80
WriteInt32Method · 0.80
CanReadMethod · 0.45
CanWriteMethod · 0.45
WriteMethod · 0.45
GetPositionMethod · 0.45
GetLengthMethod · 0.45
SetPositionMethod · 0.45

Tested by

no test coverage detected