Lines Matching defs:error
189 """Increates the error count."""
194 """Sets time out indicator for the current test and increases the error counter."""
233 return ('internal error', 0);
440 self.log(0, 'error opening %s: %s' % (sDstFilename, oXcpt), sCaller, sTsPrf);
447 self.log(0, 'error reading %s: %s' % (sSrcFilename, oXcpt), sCaller, sTsPrf);
453 self.log(0, 'error writing %s: %s' % (sDstFilename, oXcpt), sCaller, sTsPrf);
876 g_oReporter.log(0, 'internal-error: Hit exception #2! %s' % (traceback.format_exc()), sCaller, sTsPrf);
889 g_oReporter.log(0, 'internal-error: Hit exception! %s' % (traceback.format_exc()), None, sTsPrf);
892 g_oReporter.log(0, 'internal-error: No exception! %s'
1017 """ Maybe error or maybe normal log entry. """
1019 return error(sText);
1023 """ Maybe error or maybe normal log exception entry. """
1029 """ Maybe error or maybe normal log entry. """
1031 return error(sText);
1035 """ Maybe error or maybe normal log exception entry. """
1040 def error(sText):
1042 Writes the specfied error message to the log.
1044 This will add an error to the current test.
1052 g_oReporter.log(0, 'error: %s' % (sText), utils.getCallerName(), utils.getTimePrefix());
1060 Log an error caused by an exception. If sText is given, it will preceed
1063 This will add an error to the current test.
1068 logXcptWorker(0, True, "error: ", sText, cFrames);
1075 This will add an error to the current test.
1083 g_oReporter.log(0, 'timeout-error: %s' % (sText), utils.getCallerName(), utils.getTimePrefix());
1091 Writes a fatal error to the log.
1093 This will add an error to the current test.
1101 g_oReporter.log(0, 'fatal error: %s' % (sText), utils.getCallerName(), utils.getTimePrefix());
1109 Log a fatal error caused by an exception. If sText is given, it will
1113 This will add an error to the current test.
1118 logXcptWorker(1, True, "fatal error: ", sText, cFrames);
1168 Get the current error count for the entire test run.
1242 Returns a tuple with the name of the test and its error count.
1251 Gets the error count of the current test.
1262 Closes all open tests with a generic error condition.