HomeSort by relevance Sort by last modified time
    Searched refs:expected (Results 226 - 250 of 812) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/
atm_zatm.h 40 struct timeval expected; /* expected real time */ member in struct:zatm_t_hist
  /external/v8/test/mjsunit/
mjsunit.js 42 function fail(expected, found, name_opt) {
50 throw new MjsUnitAssertionError(start + " expected <" + expected + "> found <" + found + ">");
105 function assertEquals(expected, found, name_opt) {
106 if (!deepEquals(found, expected)) {
107 fail(expected, found, name_opt);
112 function assertArrayEquals(expected, found, name_opt) {
117 assertEquals(expected.length, found.length, start + "array length");
118 if (expected.length == found.length) {
119 for (var i = 0; i < expected.length; ++i)
    [all...]
  /external/webkit/LayoutTests/fast/js/resources/
js-test-pre.js 125 function shouldEvaluateTo(actual, expected) {
127 // evaluated, as for shouldBe(). 'expected' may be any type and will be
129 if (expected == null) {
132 } else if (typeof expected == "undefined") {
134 } else if (typeof expected == "function") {
143 "'" + expected.toString().replace(/\n/g, "") + "'");
144 } else if (typeof expected == "object") {
145 shouldBeTrue(actual + " == '" + expected + "'");
146 } else if (typeof expected == "string") {
147 shouldBe(actual, expected);
    [all...]
  /external/icu4c/test/cintltst/
cmsgtst.c 138 log_err("FAIL: Error in MessageFormat on testcase : %d\n GOT %s EXPECTED %s\n", i,
170 log_err("FAIL: Error in MessageFormat on testcase : %d\n GOT %s EXPECTED %s\n", i,
218 log_err("FAIL: Error in MessageFormat on testcase : %d\n GOT %s EXPECTED %s\n", i,
232 log_err("FAIL: Did not get expected error for umsg_parse(). Expected: U_ILLEGAL_ARGUMENT_ERROR Got: %s \n",u_errorName(ec));
247 log_err("FAIL: Expected U_BUFFER_OVERFLOW error while preflighting got: %s for testCasePatterns[%d]",u_errorName(ec),i);
263 UChar pattern[100], expected[100]; local
274 u_uastrcpy(expected, "There are abc files on Jul 10, 1996");
289 else if(u_strcmp(result, expected)==0)
292 log_err("FAIL: Error in MessageFormat on test#1 \n GOT: %s EXPECTED: %s\n",
364 UChar expected[100]; local
466 UChar expected[100]; local
560 UChar expected[100]; local
655 UChar expected[100]; local
725 UChar expected[100]; local
1085 UChar expected[sizeof(expectedChars)]; local
    [all...]
  /external/chromium/third_party/icu/source/test/intltest/
restsnew.cpp 36 #define CONFIRM_EQ(actual,expected) if ((expected)==(actual)) { record_pass(); } else { record_fail(); errln(action + (UnicodeString)" returned " + (actual) + (UnicodeString)" instead of " + (expected)); }
37 #define CONFIRM_GE(actual,expected) if ((actual)>=(expected)) { record_pass(); } else { record_fail(); errln(action + (UnicodeString)" returned " + (actual) + (UnicodeString)" instead of x >= " + (expected)); }
38 #define CONFIRM_NE(actual,expected) if ((expected)!=(actual)) { record_pass(); } else { record_fail(); errln(action + (UnicodeString)" returned " + (actual) + (UnicodeString)" instead of x != " + (expected)); }
40 #define CONFIRM_UErrorCode(actual,expected) if ((expected)==(actual)) { record_pass(); } else { record_fail(); errln(action + (UnicodeString) (…)
323 UnicodeString expected; local
534 UnicodeString expected; local
1012 UChar expected[] = { 'a','b','c','\\0','d','e','f' }; local
    [all...]
incaltst.cpp 192 " => " + d + ", expected " + D + " (" + UnicodeString(cal.getType()) + "Off by: " + (d-D));
212 ", expected " + era + ":" + year + "/" + (month+1) + "/" +
429 UnicodeString expected("September 8, 2544 BE");
430 if(str != expected) {
431 errln("Expected " + escape(expected) + " but got " + escape(str));
433 UDate otherDate = fmt->parse(expected, status);
437 errln("Parse incorrect of " + escape(expected) + " - wanted " + aDate + " but got " + otherDate + ", " + escape(str3));
439 logln("Parsed OK: " + expected);
514 UnicodeString expected("September 8, 13 Heisei")
    [all...]
testidna.cpp 240 UErrorCode expected; member in struct:ErrorCases
441 errln("Failed. Expected: " + prettify(UnicodeString(transOut, transOutLength))
450 void TestIDNA::testAPI(const UChar* src, const UChar* expected, const char* testName,
458 int32_t expectedLen = (expected != NULL) ? u_strlen(expected) : 0;
477 // TODO : compare output with expected
478 if(U_SUCCESS(status) && expectedStatus != U_IDNA_STD3_ASCII_RULES_ERROR&& (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){
479 errln("Did not get the expected result for "+UnicodeString(testName) +" null terminated source. Expected : "
480 + prettify(UnicodeString(expected,expectedLen)
719 UChar expected[MAX_DEST_SIZE]; local
745 UChar expected[MAX_DEST_SIZE]; local
997 UChar expected[MAX_DEST_SIZE]; local
    [all...]
  /external/icu4c/test/intltest/
restsnew.cpp 36 #define CONFIRM_EQ(actual,expected) if ((expected)==(actual)) { record_pass(); } else { record_fail(); errln(action + (UnicodeString)" returned " + (actual) + (UnicodeString)" instead of " + (expected)); }
37 #define CONFIRM_GE(actual,expected) if ((actual)>=(expected)) { record_pass(); } else { record_fail(); errln(action + (UnicodeString)" returned " + (actual) + (UnicodeString)" instead of x >= " + (expected)); }
38 #define CONFIRM_NE(actual,expected) if ((expected)!=(actual)) { record_pass(); } else { record_fail(); errln(action + (UnicodeString)" returned " + (actual) + (UnicodeString)" instead of x != " + (expected)); }
40 #define CONFIRM_UErrorCode(actual,expected) if ((expected)==(actual)) { record_pass(); } else { record_fail(); errln(action + (UnicodeString) (…)
328 UnicodeString expected; local
539 UnicodeString expected; local
1017 UChar expected[] = { 'a','b','c','\\0','d','e','f' }; local
    [all...]
incaltst.cpp 192 " => " + d + ", expected " + D + " (" + UnicodeString(cal.getType()) + "Off by: " + (d-D));
212 ", expected " + era + ":" + year + "/" + (month+1) + "/" +
429 UnicodeString expected("September 8, 2544 BE");
430 if(str != expected) {
431 errln("Expected " + escape(expected) + " but got " + escape(str));
433 UDate otherDate = fmt->parse(expected, status);
437 errln("Parse incorrect of " + escape(expected) + " - wanted " + aDate + " but got " + otherDate + ", " + escape(str3));
439 logln("Parsed OK: " + expected);
514 UnicodeString expected("September 8, 13 Heisei")
    [all...]
testidna.cpp 240 UErrorCode expected; member in struct:ErrorCases
441 errln("Failed. Expected: " + prettify(UnicodeString(transOut, transOutLength))
449 void TestIDNA::testAPI(const UChar* src, const UChar* expected, const char* testName,
457 int32_t expectedLen = (expected != NULL) ? u_strlen(expected) : 0;
476 // TODO : compare output with expected
477 if(U_SUCCESS(status) && expectedStatus != U_IDNA_STD3_ASCII_RULES_ERROR&& (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0,&status)!=0){
478 errln("Did not get the expected result for "+UnicodeString(testName) +" null terminated source. Expected : "
479 + prettify(UnicodeString(expected,expectedLen)
718 UChar expected[MAX_DEST_SIZE]; local
744 UChar expected[MAX_DEST_SIZE]; local
996 UChar expected[MAX_DEST_SIZE]; local
    [all...]
  /build/tools/droiddoc/test/stubs/
run.sh 31 echo EXPECTED
32 diff -r $DIR/expected $A_STUBS
  /cts/tests/tests/net/src/android/net/cts/
DhcpInfoTest.java 52 String expected = "ipaddr " + STR_ADDR1 + " gateway " + STR_ADDR2 + " netmask " local
70 assertEquals(expected, dhcpInfo.toString());
  /cts/tests/tests/permission2/src/android/permission2/cts/
ProtectedBroadcastsTest.java 76 fail("expected security exception broadcasting action: " + action);
77 } catch (SecurityException expected) {
78 assertNotNull("security exception's error message.", expected.getMessage());
  /cts/tests/tests/view/src/android/view/inputmethod/cts/
InputMethodInfoTest.java 141 private void assertService(ServiceInfo expected, ServiceInfo actual) {
142 assertEquals(expected.getIconResource(), actual.getIconResource());
143 assertEquals(expected.labelRes, actual.labelRes);
144 assertEquals(expected.nonLocalizedLabel, actual.nonLocalizedLabel);
145 assertEquals(expected.icon, actual.icon);
146 assertEquals(expected.permission, actual.permission);
197 CharSequence expected = "test"; local
199 assertEquals(expected.toString(), mInputMethodInfo.loadLabel(pm).toString());
  /cts/tests/tests/webkit/src/android/webkit/cts/
URLUtilTest.java 206 String expected = "http://story/test"; local
207 assertEquals(expected, URLUtil.composeSearchUrl("story", "http://holder/test", "holder"));
209 expected = "file://query/test";
210 assertEquals(expected, URLUtil.composeSearchUrl("query", "file://holder/test", "holder"));
228 byte[] expected = new byte[] { 'w', 'w', 'w', '.', 'n', 'a', 'm', 'e', '.', 'c', 'o', 'm',
230 MoreAsserts.assertEquals(expected, result);
289 String expected = "http://www.google.com"; local
290 assertEquals(expected, URLUtil.stripAnchor(url));
  /dalvik/tests/
run-test 43 expected="expected.txt"
145 "(replaces expected.txt)."
171 td_expected="${test_dir}/${expected}"
226 diff --strip-trailing-cr -q "$expected" "$output" >/dev/null
228 # output == expected
247 diff --strip-trailing-cr -u "$expected" "$output"
  /external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/
JDKDigestSignature.java 165 byte[] expected;
171 expected = derEncode(hash);
178 if (sig.length == expected.length)
182 if (sig[i] != expected[i])
188 else if (expected.length == sig.length - 2) // NULL left out
191 int expectedOffset = expected.length - hash.length - 2;
198 if (sig[sigOffset + i] != expected[expectedOffset + i]) // check hash
206 if (sig[i] != expected[i]) // check header less NULL
  /external/chromium/base/
version_unittest.cc 41 int expected; member in struct:__anon2314::version_compare
57 EXPECT_EQ(lhs->CompareTo(*rhs), cases[i].expected) <<
  /libcore/luni/src/test/java/libcore/java/lang/
ProcessBuilderTest.java 56 } catch (NullPointerException expected) {
61 } catch (NullPointerException expected) {
  /libcore/luni/src/test/java/libcore/java/net/
OldURLEncoderTest.java 38 String [] expected = { "http%3A%2F%2Fjcltest.apache.org%2Ftest%3Fhl%" + local
46 assertEquals(expected[i], encodedString);
62 fail("UnsupportedEncodingException expected");
64 //expected
  /packages/apps/Email/tests/src/com/android/email/mail/transport/
DiscourseLoggerTest.java 124 private void checkDiscourseStore(int storeSize, Object[] discource, String[] expected) {
137 MoreAsserts.assertEquals(expected, store.getLines());
  /cts/tests/tests/graphics/src/android/graphics/cts/
InterpolatorTest.java 70 final int expected = 100; local
73 interpolator.reset(expected);
74 assertEquals(expected, interpolator.getValueCount());
167 // expected
219 // expected
353 // expected
361 // expected
369 // expected
377 // expected
382 private void assertValue(int time, float expected, Result expectedResult
    [all...]
BlurMaskFilterTest.java 85 private void checkColor(int expected, int actual, int alphaTolerance) {
86 assertEquals(Color.red(expected), Color.red(actual));
87 assertEquals(Color.green(expected), Color.green(actual));
88 assertEquals(Color.blue(expected), Color.blue(actual));
89 assertEquals(Color.alpha(expected), Color.alpha(actual), alphaTolerance);
  /libcore/luni/src/main/java/org/apache/harmony/security/asn1/
BerInputStream.java 83 * expected length of full encoding, this includes identifier,
96 // compare expected and decoded length
270 throw expected("bitstring");
282 throw expected("enumerated");
318 throw expected("boolean");
399 throw expected("GeneralizedTime");
460 throw expected("UTCTime");
489 throw expected("integer");
524 throw expected("octetstring");
528 private ASN1Exception expected(String what) throws ASN1Exception method in class:BerInputStream
    [all...]
  /bootable/recovery/edify/
main.c 26 int expect(const char* expr_str, const char* expected, int* errors) {
51 if (result == NULL && expected != NULL) {
57 if (result == NULL && expected == NULL) {
61 if (strcmp(result, expected) != 0) {
62 fprintf(stderr, "evaluating \"%s\": expected \"%s\", got \"%s\"\n",
63 expr_str, expected, result);

Completed in 410 milliseconds

1 2 3 4 5 6 7 8 91011>>