| | |
| | | def getName(self): |
| | | return self.name |
| | | |
| | | testlog=open('%s/tests-log.xml' % TMPDIR,'w') |
| | | testlog=open('%s/tests-log.xml' % logsTestsDir,'w') |
| | | testlog.write('<qa>\n') |
| | | testlog.write(' <functional-tests>\n') |
| | | testlog.write(' <results>\n') |
| | |
| | | if thisNodeAttributes.getNamedItem("type").getNodeValue() == 'block, %': |
| | | rawCoverage = thisNodeAttributes.getNamedItem("value").getNodeValue() |
| | | coverage = rawCoverage.split('%')[0] |
| | | testlog=open('%s/tests-log.xml' % TMPDIR,'a') |
| | | testlog=open('%s/tests-log.xml' % logsTestsDir,'a') |
| | | testlog.seek(0,2) |
| | | testlog.write(" <all>\n") |
| | | testlog.write(" <coverage>\n") |
| | |
| | | </sequence> |
| | | <else> |
| | | <script> |
| | | testlog=open('%s/tests-log.xml' % TMPDIR,'a') |
| | | testlog=open('%s/tests-log.xml' % logsTestsDir,'a') |
| | | testlog.seek(0,2) |
| | | testlog.write(" <all>\n") |
| | | testlog.write(" <coverage>\n") |
| | |
| | | else: |
| | | ServerInfoDict='No key found (%s/%s)' % (DIRECTORY_INSTANCE_DIR,OPENDSNAME) |
| | | |
| | | testlog=open('%s/tests-log.xml' % TMPDIR,'a') |
| | | testlog=open('%s/tests-log.xml' % logsTestsDir,'a') |
| | | testlog.seek(0,2) |
| | | testlog.write(' </results>\n') |
| | | testlog.write(' <identification>\n') |