Searched refs:testcase (Results 1 - 25 of 35) sorted by relevance

12

/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/js1_6/
H A Dbrowser.js87 var testcase = new TestCase(gTestName, description, expected, actual);
88 testcase.passed = _reportCompare(expected, actual, description);
96 var testcase;
100 testcase = testcases[tc - 1];
101 testcase.passed = false;
113 testcase = new TestCase(gTestName, DESCRIPTION, EXPECTED, "error");
117 testcase.passed = true;
121 testcase.reason += msg;
125 testcase.reason += ' Page: ' + page;
129 testcase
[all...]
/macosx-10.10.1/ICU-531.30/icuSources/test/perf/unisetperf/
H A Dunisetperf.cpp135 Command(const UnicodeSetPerformanceTest &testcase) : testcase(testcase) {} argument
145 return testcase.countInputCodePoints+testcase.spanCount-1;
149 return testcase.spanCount;
152 const UnicodeSetPerformanceTest &testcase; member in class:Command
157 Contains(const UnicodeSetPerformanceTest &testcase) : Command(testcase) { argument
163 if(testcase
172 get(const UnicodeSetPerformanceTest &testcase) argument
207 SpanUTF16(const UnicodeSetPerformanceTest &testcase) argument
234 get(const UnicodeSetPerformanceTest &testcase) argument
258 SpanBackUTF16(const UnicodeSetPerformanceTest &testcase) argument
285 get(const UnicodeSetPerformanceTest &testcase) argument
313 SpanUTF8(const UnicodeSetPerformanceTest &testcase) argument
335 get(const UnicodeSetPerformanceTest &testcase) argument
359 SpanBackUTF8(const UnicodeSetPerformanceTest &testcase) argument
381 get(const UnicodeSetPerformanceTest &testcase) argument
[all...]
/macosx-10.10.1/ICU-531.30/icuSources/test/perf/utrie2perf/
H A Dutrie2perf.cpp97 Command(const UTrie2PerfTest &testcase) : testcase(testcase) {} argument
106 return testcase.countInputCodePoints;
111 const UTrie2PerfTest &testcase; member in class:Command
117 CheckFCD(const UTrie2PerfTest &testcase) : Command(testcase) {} argument
119 static UPerfFunction* get(const UTrie2PerfTest &testcase) { argument
120 return new CheckFCD(testcase);
124 qcResult=unorm_quickCheck(testcase
175 ToNFC(const UTrie2PerfTest &testcase) argument
187 get(const UTrie2PerfTest &testcase) argument
209 GetBiDiClass(const UTrie2PerfTest &testcase) argument
211 get(const UTrie2PerfTest &testcase) argument
[all...]
/macosx-10.10.1/bind9-45.101/bind9/lib/isc/tests/
H A Dhash_test.c202 hash_testcase_t *testcase = testcases; local
204 while (testcase->input != NULL && testcase->result != NULL) {
206 for(i = 0; i < testcase->repeats; i++) {
208 (const isc_uint8_t *) testcase->input,
209 testcase->input_len);
213 ATF_CHECK_STREQ(str, testcase->result);
215 testcase++;
329 hash_testcase_t *testcase = testcases; local
331 while (testcase
461 hash_testcase_t *testcase = testcases; local
607 hash_testcase_t *testcase = testcases; local
754 hash_testcase_t *testcase = testcases; local
833 hash_testcase_t *testcase = testcases; local
922 hash_testcase_t *testcase = testcases; local
1075 hash_testcase_t *testcase = testcases; local
1238 hash_testcase_t *testcase = testcases; local
1407 hash_testcase_t *testcase = testcases; local
1576 hash_testcase_t *testcase = testcases; local
1719 hash_testcase_t *testcase = testcases; local
[all...]
/macosx-10.10.1/ICU-531.30/icuSources/test/perf/utfperf/
H A Dutfperf.cpp122 Command(const UtfPerformanceTest &testcase) argument
123 : testcase(testcase),
124 input(testcase.getBuffer()), inputLength(testcase.getBufferLen()),
126 cnv=ucnv_open(testcase.charset, &errorCode);
128 fprintf(stderr, "error opening converter for \"%s\" - %s\n", testcase.charset, u_errorName(errorCode));
143 const UtfPerformanceTest &testcase; member in class:Command
153 Roundtrip(const UtfPerformanceTest &testcase) : Command(testcase) {} argument
155 get(const UtfPerformanceTest &testcase) argument
220 FromUnicode(const UtfPerformanceTest &testcase) argument
222 get(const UtfPerformanceTest &testcase) argument
265 FromUTF8(const UtfPerformanceTest &testcase) argument
272 get(const UtfPerformanceTest &testcase) argument
[all...]
/macosx-10.10.1/Heimdal-398.1.2/lib/wind/
H A Dtest-ldap.c45 struct testcase { struct
52 static const struct testcase testcases[] = {
59 static const struct testcase testcases2[] = {
76 const struct testcase *t = &testcases[i];
101 const struct testcase *t = &testcases2[i];
H A Dtest-utf8.c73 struct testcase { struct
80 static const struct testcase testcases[] = {
123 const struct testcase *t = &testcases[i];
H A Dtest-rw.c42 struct testcase { struct
/macosx-10.10.1/CommonCrypto-60061/test/CommonCrypto/
H A DCommonKeyDerivation.c96 for(size_t testcase = 0; testcase < kdfvLen; testcase++) {
97 diag("Test %lu\n", testcase + 1);
98 ok(PBKDF2Test(&kdfv[testcase]), "Successful full test of KDF Vector");
H A DCommonHMac.c190 for(size_t testcase = 0; testcase < hmvLen; testcase++) {
191 // diag("Test %lu\n", testcase + 1);
192 ok(testHMac(&hmv[testcase]), "Successful full test of HMAC Vector");
/macosx-10.10.1/ICU-531.30/icuSources/test/iotest/
H A Dstream.cpp307 char testcase[10]; local
308 testString(UStr, u_austrcpy(testcase, testCase1), expectedResultA, IOSTREAM_EOF|IOSTREAM_FAIL);
309 testString(UStr, u_austrcpy(testcase, testCase2), expectedResultB, IOSTREAM_EOF);
311 testString(UStr, u_austrcpy(testcase, testCase3), expectedResultC, IOSTREAM_EOF|IOSTREAM_FAIL);
312 testString(UStr, u_austrcpy(testcase, testCase4), expectedResultD, IOSTREAM_EOF);
313 testString(UStr, u_austrcpy(testcase, testCase5), expectedResultD, IOSTREAM_GOOD);
314 testString(UStr, u_austrcpy(testcase, testCase6), expectedResultD, IOSTREAM_GOOD);
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/js1_2/Array/
H A Dsplice1.js125 var testcase = new TestCase( SECTION, testname, true, passed);
127 testcase.reason = reason;
128 return testcase;
H A Dsplice2.js123 var testcase = new TestCase(SECTION, testname, true, passed);
124 if (!passed) testcase.reason = reason;
125 return testcase;
/macosx-10.10.1/Libc-1044.1.2/gen/
H A Dget_compat.c158 } testcase; typedef in typeref:struct:__anon2725
160 testcase cases[] = {
183 int ncases = sizeof(cases)/sizeof(testcase);
/macosx-10.10.1/curl-83.1.2/curl/tests/unit/
H A Dunit1307.c33 struct testcase { struct
39 static const struct testcase tests[] = {
222 int testnum = sizeof(tests) / sizeof(struct testcase);
/macosx-10.10.1/Heimdal-398.1.2/lib/roken/
H A Dparse_bytes-test.c39 static struct testcase { struct
H A Dparse_time-test.c41 static struct testcase { struct
H A Dstrpftime-test.c41 static struct testcase { struct
/macosx-10.10.1/ICU-531.30/icuSources/test/intltest/
H A Dastrotst.cpp438 static const double testcase[][10] = {{2012, 5, 20 , 16 , 48, 59}, local
453 for (int32_t i = 0; i < (int32_t)(sizeof(testcase)/sizeof(testcase[0])); i++) {
455 logln((UnicodeString)"CASE["+i+"]: Year "+(int32_t)testcase[i][0]+" Month "+(int32_t)testcase[i][1]+" Day "+
456 (int32_t)testcase[i][2]+" Hour "+(int32_t)testcase[i][3]+" Minutes "+(int32_t)testcase[i][4]+
457 " Seconds "+(int32_t)testcase[i][5]);
458 gc->set((int32_t)testcase[
[all...]
/macosx-10.10.1/curl-83.1.2/curl/tests/server/
H A Dtftpd.c105 struct testcase { struct
271 static void read_ahead(struct testcase *test, int convert);
273 static ssize_t write_behind(struct testcase *test, int convert);
277 static int do_tftp(struct testcase *test, struct tftphdr *tp, ssize_t size);
279 static int validate_access(struct testcase *test, const char *fname, int mode);
281 static void sendtftp(struct testcase *test, struct formats *pf);
283 static void recvtftp(struct testcase *test, struct formats *pf);
453 static int readit(struct testcase *test, struct tftphdr **dpp,
473 static void read_ahead(struct testcase *test,
533 static int writeit(struct testcase *tes
[all...]
/macosx-10.10.1/Heimdal-398.1.2/lib/krb5/
H A Dn-fold-test.c37 static struct testcase { struct
97 struct testcase *t;
H A Dparse-name-test.c38 static struct testcase { struct
67 struct testcase *t;
H A Dstring-to-key-test.c38 static struct testcase { struct
99 struct testcase *t;
H A Dtest_pknistkdf.c41 struct testcase { struct
223 test_dh2key(krb5_context context, int i, struct testcase *c)
/macosx-10.10.1/ICU-531.30/icuSources/test/cintltst/
H A Dcnumtst.c1946 static void TestNBSPPatternRtNum(const char *testcase, int line, UNumberFormat *nf, double myNumber) { argument
1952 log_verbose("%s:%d: formatted %.2f into %s\n", testcase, line, myNumber, u_austrcpy(tmpbuf, myString));
1954 log_err("%s:%d: failed format of %.2g with %s\n", testcase, line, myNumber, u_errorName(status));
1959 log_err("%s:%d: failed parse with %s\n", testcase, line, u_errorName(status));
1963 log_err("FAIL: %s:%d formatted %.2f, parsed into %.2f\n", testcase, line, myNumber, aNumber);
1965 log_verbose("PASS: %s:%d formatted %.2f, parsed into %.2f\n", testcase, line, myNumber, aNumber);
1969 static void TestNBSPPatternRT(const char *testcase, UNumberFormat *nf) { argument
1970 TestNBSPPatternRtNum(testcase, __LINE__, nf, 12345.);
1971 TestNBSPPatternRtNum(testcase, __LINE__, nf, -12345.);
1977 const char *testcase; local
[all...]

Completed in 295 milliseconds

12