Lines Matching refs:xe
59 throw xe::Error("Expected input and output paths"); in parseCommandLine()
65 static void parseBatchResult (xe::TestLogParser& parser, const char* filename) in parseBatchResult()
83 class ResultToJUnitHandler : public xe::TestLogHandler
86 ResultToJUnitHandler (xe::xml::Writer& writer) in ResultToJUnitHandler()
91 void setSessionInfo (const xe::SessionInfo&) in setSessionInfo()
95 xe::TestCaseResultPtr startTestCaseResult (const char* casePath) in startTestCaseResult()
97 return xe::TestCaseResultPtr(new xe::TestCaseResultData(casePath)); in startTestCaseResult()
100 void testCaseResultUpdated (const xe::TestCaseResultPtr&) in testCaseResultUpdated()
104 void testCaseResultComplete (const xe::TestCaseResultPtr& resultData) in testCaseResultComplete()
106 using xe::xml::Writer; in testCaseResultComplete()
108 xe::TestCaseResult result; in testCaseResultComplete()
110 xe::parseTestCaseResultFromData(&m_resultParser, &result, *resultData.get()); in testCaseResultComplete()
122 if (result.statusCode != xe::TESTSTATUSCODE_PASS) in testCaseResultComplete()
124 << Writer::Attribute("type", xe::getTestStatusCodeName(result.statusCode)) in testCaseResultComplete()
132 xe::xml::Writer& m_writer;
133 xe::TestResultParser m_resultParser;
139 xe::xml::Writer writer (out); in batchResultToJUnitReport()
141 xe::TestLogParser parser (&handler); in batchResultToJUnitReport()
147 writer << xe::xml::Writer::BeginElement("testsuites") in batchResultToJUnitReport()
148 << xe::xml::Writer::BeginElement("testsuite"); in batchResultToJUnitReport()
153 writer << xe::xml::Writer::EndElement << xe::xml::Writer::EndElement; in batchResultToJUnitReport()