Lines Matching defs:StatusCode
26 class StatusCode:
54 return code in StatusCode.STATUS_CODE_SET
57 def __init__ (self, name, statusCode, statusDetails, log):
59 self.statusCode = statusCode
64 return "%s: %s (%s)" % (self.name, self.statusCode, self.statusDetails)
143 statusCode = ' '.join(args[1:])
144 statusDetails = statusCode
146 if not StatusCode.isValid(statusCode):
148 if statusCode == "Watchdog timeout occurred.":
149 statusCode = StatusCode.TIMEOUT
151 statusCode = StatusCode.CRASH
154 self.testCaseResults.append(TestCaseResult(self.curCaseName, statusCode, statusDetails, self.curResultText))
170 statusCode = resultItems[0].getAttributeNode('StatusCode').nodeValue
173 statusCode = TestStatusCode.INTERNAL_ERROR
176 self.testCaseResults.append(TestCaseResult(name, statusCode, statusDetails, log))