MCPcopy Create free account
hub / github.com/cuberite/cuberite / TestParser5

Method TestParser5

src/CompositeChat.cpp:86–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84 }
85
86 void TestParser5(void)
87 {
88 cCompositeChat Msg;
89 Msg.ParseText("http://only.links");
90 const cCompositeChat::cParts & Parts = Msg.GetParts();
91 assert_test(Parts.size() == 1);
92 assert_test(Parts[0]->m_PartType == cCompositeChat::ptUrl);
93 assert_test(Parts[0]->m_Style == "");
94 }
95
96} gTest;
97#endif // SELF_TEST

Callers

nothing calls this directly

Calls 2

ParseTextMethod · 0.80
sizeMethod · 0.80

Tested by

no test coverage detected