Searched refs:kwSetTestCases (Results 1 – 2 of 2) sorted by relevance
/external/chromium_org/third_party/icu/source/test/cintltst/ |
D | cloctst.c | 1799 } kwSetTestCases[] = { variable 1854 for(i = 0; i < sizeof(kwSetTestCases)/sizeof(kwSetTestCases[0]); i++) { in TestKeywordSet() 1857 strcpy(buffer, kwSetTestCases[i].l); in TestKeywordSet() 1859 uloc_canonicalize(kwSetTestCases[i].l, cbuffer, 1023, &status); in TestKeywordSet() 1864 uloc_canonicalize(kwSetTestCases[i].x, cbuffer, 1023, &status); in TestKeywordSet() 1865 if(strcmp(kwSetTestCases[i].x,cbuffer)) { in TestKeywordSet() 1866 … = '%s', should be %s (must be canonical)\n", __FILE__, __LINE__, i, kwSetTestCases[i].x, cbuffer); in TestKeywordSet() 1869 … resultLen = uloc_setKeywordValue(kwSetTestCases[i].k, kwSetTestCases[i].v, buffer, 1023, &status); in TestKeywordSet() 1874 if(strcmp(buffer,kwSetTestCases[i].x) || ((int32_t)strlen(buffer)!=resultLen)) { in TestKeywordSet() 1875 …FAIL: #%d: %s + [%s=%s] -> %s (%d) expected %s (%d)\n", i, kwSetTestCases[i].l, kwSetTestCases[i].… in TestKeywordSet() [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | cloctst.c | 1800 } kwSetTestCases[] = { variable 1855 for(i = 0; i < sizeof(kwSetTestCases)/sizeof(kwSetTestCases[0]); i++) { in TestKeywordSet() 1858 strcpy(buffer, kwSetTestCases[i].l); in TestKeywordSet() 1860 uloc_canonicalize(kwSetTestCases[i].l, cbuffer, 1023, &status); in TestKeywordSet() 1865 uloc_canonicalize(kwSetTestCases[i].x, cbuffer, 1023, &status); in TestKeywordSet() 1866 if(strcmp(kwSetTestCases[i].x,cbuffer)) { in TestKeywordSet() 1867 … = '%s', should be %s (must be canonical)\n", __FILE__, __LINE__, i, kwSetTestCases[i].x, cbuffer); in TestKeywordSet() 1870 … resultLen = uloc_setKeywordValue(kwSetTestCases[i].k, kwSetTestCases[i].v, buffer, 1023, &status); in TestKeywordSet() 1875 if(strcmp(buffer,kwSetTestCases[i].x) || ((int32_t)strlen(buffer)!=resultLen)) { in TestKeywordSet() 1876 …FAIL: #%d: %s + [%s=%s] -> %s (%d) expected %s (%d)\n", i, kwSetTestCases[i].l, kwSetTestCases[i].… in TestKeywordSet() [all …]
|