Lines Matching refs:testName
97 testTrieEnum(const char *testName,
110 testTrieGetters(const char *testName,
139 typeName, testName, (long)start, (long)value2, (long)value);
150 typeName, testName, (long)start, (long)value2, (long)value);
160 typeName, testName, (long)start, (long)value2, (long)value);
166 typeName, testName, (long)start, (long)value2, (long)value);
187 typeName, testName, (long)start, (long)value2, (long)value);
200 typeName, testName, (long)start, (long)value2, (long)errorValue);
206 if(0!=strncmp(testName, "dummy", 5) && 0!=strncmp(testName, "trie1", 5)) {
235 typeName, testName, (long)start, (long)value2, (long)value);
241 typeName, testName, (long)start, (long)value2, (long)value);
257 typeName, testName);
264 typeName, testName);
269 testTrieUTF16(const char *testName,
314 testName, (long)c, (long)value, (long)values[i]);
318 testName, (long)c, (long)c2);
339 testName, (long)c, (long)value, (long)values[i]);
343 testName, c, c2);
349 testTrieUTF8(const char *testName,
443 testName, (unsigned long)bytes, (long)c, (long)value, (long)values[i]);
447 testName, (unsigned long)bytes, (long)c, (long)(p-s), (long)i8);
474 testName, (unsigned long)bytes, (long)c, (long)value, (long)values[i]);
478 testName, (unsigned long)bytes, (long)c, (long)(p-s), (long)i8);
485 testFrozenTrie(const char *testName,
493 testName);
497 testTrieGetters(testName, trie, valueBits, checkRanges, countCheckRanges);
498 testTrieEnum(testName, trie, checkRanges, countCheckRanges);
499 testTrieUTF16(testName, trie, valueBits, checkRanges, countCheckRanges);
500 testTrieUTF8(testName, trie, valueBits, checkRanges, countCheckRanges);
508 testName, u_errorName(errorCode));
517 testName, u_errorName(errorCode));
528 testName, u_errorName(errorCode));
534 testNewTrie(const char *testName, const UTrie2 *trie,
537 testTrieGetters(testName, trie, UTRIE2_COUNT_VALUE_BITS, checkRanges, countCheckRanges);
538 testTrieEnum(testName, trie, checkRanges, countCheckRanges);
542 testTrieSerialize(const char *testName,
556 testName, u_errorName(errorCode));
569 testName, u_errorName(errorCode));
576 testName, u_errorName(errorCode), utrie2_isFrozen(trie));
584 testName, u_errorName(errorCode));
593 testName, u_errorName(errorCode));
603 testName, u_errorName(errorCode));
609 log_err("error: utrie2_serialize(%s) needs more memory\n", testName);
613 log_err("error: utrie2_serialize(%s) failed: %s\n", testName, u_errorName(errorCode));
618 "preflight vs. serialize\n", testName);
622 testFrozenTrie(testName, trie, valueBits, checkRanges, countCheckRanges);
640 testName, u_errorName(errorCode));
648 testName, u_errorName(errorCode));
660 testName, u_errorName(errorCode));
668 testName, u_errorName(errorCode));
675 log_err("error: utrie2_openFromSerialized(%s) failed, %s\n", testName, u_errorName(errorCode));
679 log_err("error: trie serialization (%s) did not preserve 32-bitness\n", testName);
684 "serialize vs. unserialize\n", testName);
693 testName, u_errorName(errorCode), utrie2_isFrozen(trie));
700 testName, u_errorName(errorCode));
709 testName, u_errorName(errorCode));
718 testFrozenTrie(testName, trie, valueBits, checkRanges, countCheckRanges);
725 testName, u_errorName(errorCode), clone!=NULL && utrie2_isFrozen(trie));
741 testName, u_errorName(errorCode));
744 testNewTrie(testName, trie, checkRanges, countCheckRanges);
751 testTrieSerializeAllValueBits(const char *testName,
757 testNewTrie(testName, trie, checkRanges, countCheckRanges);
763 uprv_strcpy(name, testName);
778 testName, u_errorName(errorCode));
783 testNewTrie(testName, trie, checkRanges, countCheckRanges);
787 uprv_strcpy(name, testName);
797 makeTrieWithRanges(const char *testName, UBool withClone,
808 log_verbose("\ntesting Trie '%s'\n", testName);
813 log_err("error: utrie2_open(%s) failed: %s\n", testName, u_errorName(errorCode));
824 testName, u_errorName(errorCode));
850 testName, u_errorName(errorCode));
857 testTrieRanges(const char *testName, UBool withClone,
860 UTrie2 *trie=makeTrieWithRanges(testName, withClone,
864 trie=testTrieSerializeAllValueBits(testName, trie, withClone,
1059 static const char *const testName="enum-for-lead";
1060 UTrie2 *trie=makeTrieWithRanges(testName, FALSE,
1086 log_err("error: utrie2_freeze(%s) failed\n", testName);
1111 const char *testName;
1115 testName="dummy.16";
1119 testName="dummy.32";
1133 testFrozenTrie(testName, trie, valueBits, checkRanges, LENGTHOF(checkRanges));
1155 static const char *const testName="free-blocks";
1164 log_err("error: utrie2_open(%s) failed: %s\n", testName, u_errorName(errorCode));
1188 testName, u_errorName(errorCode));
1193 trie=testTrieSerializeAllValueBits(testName, trie, FALSE,
1208 static const char *const testName="grow-data";
1217 log_err("error: utrie2_open(%s) failed: %s\n", testName, u_errorName(errorCode));
1246 testName, u_errorName(errorCode));
1251 trie=testTrieSerializeAllValueBits(testName, trie, FALSE,
1284 makeNewTrie1WithRanges(const char *testName,
1295 log_verbose("\ntesting Trie '%s'\n", testName);
1302 log_err("error: utrie_open(%s) failed: %s\n", testName, u_errorName(errorCode));
1322 log_err("error: setting values into a trie1 (%s) failed\n", testName);
1329 testTrie2FromTrie1(const char *testName,
1344 newTrie1_16=makeNewTrie1WithRanges(testName,
1366 testName, u_errorName(errorCode));
1372 uprv_strcpy(name, testName);
1391 uprv_strcpy(name, testName);