MCPcopy Create free account
hub / github.com/KhronosGroup/OpenCOLLADA / IteratorCommon

Function IteratorCommon

DAEValidator/tests/src/XmlNodeSetTests.cpp:51–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 }
50
51 void IteratorCommon()
52 {
53 XmlDoc doc;
54 doc.readFile(data_path("xml/file.dae"));
55 Assert::IsTrue(doc);
56 const XmlNodeSet & nodes = doc.root().selectNodes("//collada:node");
57 Assert::AreEqual(static_cast<size_t>(4), nodes.size());
58
59 for (XmlNodeSet::iterator it = nodes.begin(); it != nodes.end(); ++it)
60 {
61 XmlNode node = *it;
62 Assert::AreEqual("node", node.name().c_str());
63 }
64 }
65
66 TEST_METHOD(IteratorOperatorMul)
67 {

Callers 1

TEST_METHODFunction · 0.85

Calls 8

data_pathFunction · 0.85
rootMethod · 0.80
c_strMethod · 0.80
readFileMethod · 0.45
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected