def testParseLabelitScreenOutput(self):
     """
     This method test the parsing of the Labelit results in the log file.
     """
     edPluginLabelitv10 = self.createPlugin()
     strPathToLabelitLogText = os.path.join(self.getPluginTestsDataHome(), "labelit_v1000rc11.log")
     strLabelitLogText = self.readAndParseFile(strPathToLabelitLogText)
     xsDataLabelitScreenOutput = edPluginLabelitv10.parseLabelitScreenOutput(strLabelitLogText)
     strLabelitScreenOutputFile = os.path.join(self.getPluginTestsDataHome(), "XSDataLabelitScreenOutput_reference.xml")
     strLabelitScreenOutputXML = self.readAndParseFile(strLabelitScreenOutputFile)
     from XSDataLabelitv10 import XSDataLabelitScreenOutput
     xsDataLabelitScreenOutputReference = XSDataLabelitScreenOutput.parseString(strLabelitScreenOutputXML)
     EDAssert.equal(xsDataLabelitScreenOutputReference.marshal(), xsDataLabelitScreenOutput.marshal())
 def testParseLabelitScreenOutput(self):
     """
     This method test the parsing of the Labelit results in the log file.
     """
     edPluginLabelitv10 = self.createPlugin()
     strPathToLabelitLogText = os.path.join(self.getPluginTestsDataHome(),
                                            "labelit_v1000rc11.log")
     strLabelitLogText = self.readAndParseFile(strPathToLabelitLogText)
     xsDataLabelitScreenOutput = edPluginLabelitv10.parseLabelitScreenOutput(
         strLabelitLogText)
     strLabelitScreenOutputFile = os.path.join(
         self.getPluginTestsDataHome(),
         "XSDataLabelitScreenOutput_reference.xml")
     strLabelitScreenOutputXML = self.readAndParseFile(
         strLabelitScreenOutputFile)
     from XSDataLabelitv10 import XSDataLabelitScreenOutput
     xsDataLabelitScreenOutputReference = XSDataLabelitScreenOutput.parseString(
         strLabelitScreenOutputXML)
     EDAssert.equal(xsDataLabelitScreenOutputReference.marshal(),
                    xsDataLabelitScreenOutput.marshal())