• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/ICU-531.30/icuSources/test/cintltst/

Lines Matching defs:standard

38 static int dotestname(const char *name, const char *standard, const char *expected) {
45 tag = ucnv_getStandardName(name, standard, &error);
47 log_err_status(error, "FAIL: could not find %s standard name for %s\n", standard, name);
50 log_err("FAIL: expected %s for %s standard name for %s, got %s\n", expected, standard, name, tag);
66 const char *standard;
69 standard = ucnv_getStandard(i, &err);
73 } else if (!standard || !*standard) {
74 log_err("FAIL: %s standard name at index %d\n", (standard ? "empty" :
94 log_verbose("PASS: iterating over standard names works\n");
110 log_verbose("PASS: getting IANA and MIME standard names works\n");
114 static int dotestconv(const char *name, const char *standard, const char *expected) {
121 tag = ucnv_getCanonicalName(name, standard, &error);
123 log_err("FAIL: Unexpectedly found %s canonical name for %s, got %s\n", standard, name, tag);
127 log_err_status(error, "FAIL: could not find %s canonical name for %s\n", (standard ? "\"\"" : standard), name);
131 log_err("FAIL: expected %s for %s canonical name for %s, got %s\n", expected, standard, name, tag);
135 log_verbose("PASS: (\"%s\", \"%s\") -> %s == %s \n", name, standard, tag, expected);
170 static UBool doTestNames(const char *name, const char *standard, const char **expected, int32_t size) {
172 UEnumeration *myEnum = ucnv_openStandardNames(name, standard, &err);
178 log_data_err("Unable to open standard names for %s of standard: %s\n", name, standard);
189 log_verbose("\n%s %s\n", name, standard);
207 log_err("FAIL: uenum_next(past the list) did not return NULL[0] with U_SUCCESS(). name=%s standard=%s len=%d err=%s\n", name, standard, len, u_errorName(err));
214 name, standard, u_errorName(err));
222 static UBool doTestUCharNames(const char *name, const char *standard, const char **expected, int32_t size) {
224 UEnumeration *myEnum = ucnv_openStandardNames(name, standard, &err);
229 log_data_err("Unable to open standard names for %s of standard: %s\n", name, standard);
241 log_verbose("\n%s %s\n", name, standard);
261 name, standard, u_errorName(err));