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

Function TEST_F

tests/src/Base/Reader.cpp:95–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93};
94
95TEST_F(ReaderTest, beginCharStreamNormal)
96{
97 // Arrange
98 ReaderXML xml;
99 xml.givenDataAsXMLStream("<data>Test ASCII data</data>");
100 xml.Reader()->readElement("data");
101
102 // Act
103 auto& result = xml.Reader()->beginCharStream();
104
105 // Assert
106 EXPECT_TRUE(result.good());
107}
108
109TEST_F(ReaderTest, beginCharStreamOpenClose)
110{

Callers

nothing calls this directly

Calls 15

make_utf8Function · 0.85
givenDataAsXMLStreamMethod · 0.80
readElementMethod · 0.80
endCharStreamMethod · 0.80
atMethod · 0.80
isStartOfDocumentMethod · 0.80
localNameMethod · 0.80
readNextElementMethod · 0.80
readEndElementMethod · 0.80
isEndOfElementMethod · 0.80
isEndOfDocumentMethod · 0.80
ReaderMethod · 0.45

Tested by

no test coverage detected