git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@56 b3372362-9eaa-4a85-aa2b-6faa1ab7c995master
@@ -52,14 +52,18 @@ bool result; | |||
bool testEmptyElement() { | |||
std::string stageContent, stage1Content, stage2Content; | |||
std::string elementXml, element1Xml, element2Xml; | |||
CodeDweller::XMLReaderElement reader("elem"); | |||
reader | |||
.Element("stage", stageContent) | |||
.RawData(elementXml) | |||
.End("stage") | |||
.Element("stage1", stage1Content) | |||
.RawData(element1Xml) | |||
.End("stage1") | |||
.Element("stage2", stage2Content) | |||
.RawData(element2Xml) | |||
.End("stage2") | |||
.End("elem"); | |||