Home
last modified time | relevance | path

Searched refs:errorName (Results 1 – 24 of 24) sorted by relevance

/external/python/cpython2/Lib/unittest/
Dsuite.py152 errorName = 'setUpClass (%s)' % className
153 self._addClassOrModuleLevelException(result, e, errorName)
187 errorName = 'setUpModule (%s)' % currentModule
188 self._addClassOrModuleLevelException(result, e, errorName)
192 def _addClassOrModuleLevelException(self, result, exception, errorName): argument
193 error = _ErrorHolder(errorName)
220 errorName = 'tearDownModule (%s)' % previousModule
221 self._addClassOrModuleLevelException(result, e, errorName)
246 errorName = 'tearDownClass (%s)' % className
247 self._addClassOrModuleLevelException(result, e, errorName)
/external/python/cpython3/Lib/unittest/
Dsuite.py169 errorName = 'setUpClass (%s)' % className
170 self._addClassOrModuleLevelException(result, e, errorName)
205 errorName = 'setUpModule (%s)' % currentModule
206 self._addClassOrModuleLevelException(result, e, errorName)
210 def _addClassOrModuleLevelException(self, result, exception, errorName): argument
211 error = _ErrorHolder(errorName)
238 errorName = 'tearDownModule (%s)' % previousModule
239 self._addClassOrModuleLevelException(result, e, errorName)
264 errorName = 'tearDownClass (%s)' % className
265 self._addClassOrModuleLevelException(result, e, errorName)
/external/icu/icu4c/source/tools/gendict/
Dgendict.cpp319 fprintf(stderr, "error opening input file: ICU Error \"%s\"\n", status.errorName()); in main()
325 fprintf(stderr, "new DataDict: ICU Error \"%s\"\n", status.errorName()); in main()
389 status.errorName(), lineCount); in main()
416 …, if U_ILLEGAL_ARGUMENT_ERROR possibly due to duplicate dictionary entries\n", status.errorName()); in main()
422 …f(stderr, "gendict: could not open output file \"%s\", \"%s\"\n", outFileName, status.errorName()); in main()
445 fprintf(stderr, "gendict: error \"%s\" writing the output file\n", status.errorName()); in main()
/external/icu/icu4c/source/test/cintltst/
Dputiltst.c469 const char* errorName ; in TestErrorName() local
471 errorName = u_errorName((UErrorCode)code); in TestErrorName()
472 if(!errorName || errorName[0] == 0) { in TestErrorName()
478 errorName = u_errorName(errorCode[code]); in TestErrorName()
479 if(uprv_strcmp(str[code],errorName )!=0){ in TestErrorName()
480 log_err("Error : u_errorName failed. Expected: %s Got: %s \n",str[code],errorName); in TestErrorName()
/external/icu/icu4c/source/test/intltest/
Dcollationtest.cpp1150 (int)fileLineNumber, errorCode.errorName()); in parseAndSetAttribute()
1191 (int)fileLineNumber, errorCode.errorName()); in parseAndSetAttribute()
1225 (int)fileLineNumber, errorCode.errorName()); in parseAndSetReorderCodes()
1251 dataerrln("RuleBasedCollator(rules) failed - %s", errorCode.errorName()); in buildTailoring()
1357 norm, errorCode.errorName()); in getCollationKey()
1411 norm, (int)partSize, errorCode.errorName()); in getCollationKey()
1561 (int)fileLineNumber, norm, order, expectedOrder, errorCode.errorName()); in checkCompareTwo()
1572 (int)fileLineNumber, norm, order, -expectedOrder, errorCode.errorName()); in checkCompareTwo()
1586 (int)fileLineNumber, norm, order, expectedOrder, errorCode.errorName()); in checkCompareTwo()
1597 (int)fileLineNumber, norm, order, -expectedOrder, errorCode.errorName()); in checkCompareTwo()
[all …]
Dstrcase.cpp646 errorCode.errorName()); in TestTitleOptions()
653 errorCode.errorName()); in TestTitleOptions()
662 errorCode.errorName()); in TestTitleOptions()
840 errorCode.errorName(), (long)destLength); in TestLongUpper()
849 errln("ucasemap_open(English) failed - %s", errorCode.errorName()); in TestMalformedUTF8()
859 errorCode.errorName(), (int)destLength, dest[0]); in TestMalformedUTF8()
868 errorCode.errorName(), (int)destLength, dest[0]); in TestMalformedUTF8()
876 errorCode.errorName(), (int)destLength, dest[0]); in TestMalformedUTF8()
884 errorCode.errorName(), (int)destLength, dest[0]); in TestMalformedUTF8()
894 errln("ucasemap_open(English) failed - %s", errorCode.errorName()); in TestBufferOverflow()
[all …]
Dtmsgfmt.cpp1815 errln("msgfmt.getFormatNames()[0] failed: %s", errorCode.errorName()); in testGetFormatNames()
1824 errln("msgfmt.getFormatNames()[1] failed: %s", errorCode.errorName()); in testGetFormatNames()
1833 errln("msgfmt.getFormatNames()[2] failed: %s", errorCode.errorName()); in testGetFormatNames()
Ducdtest.cpp345 errorCode.errorName()); in TestConsistency()
Ditutil.cpp175 if(errorCode.errorName()!=u_errorName(U_ZERO_ERROR)) { in TestErrorCode()
Drbbiapts.cpp262 errcheckln(status, "Fail : in construction - %s", status.errorName()); in TestGetSetAdoptText()
Dconvtest.cpp1168 … cc.caseNr, cc.charset, cc.cbopt, cc.fallbacks, cc.finalFlush, errorCode.errorName()); in ToUnicodeCase()
Dtstnorm.cpp643 name, errorCode.errorName()); in TestPreviousNext()
Dapicoll.cpp2500 errln("unexpected error for primary-gap overflow: %s", errorCode.errorName()); in TestGapTooSmall()
/external/icu/icu4c/source/common/
Derrorcode.cpp38 const char* ErrorCode::errorName() const { in errorName() function in ErrorCode
/external/icu/icu4c/source/common/unicode/
Derrorcode.h120 const char* errorName() const;
/external/bcc/src/cc/frontends/p4/compiler/
DebpfParser.py208 "{0} = p4_pe_unhandled_select;", program.errorName)
270 program.errorName)
335 program.errorName)
DebpfProgram.py45 self.errorName = self.reservedPrefix + "error"
366 "enum ErrorCode {0} = p4_pe_no_error;", self.errorName)
/external/doclava/src/com/google/doclava/
DPackageInfo.java401 public ClassInfo getError(String errorName) { in getError() argument
402 return mErrorsMap.get(errorName); in getError()
/external/icu/icu4c/source/tools/ctestfw/
Dtstdtmod.cpp120 msg.append(u" but got error: ").append(UnicodeString(errorName(), -1, US_INV)); in errlog()
/external/icu/icu4c/source/tools/gennorm2/
Dn2builder.cpp730 errorCode.errorName()); in processData()
787 filename, errorCode.errorName()); in writeBinaryFile()
796 fprintf(stderr, "gennorm2: error %s writing the output file\n", errorCode.errorName()); in writeBinaryFile()
/external/icu/icu4c/source/tools/toolutil/
Dtoolutil.cpp78 fprintf(stderr, "error at %s: %s\n", location, errorName()); in handleFailure()
/external/tinyxml2/
Dtinyxml2.cpp2359 const char* errorName = _errorNames[errorID]; in ErrorIDToName() local
2360 TIXMLASSERT( errorName && errorName[0] ); in ErrorIDToName()
2361 return errorName; in ErrorIDToName()
/external/icu/icu4c/source/test/perf/dicttrieperf/
Ddicttrieperf.cpp713 fprintf(stderr, "DictionaryTriePerfTest() failed: %s\n", errorCode.errorName()); in main()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DParseHelper.cpp4073 …const char* errorName = instanceName ? instanceName->c_str() : newTypeList.front().type->getFieldN… in redeclareBuiltinBlock() local
4075 error(loc, "no declaration found for redeclaration", errorName, ""); in redeclareBuiltinBlock()
4089 error(loc, "cannot redeclare a non block as a block", errorName, ""); in redeclareBuiltinBlock()