HomeSort by relevance Sort by last modified time
    Searched defs:expected (Results 276 - 300 of 871) sorted by null

<<11121314151617181920>>

  /external/chromium_org/v8/test/cctest/
test-unique.cc 268 UniqueSet<T>* set1, UniqueSet<T>* set2, bool expected) {
271 CHECK(expected == set1->Equals(set2));
272 CHECK(expected == set2->Equals(set1));
474 UniqueSet<String>* expected = MakeSet(&zone, i & j, elements); local
476 CHECK(result->Equals(expected));
477 CHECK(expected->Equals(result));
542 UniqueSet<String>* expected = MakeSet(&zone, i | j, elements); local
544 CHECK(result->Equals(expected));
545 CHECK(expected->Equals(result));
  /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
ListRemoveAtIndexTester.java 45 } catch (UnsupportedOperationException expected) {
55 } catch (IndexOutOfBoundsException expected) {
65 } catch (IndexOutOfBoundsException expected) {
92 List<E> expected = Helpers.copyToList(createSamplesArray()); local
93 expected.remove(index);
94 expectContents(expected);
  /external/icu/icu4c/source/test/cintltst/
encoll.c 265 UCollationResult expected=UCOL_EQUAL; local
296 if (i < j) expected = UCOL_LESS;
297 if (i == j) expected = UCOL_EQUAL;
298 if (i > j) expected = UCOL_GREATER;
299 doTest(myCollation, testMore[i], testMore[j], expected );
326 UCollationResult expected=UCOL_EQUAL; local
348 if (i < j) expected = UCOL_LESS;
349 if (i == j) expected = UCOL_EQUAL;
350 if (i > j) expected = UCOL_GREATER;
351 doTest(myCollation, testAcute[i], testAcute[j], expected );
    [all...]
  /external/icu/icu4c/source/test/intltest/
encoll.cpp 262 Collator::EComparisonResult expected; local
269 expected = Collator::LESS;
271 expected = Collator::EQUAL;
273 expected = Collator::GREATER;
274 doTest(myCollation, testMore[i], testMore[j], expected );
301 Collator::EComparisonResult expected; local
308 expected = Collator::LESS;
310 expected = Collator::EQUAL;
312 expected = Collator::GREATER;
313 doTest(myCollation, testAcute[i], testAcute[j], expected );
    [all...]
frcoll.cpp 161 Collator::EComparisonResult expected; local
175 expected = Collator::LESS;
177 expected = Collator::EQUAL;
179 expected = Collator::GREATER;
180 doTest(myCollation, testAcute[i], testAcute[j], expected );
  /external/llvm/unittests/ADT/
APIntTest.cpp 559 integerPart expected[4] = {0x0, 0x1, 0x1, 0x1}; local
561 EXPECT_EQ(APInt::tcCompare(test, expected, 4), 0);
567 integerPart expected[4] = {~integerPart(0), 0xE, 0x1, 0x1}; local
570 EXPECT_EQ(APInt::tcCompare(test, expected, 4), 0);
576 integerPart expected[4] = {~integerPart(0), ~integerPart(0), 0xB, 0x1}; local
579 EXPECT_EQ(APInt::tcCompare(test, expected, 4), 0);
585 integerPart expected[4] = {~integerPart(0), ~integerPart(0), ~integerPart(0), 0x0}; local
588 EXPECT_EQ(APInt::tcCompare(test, expected, 4), 0);
594 integerPart expected[4] = {~integerPart(0), ~integerPart(0), ~integerPart(0), ~integerPart(0)}; local
597 EXPECT_EQ(APInt::tcCompare(test, expected, 4), 0)
    [all...]
  /external/nanohttpd/core/src/test/java/fi/iki/elonen/
HttpKeepAliveTest.java 16 String[] expected = { local
24 testManyRequests(request, expected);
31 String[] expected = { local
39 testManyRequests(request, expected);
48 * @param expected The expected response
50 public void testManyRequests(final String request, final String[] expected) throws Exception {
62 assertResponse(outputStream, expected);
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
URLEncodingTest.java 142 } catch (Exception expected) {
143 if (expected.getCause() instanceof URISyntaxException) {
144 expected.printStackTrace();
  /cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityFocusAndInputFocusSyncTest.java 46 final AccessibilityNodeInfo expected = getInstrumentation().getUiAutomation() local
49 assertNotNull(expected);
50 assertFalse(expected.isAccessibilityFocused());
51 assertTrue(expected.isFocused());
57 assertTrue(expected.performAction(ACTION_ACCESSIBILITY_FOCUS));
66 // Get the second expected node info.
72 // Make sure we got the expected focusable.
73 assertEquals(expected, received);
  /cts/tests/tests/graphics/src/android/graphics/cts/
NinePatchTest.java 78 Bitmap expected = BitmapFactory.decodeResource(mRes, R.drawable.scaled1, mOptNoScale); local
80 Bitmap bitmap = Bitmap.createBitmap(expected.getWidth(), expected.getHeight(),
85 checkBitmapWithAlpha(expected, bitmap, ALPHA_OPAQUE);
87 expected = BitmapFactory.decodeResource(mRes, R.drawable.scaled2, mOptNoScale);
88 bitmap = Bitmap.createBitmap(expected.getWidth(), expected.getHeight(),
93 checkBitmapWithAlpha(expected, bitmap, ALPHA_OPAQUE);
95 bitmap = Bitmap.createBitmap(expected.getWidth(), expected.getHeight()
    [all...]
PathDashPathEffectTest.java 50 Bitmap expected = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888); local
51 expected.eraseColor(Color.BLACK);
52 canvas = new Canvas(expected);
65 if (expected.getPixel(x, y) != b.getPixel(x, y)) {
  /art/compiler/utils/x86_64/
assembler_x86_64_test.cc 137 const char* expected = local
144 DriverStr(expected, "movl");
150 const char* expected = "movw %R9w, 0(%RAX)\n"; local
151 DriverStr(expected, "movw");
  /bionic/libc/kernel/uapi/linux/
atm_zatm.h 44 struct timeval expected; member in struct:zatm_t_hist
  /bionic/tests/
fcntl_test.cpp 199 char expected[256]; local
202 ASSERT_TRUE(fgets(expected, sizeof(expected), expected_fp) != NULL);
237 ASSERT_STREQ(expected, buf1);
238 ASSERT_STREQ(expected, buf2);
search_test.cpp 158 int expected = 0; local
160 ASSERT_EQ(expected, q->i);
161 ++expected;
163 ASSERT_EQ(3, expected);
166 --expected;
167 ASSERT_EQ(expected, q->i);
169 ASSERT_EQ(0, expected);
stdatomic_test.cpp 110 int expected; local
113 expected = 123;
114 ASSERT_TRUE(atomic_compare_exchange_strong(&i, &expected, 456));
115 ASSERT_FALSE(atomic_compare_exchange_strong(&i, &expected, 456));
116 ASSERT_EQ(456, expected);
119 expected = 123;
120 ASSERT_TRUE(atomic_compare_exchange_strong_explicit(&i, &expected, 456, memory_order_relaxed, memory_order_relaxed));
121 ASSERT_FALSE(atomic_compare_exchange_strong_explicit(&i, &expected, 456, memory_order_relaxed, memory_order_relaxed));
122 ASSERT_EQ(456, expected);
125 expected = 123
    [all...]
  /cts/tests/tests/content/src/android/content/cts/
Intent_ShortcutIconResourceTest.java 78 int expected = 0; local
81 assertEquals(expected, mShortcutIconResource.describeContents());
  /cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/
MagnitudeVerification.java 33 * is within the expected range.
38 // sensorType: {expected, threshold}
54 * @param expected the expected value
57 public MagnitudeVerification(float expected, float threshold) {
58 mExpected = expected;
73 Float expected = DEFAULTS.get(sensorType)[0]; local
75 return new MagnitudeVerification(expected, threshold);
105 Assert.fail(String.format("Magnitude mean out of range: mean=%s (expected %s+/-%s)",
MeanVerification.java 30 * A {@link ISensorVerification} which verifies that the means matches the expected measurement.
35 // sensorType: {expected, threshold}
48 * @param expected the expected values
51 public MeanVerification(float[] expected, float[] threshold) {
52 mExpected = expected;
67 float[] expected = (float[]) DEFAULTS.get(sensorType)[0]; local
69 return new MeanVerification(expected, threshold);
120 Assert.fail(String.format("Mean out of range: mean=%s (expected %s)", meanSb.toString(),
  /cts/tests/tests/nativeopengl/standalone/jni/tests/
GLTest_test.cpp 155 bool checkPixel(GLubyte * actual, GLubyte * expected, int tolerance) {
157 if (abs(actual[i] - expected[i]) > tolerance) {
166 GLubyte * expected, int tolerance) {
168 if (checkPixel(actual, expected, tolerance)) {
176 << "Expected: r=" << (int)expected[0] << " g=" << (int)expected[1]
177 << " b=" << (int)expected[2] << " a=" << (int)expected[3] << "\n";
191 GLubyte expected[4] = { 51, 51, 51, 51 } local
    [all...]
  /cts/tests/tests/os/src/android/os/cts/
PatternMatcherTest.java 64 // set the expected value
78 // set the expected value
97 String expected = "test1"; local
99 mPatternMatcher = new PatternMatcher(expected, PatternMatcher.PATTERN_LITERAL);
104 assertEquals(expected, p.readString());
110 // set the expected value
117 // set the expected value
  /cts/tests/tests/text/src/android/text/method/cts/
DateKeyListenerTest.java 52 int expected = InputType.TYPE_CLASS_DATETIME | InputType.TYPE_DATETIME_VARIATION_DATE; local
53 assertEquals(expected, dateKeyListener.getInputType());
DateTimeKeyListenerTest.java 52 int expected = InputType.TYPE_CLASS_DATETIME local
54 assertEquals(expected, listener.getInputType());
TimeKeyListenerTest.java 47 int expected = InputType.TYPE_CLASS_DATETIME local
49 assertEquals(expected, listener.getInputType());
  /cts/tests/tests/view/src/android/view/cts/
MenuInflaterTest.java 223 Bitmap expected = BitmapFactory.decodeResource(mActivity.getResources(), resId); local
224 WidgetTestUtils.assertEquals(expected, b.getBitmap());

Completed in 1124 milliseconds

<<11121314151617181920>>