Relations: Fix unit test

Introduced by SHA: 45a86accee
This commit is contained in:
Debao Zhang
2014-01-06 10:39:18 +08:00
parent 1ca891cf8a
commit bf951872c7
@@ -36,7 +36,8 @@ void RelationshipsTest::testLoadXml()
"<Relationship Id=\"rId1\" Type=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument\" Target=\"xl/workbook.xml\"/>" "<Relationship Id=\"rId1\" Type=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument\" Target=\"xl/workbook.xml\"/>"
"</Relationships>"); "</Relationships>");
QXlsx::Relationships rels = QXlsx::Relationships::loadFromXmlData(xmldata); QXlsx::Relationships rels;
rels.loadFromXmlData(xmldata);
QCOMPARE(rels.documentRelationships("/officeDocument").size(), 1); QCOMPARE(rels.documentRelationships("/officeDocument").size(), 1);
} }