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

Function TEST_METHOD

DAEValidator/tests/src/XmlNamespaceTests.cpp:19–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17 }
18
19 TEST_METHOD(OperatorBool)
20 {
21 {
22 XmlNamespace ns;
23 Assert::IsFalse(ns);
24 }
25 {
26 XmlDoc doc;
27 doc.readFile(data_path("xml/file.dae"));
28 auto ns = doc.root().ns();
29 Assert::IsTrue(ns);
30 Assert::AreEqual("http://www.collada.org/2005/11/COLLADASchema", ns.href().c_str());
31 }
32 }
33
34 TEST_METHOD(Href)
35 {

Callers

nothing calls this directly

Calls 6

data_pathFunction · 0.85
nsMethod · 0.80
rootMethod · 0.80
c_strMethod · 0.80
hrefMethod · 0.80
readFileMethod · 0.45

Tested by

no test coverage detected