Searched refs:testCase (Results 1 - 19 of 19) sorted by relevance

/macosx-10.10/ICU-531.30/icuSources/test/perf/collperf2/
H A Dcollperf2.cpp1562 Strcoll *testCase = new Strcoll(coll, getData16(status), TRUE /* useLen */); local
1564 delete testCase;
1567 return testCase;
1573 Strcoll *testCase = new Strcoll(coll, getData16(status), FALSE /* useLen */); local
1575 delete testCase;
1578 return testCase;
1584 Strcoll_2 *testCase = new Strcoll_2(coll, getData16(status), getModData16(status), TRUE /* useLen */); local
1586 delete testCase;
1589 return testCase;
1595 StrcollUTF8 *testCase local
1606 StrcollUTF8 *testCase = new StrcollUTF8(coll, getData8(status),FALSE /* useLen */); local
1617 StrcollUTF8_2 *testCase = new StrcollUTF8_2(coll, getData8(status), getModData8(status), TRUE /* useLen */); local
1628 GetSortKey *testCase = new GetSortKey(coll, getData16(status), TRUE /* useLen */); local
1639 GetSortKey *testCase = new GetSortKey(coll, getData16(status), FALSE /* useLen */); local
1650 NextSortKeyPart *testCase = new NextSortKeyPart(coll, getData16(status), 4 /* bufSize */); local
1661 NextSortKeyPart *testCase = new NextSortKeyPart(coll, getData16(status), 4 /* bufSize */, 4 /* maxIteration */); local
1672 NextSortKeyPart *testCase = new NextSortKeyPart(coll, getData16(status), 4 /* bufSize */, 8 /* maxIteration */); local
1683 NextSortKeyPart *testCase = new NextSortKeyPart(coll, getData16(status), 32 /* bufSize */); local
1694 NextSortKeyPart *testCase = new NextSortKeyPart(coll, getData16(status), 32 /* bufSize */, 2 /* maxIteration */); local
1705 NextSortKeyPartUTF8 *testCase = new NextSortKeyPartUTF8(coll, getData8(status), 4 /* bufSize */); local
1716 NextSortKeyPartUTF8 *testCase = new NextSortKeyPartUTF8(coll, getData8(status), 4 /* bufSize */, 4 /* maxIteration */); local
1727 NextSortKeyPartUTF8 *testCase = new NextSortKeyPartUTF8(coll, getData8(status), 4 /* bufSize */, 8 /* maxIteration */); local
1738 NextSortKeyPartUTF8 *testCase = new NextSortKeyPartUTF8(coll, getData8(status), 32 /* bufSize */); local
1749 NextSortKeyPartUTF8 *testCase = new NextSortKeyPartUTF8(coll, getData8(status), 32 /* bufSize */, 2 /* maxIteration */); local
1760 CppCompare *testCase = new CppCompare(collObj, getData16(status), TRUE /* useLen */); local
1771 CppCompare *testCase = new CppCompare(collObj, getData16(status), FALSE /* useLen */); local
1782 CppCompare_2 *testCase = new CppCompare_2(collObj, getData16(status), getModData16(status), TRUE /* useLen */); local
1793 CppCompareUTF8 *testCase = new CppCompareUTF8(collObj, getData8(status), TRUE /* useLen */); local
1804 CppCompareUTF8 *testCase = new CppCompareUTF8(collObj, getData8(status), FALSE /* useLen */); local
1815 CppCompareUTF8_2 *testCase = new CppCompareUTF8_2(collObj, getData8(status), getModData8(status), TRUE /* useLen */); local
1826 CppGetCollationKey *testCase = new CppGetCollationKey(collObj, getData16(status), TRUE /* useLen */); local
1837 CppGetCollationKey *testCase = new CppGetCollationKey(collObj, getData16(status), FALSE /* useLen */); local
1847 UPerfFunction *testCase = new UniStrSort(*collObj, coll, getRandomData16(status)); local
1857 UPerfFunction *testCase = new StringPieceSortCpp(*collObj, coll, getRandomData8(status)); local
1867 UPerfFunction *testCase = new StringPieceSortC(*collObj, coll, getRandomData8(status)); local
1877 UPerfFunction *testCase = new UniStrBinSearch(*collObj, coll, getSortedData16(status)); local
1887 UPerfFunction *testCase = new StringPieceBinSearchCpp(*collObj, coll, getSortedData8(status)); local
1897 UPerfFunction *testCase = new StringPieceBinSearchC(*collObj, coll, getSortedData8(status)); local
[all...]
/macosx-10.10/ICU-531.30/icuSources/test/intltest/
H A Duts46test.cpp587 const TestCase &testCase=testCases[i]; local
588 UnicodeString input(ctou(testCase.s));
589 UnicodeString expected(ctou(testCase.u));
598 (int)i, testCase.o, testCase.s)
603 uint32_t uniErrors=testCase.errors&~
607 char mode=testCase.o[0];
611 (int)i, testCase.s, (long)uNInfo.getErrors());
617 (int)i, testCase.s, buffer);
620 if(aNInfo.getErrors()!=testCase
[all...]
H A Dssearch.h42 virtual int32_t monkeyTestCase(UCollator *coll, const UnicodeString &testCase, const UnicodeString &pattern, const UnicodeString &altPattern,
H A Dssearch.cpp138 const UXMLElement *testCase; local
141 while((testCase = root->nextChildElement(tc)) != NULL) {
143 if (testCase->getTagName().compare("test-case") != 0) {
147 const UnicodeString *id = testCase->getAttribute("id");
161 const UnicodeString *strength = testCase->getAttribute("strength");
182 const UnicodeString *norm = testCase->getAttribute("norm");
192 const UnicodeString *alt = testCase->getAttribute("alternate_handling");
200 const UnicodeString *locale = testCase->getAttribute("locale");
215 n = testCase->getChildElement("pattern");
225 n = testCase
1066 append(UnicodeString &testCase, UnicodeString &alternate) argument
1094 generateAlternative(const UnicodeString &testCase, UnicodeString &alternate) argument
1154 generateTestCase(UCollator *coll, Monkey *monkeys[], int32_t monkeyCount, UnicodeString &testCase, UnicodeString &alternate) argument
1305 monkeyTestCase(UCollator *coll, const UnicodeString &testCase, const UnicodeString &pattern, const UnicodeString &altPattern, const char *name, const char *strength, uint32_t seed) argument
1380 UnicodeString testCase; local
[all...]
H A Dconvtest.cpp97 const DataMap *testCase; local
106 for(i=0; testData->nextCase(testCase, errorCode); ++i) {
116 s=testCase->getString("charset", errorCode);
120 cc.bytes=testCase->getBinary(cc.bytesLength, "bytes", errorCode);
121 unicode=testCase->getString("unicode", errorCode);
126 cc.offsets=testCase->getIntVector(offsetsLength, "offsets", errorCode);
135 cc.finalFlush= 0!=testCase->getInt28("flush", errorCode);
136 cc.fallbacks= 0!=testCase->getInt28("fallbacks", errorCode);
138 s=testCase->getString("errorCode", errorCode);
153 s=testCase
209 const DataMap *testCase; local
366 const DataMap *testCase; local
[all...]
H A Dalphaindextst.cpp643 const TestCase &testCase = testCases[i]; local
644 UnicodeString name = UnicodeString(testCase.name).unescape();
645 UnicodeString label = UnicodeString(testCase.bucketLabel).unescape();
647 sprintf(msg, "getBucketIndex(%s)", testCase.name);
648 assertEquals(msg, testCase.bucketIndex, index.getBucketIndex(name, status));
649 sprintf(msg, "immutable getBucketIndex(%s)", testCase.name);
650 assertEquals(msg, testCase.bucketIndex, immIndex->getBucketIndex(name, status));
651 sprintf(msg, "immutable bucket label (%s)", testCase.name);
652 assertEquals(msg, label, immIndex->getBucket(testCase.bucketIndex)->getLabel());
H A Dnumfmtst.cpp954 UnicodeString testCase = ctou(lenientAffixTestCases[t]); local
956 format->parse(testCase, n, status);
957 logln((UnicodeString)"parse(" + testCase + ") = " + n.getLong());
978 UnicodeString testCase = ctou(lenientMinusTestCases[t]); local
980 mFormat->parse(testCase, n, status);
981 logln((UnicodeString)"parse(" + testCase + ") = " + n.getLong());
998 UnicodeString testCase = ctou(lenientMinusTestCases[t]); local
1000 mFormat->parse(testCase, n, status);
1001 logln((UnicodeString)"parse(" + testCase + ") = " + n.getLong());
1018 UnicodeString testCase local
1031 UnicodeString testCase = ctou(lenientNegativeCurrencyTestCases[t]); local
1053 UnicodeString testCase = ctou(lenientPercentTestCases[t]); local
1066 UnicodeString testCase = ctou(lenientNegativePercentTestCases[t]); local
1090 UnicodeString testCase = ctou(strictFailureTestCases[t]); local
1105 UnicodeString testCase = ctou(strictFailureTestCases[t]); local
2901 double testCase; member in struct:__anon1174
[all...]
H A Dcsdetest.cpp561 const UXMLElement *testCase; local
564 while((testCase = root->nextChildElement(tc)) != NULL) {
565 if (testCase->getTagName().compare(test_case) == 0) {
566 const UnicodeString *id = testCase->getAttribute(id_attr);
567 const UnicodeString *encodings = testCase->getAttribute(enc_attr);
568 const UnicodeString text = testCase->getText(TRUE);
/macosx-10.10/JavaScriptCore-7600.1.17/tests/mozilla/js1_2/Array/
H A Dslice.js96 var testCase = new TestCase(SECTION, testname, true, passed);
98 testCase.reason = reason;
99 return testCase;
/macosx-10.10/JavaScriptCore-7600.1.17/tests/mozilla/js1_2/String/
H A Dslice.js96 var testCase = new TestCase(SECTION, testname, true, passed);
98 testCase.reason = reason;
99 return testCase;
/macosx-10.10/ICU-531.30/icuSources/test/letest/
H A Dxmlreader.cpp163 const UXMLElement *testCase; local
166 while((testCase = root->nextChildElement(tc)) != NULL) {
167 if (testCase->getTagName().compare(test_case) == 0) {
168 char *id = getCString(testCase->getAttribute(id_attr));
169 char *script = getCString(testCase->getAttribute(script_attr));
170 char *lang = getCString(testCase->getAttribute(lang_attr));
199 while((element = testCase->nextChildElement(ec)) != NULL) {
H A Dgendata.cpp186 const UXMLElement *testCase; local
189 while((testCase = root->nextChildElement(tc)) != NULL) {
190 if (testCase->getTagName().compare(test_case) == 0) {
191 char *id = getCString(testCase->getAttribute(id_attr));
192 char *script = getCString(testCase->getAttribute(script_attr));
193 char *lang = getCString(testCase->getAttribute(lang_attr));
230 while((element = testCase->nextChildElement(ec)) != NULL) {
H A Dletest.cpp596 const UXMLElement *testCase; local
599 while((testCase = root->nextChildElement(tc)) != NULL) {
600 if (testCase->getTagName().compare(test_case) == 0) {
601 char *id = getCString(testCase->getAttribute(id_attr));
602 char *script = getCString(testCase->getAttribute(script_attr));
603 char *lang = getCString(testCase->getAttribute(lang_attr));
633 while((element = testCase->nextChildElement(ec)) != NULL) {
/macosx-10.10/ICU-531.30/icuSources/test/perf/leperf/
H A Dxmlreader.cpp163 const UXMLElement *testCase; local
166 while((testCase = root->nextChildElement(tc)) != NULL) {
167 if (testCase->getTagName().compare(test_case) == 0) {
168 char *id = getCString(testCase->getAttribute(id_attr));
169 char *script = getCString(testCase->getAttribute(script_attr));
170 char *lang = getCString(testCase->getAttribute(lang_attr));
199 while((element = testCase->nextChildElement(ec)) != NULL) {
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/sslSubjName/
H A DsslSubjName.cpp440 SSN_TestCase *testCase; local
521 testCase = &testCases[testNum];
523 printf("%s\n", testCase->testDesc);
527 testCase->certIpAddr, testCase->certDnsName, testCase->commonName,
553 testCase->vfyHostName,
557 testCase->expectErrStr,
558 testCase->certErrorStr ? 1 : 0,
559 testCase
[all...]
/macosx-10.10/ICU-531.30/icuSources/test/iotest/
H A Diotest.cpp200 const DataMap *testCase; local
227 for(i=0; testData->nextCase(testCase, errorCode); ++i) {
242 tempStr=testCase->getString("format", errorCode);
244 tempStr=testCase->getString("result", errorCode);
246 tempStr=testCase->getString("argument", errorCode);
256 switch (testCase->getString("argumentType", errorCode)[0]) {
294 log_err("Unknown type %c for test %d\n", testCase->getString("argumentType", errorCode)[0], i);
366 const DataMap *testCase; local
393 for(i=0; testData->nextCase(testCase, errorCode); ++i) {
407 tempStr=testCase
568 const DataMap *testCase; local
[all...]
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/smimePolicy/
H A DsmimePolicy.cpp1078 SP_TestCase *testCase; local
1163 testCase = &testCases[testNum];
1165 printf("%s\n", testCase->testDesc);
1169 testCase->subjNameEmail, testCase->subjAltNameEmail,
1170 testCase->subjNameCommon, testCase->subjAltNameCritical,
1171 testCase->orgUnit, testCase->orgName,
1172 testCase
[all...]
/macosx-10.10/libauto-186/auto_tester/
H A DTestCase.m534 TestCase *testCase = (TestCase *)arg;
535 CFRelease(testCase);
536 [testCase testThread];
/macosx-10.10/ICU-531.30/icuSources/test/cintltst/
H A Dcmsccoll.c838 const static UChar testCase[][MAX_TOKEN_LEN] = local
880 doTest(myCollation, testCase[i], testCase[j], caseTestResults[k][3*i+j-1]);
900 doTest(myCollation, testCase[i], testCase[j], caseTestResults[k][3*i+j-1]);
901 iter=ucol_openElements(myCollation, testCase[i], u_strlen(testCase[i]), &status);
904 iter=ucol_openElements(myCollation, testCase[j], u_strlen(testCase[j]), &status);

Completed in 589 milliseconds