Searched defs:expectedStatus (Results 1 - 20 of 20) sorted by relevance

/external/chromium/third_party/icu/source/test/cintltst/
H A Dspreptst.c109 UErrorCode expectedStatus; member in struct:ConformanceTestCases
325 UErrorCode expectedStatus = conformanceTestCases[i].expectedStatus; local
337 if(expectedStatus != status){
338 log_err("Did not get the expected status for nfs4_cis_prep at index %i. Expected: %s Got: %s\n",i, u_errorName(expectedStatus), u_errorName(status));
H A Didnatest.c73 UBool useSTD3ASCIIRules,UErrorCode expectedStatus,
101 if(U_SUCCESS(status) && expectedStatus != U_IDNA_STD3_ASCII_RULES_ERROR&& (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){
109 if(status != expectedStatus){
110 log_err_status(status, "Did not get the expected error for %s null terminated source failed. Expected: %s Got: %s\n",testName, u_errorName(expectedStatus), u_errorName(status));
132 if(status != expectedStatus && expectedStatus != U_IDNA_UNASSIGNED_ERROR){
133 log_err( "Did not get the expected error for %s null terminated source with options set. Expected: %s Got: %s\n",testName, u_errorName(expectedStatus), u_errorName(status));
155 if(status != expectedStatus){
156 log_err( "Did not get the expected error for %s with source length. Expected: %s Got: %s\n",testName, u_errorName(expectedStatus), u_errorName(status));
177 if(status != expectedStatus
72 testAPI(const UChar* src, const UChar* expected, const char* testName, UBool useSTD3ASCIIRules,UErrorCode expectedStatus, UBool doCompare, UBool testUnassigned, TestFunc func) argument
[all...]
H A Dncnvtst.c43 const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus);
45 const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus);
990 const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus)
1031 if(status != expectedStatus){
1032 log_err("ucnv_fromUnicode() failed for codepage=%s. Error =%s Expected=%s\n", codepage, myErrorName(status), myErrorName(expectedStatus));
1079 const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus)
1128 if(status != expectedStatus){
1129 log_err("ucnv_fromUnicode() failed for codepage=%s. Error =%s Expected=%s\n", codepage, myErrorName(status), myErrorName(expectedStatus));
989 convertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus) argument
1078 convertToU( const uint8_t *source, int sourceLen, const UChar *expect, int expectLen, const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus) argument
H A Dcapitst.c1977 UErrorCode expectedStatus; member in struct:__anon1475
2008 if(status != testCases[i].expectedStatus) {
2010 u_errorName(status), u_errorName(testCases[i].expectedStatus), testCases[i].input);
H A Dcloctst.c1438 UErrorCode expectedStatus; /* from uloc_openKeywords */ member in struct:__anon1496
1483 if(status != testCases[i].expectedStatus) {
1486 u_errorName(testCases[i].expectedStatus), u_errorName(status));
5316 const UErrorCode expectedStatus = maximizeErrors[i].uerror; local
5328 log_err(" unexpected U_ZERO_ERROR for uloc_addLikelySubtags(), minimal \"%s\" expected status %s\n", minimal, u_errorName(expectedStatus));
5331 else if (status != expectedStatus) {
5332 log_err_status(status, " unexpected status for uloc_addLikelySubtags(), minimal \"%s\" expected status %s, but got %s\n", minimal, u_errorName(expectedStatus), u_errorName(status));
5350 const UErrorCode expectedStatus = minimizeErrors[i].uerror; local
5362 log_err(" unexpected U_ZERO_ERROR for uloc_minimizeSubtags(), maximal \"%s\" expected status %s\n", maximal, u_errorName(expectedStatus));
5365 else if (status != expectedStatus) {
[all...]
H A Dcmsccoll.c4548 UErrorCode expectedStatus; member in struct:__anon1514
4577 if(status != tests[i].expectedStatus) {
4579 tests[i].rules, u_errorName(status), u_errorName(tests[i].expectedStatus));
/external/chromium/third_party/icu/source/test/iotest/
H A Dstream.cpp176 int32_t expectedStatus)
194 if (getBitStatus(sstrm) != expectedStatus) {
197 log_info("Warning. Expected status %d, Got %d. This maybe caused by the fact that the non-standardized iostream is being used.\n", expectedStatus, getBitStatus(sstrm));
200 log_err("Expected status %d, Got %d. See verbose output for details\n", expectedStatus, getBitStatus(sstrm));
172 testString( UnicodeString& str, const char* testString, const UChar* expectedString, int32_t expectedStatus) argument
/external/icu4c/test/cintltst/
H A Dspreptst.c111 UErrorCode expectedStatus; member in struct:ConformanceTestCases
327 UErrorCode expectedStatus = conformanceTestCases[i].expectedStatus; local
339 if(expectedStatus != status){
340 log_data_err("Did not get the expected status for nfs4_cis_prep at index %i. Expected: %s Got: %s - (Are you missing data?)\n",i, u_errorName(expectedStatus), u_errorName(status));
H A Didnatest.c71 UBool useSTD3ASCIIRules,UErrorCode expectedStatus,
99 if(U_SUCCESS(status) && expectedStatus != U_IDNA_STD3_ASCII_RULES_ERROR&& (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){
107 if(status != expectedStatus){
108 log_err_status(status, "Did not get the expected error for %s null terminated source failed. Expected: %s Got: %s\n",testName, u_errorName(expectedStatus), u_errorName(status));
130 if(status != expectedStatus && expectedStatus != U_IDNA_UNASSIGNED_ERROR){
131 log_err( "Did not get the expected error for %s null terminated source with options set. Expected: %s Got: %s\n",testName, u_errorName(expectedStatus), u_errorName(status));
153 if(status != expectedStatus){
154 log_err( "Did not get the expected error for %s with source length. Expected: %s Got: %s\n",testName, u_errorName(expectedStatus), u_errorName(status));
175 if(status != expectedStatus
70 testAPI(const UChar* src, const UChar* expected, const char* testName, UBool useSTD3ASCIIRules,UErrorCode expectedStatus, UBool doCompare, UBool testUnassigned, TestFunc func) argument
[all...]
H A Dncnvtst.c43 const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus);
45 const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus);
1007 const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus)
1048 if(status != expectedStatus){
1049 log_err("ucnv_fromUnicode() failed for codepage=%s. Error =%s Expected=%s\n", codepage, myErrorName(status), myErrorName(expectedStatus));
1096 const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus)
1145 if(status != expectedStatus){
1146 log_err("ucnv_fromUnicode() failed for codepage=%s. Error =%s Expected=%s\n", codepage, myErrorName(status), myErrorName(expectedStatus));
1006 convertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus) argument
1095 convertToU( const uint8_t *source, int sourceLen, const UChar *expect, int expectLen, const char *codepage, const int32_t *expectOffsets, UBool doFlush, UErrorCode expectedStatus) argument
H A Dcapitst.c1955 UErrorCode expectedStatus; member in struct:__anon2535
1996 if(status != testCases[i].expectedStatus) {
1998 u_errorName(status), u_errorName(testCases[i].expectedStatus), testCases[i].input);
H A Dcloctst.c1443 UErrorCode expectedStatus; /* from uloc_openKeywords */ member in struct:__anon2561
1488 if(status != testCases[i].expectedStatus) {
1491 u_errorName(testCases[i].expectedStatus), u_errorName(status));
5328 const UErrorCode expectedStatus = maximizeErrors[i].uerror; local
5340 log_err(" unexpected U_ZERO_ERROR for uloc_addLikelySubtags(), minimal \"%s\" expected status %s\n", minimal, u_errorName(expectedStatus));
5343 else if (status != expectedStatus) {
5344 log_err_status(status, " unexpected status for uloc_addLikelySubtags(), minimal \"%s\" expected status %s, but got %s\n", minimal, u_errorName(expectedStatus), u_errorName(status));
5362 const UErrorCode expectedStatus = minimizeErrors[i].uerror; local
5374 log_err(" unexpected U_ZERO_ERROR for uloc_minimizeSubtags(), maximal \"%s\" expected status %s\n", maximal, u_errorName(expectedStatus));
5377 else if (status != expectedStatus) {
[all...]
H A Dcmsccoll.c4561 UErrorCode expectedStatus; member in struct:__anon2579
4590 if(status != tests[i].expectedStatus) {
4592 tests[i].rules, u_errorName(status), u_errorName(tests[i].expectedStatus));
/external/icu4c/test/iotest/
H A Dstream.cpp230 int32_t expectedStatus)
248 if (getBitStatus(sstrm) != expectedStatus) {
251 log_info("Warning. Expected status %d, Got %d. This maybe caused by the fact that the non-standardized iostream is being used.\n", expectedStatus, getBitStatus(sstrm));
254 log_err("Expected status %d, Got %d. See verbose output for details\n", expectedStatus, getBitStatus(sstrm));
226 testString( UnicodeString& str, const char* testString, const UChar* expectedString, int32_t expectedStatus) argument
/external/chromium/third_party/icu/source/test/intltest/
H A Dtestidna.cpp451 UBool useSTD3ASCIIRules,UErrorCode expectedStatus,
478 if(U_SUCCESS(status) && expectedStatus != U_IDNA_STD3_ASCII_RULES_ERROR&& (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){
489 if(status != expectedStatus){
492 " null terminated source. Expected: " +UnicodeString(u_errorName(expectedStatus))
523 if(status != expectedStatus && expectedStatus != U_IDNA_UNASSIGNED_ERROR){
526 " null terminated source with options set. Expected: " +UnicodeString(u_errorName(expectedStatus))
551 if(status != expectedStatus){
554 " with source length. Expected: " +UnicodeString(u_errorName(expectedStatus))
578 if(status != expectedStatus
450 testAPI(const UChar* src, const UChar* expected, const char* testName, UBool useSTD3ASCIIRules,UErrorCode expectedStatus, UBool doCompare, UBool testUnassigned, TestFunc func, UBool testSTD3ASCIIRules) argument
[all...]
H A Dloctest.cpp1563 UErrorCode expectedStatus; member in struct:__anon1568
1599 if(status != testCases[i].expectedStatus) {
1601 u_errorName(testCases[i].expectedStatus), u_errorName(status));
H A Dregextst.cpp196 UErrorCode expectedStatus, int32_t line) {
208 if (status != expectedStatus) {
195 regex_err(const char *pat, int32_t errLine, int32_t errCol, UErrorCode expectedStatus, int32_t line) argument
/external/icu4c/test/intltest/
H A Dtestidna.cpp450 UBool useSTD3ASCIIRules,UErrorCode expectedStatus,
477 if(U_SUCCESS(status) && expectedStatus != U_IDNA_STD3_ASCII_RULES_ERROR&& (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){
488 if(status != expectedStatus){
491 " null terminated source. Expected: " +UnicodeString(u_errorName(expectedStatus))
522 if(status != expectedStatus && expectedStatus != U_IDNA_UNASSIGNED_ERROR){
525 " null terminated source with options set. Expected: " +UnicodeString(u_errorName(expectedStatus))
550 if(status != expectedStatus){
553 " with source length. Expected: " +UnicodeString(u_errorName(expectedStatus))
577 if(status != expectedStatus
449 testAPI(const UChar* src, const UChar* expected, const char* testName, UBool useSTD3ASCIIRules,UErrorCode expectedStatus, UBool doCompare, UBool testUnassigned, TestFunc func, UBool testSTD3ASCIIRules) argument
[all...]
H A Dloctest.cpp1567 UErrorCode expectedStatus; member in struct:__anon2636
1603 if(status != testCases[i].expectedStatus) {
1605 u_errorName(testCases[i].expectedStatus), u_errorName(status));
H A Dregextst.cpp328 UErrorCode expectedStatus, int32_t line) {
340 if (status != expectedStatus) {
359 if (status != expectedStatus) {
327 regex_err(const char *pat, int32_t errLine, int32_t errCol, UErrorCode expectedStatus, int32_t line) argument

Completed in 211 milliseconds