Searched refs:expected (Results 101 - 125 of 2227) sorted by relevance

1234567891011>>

/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-2537.js32 function foo(x, expected) {
33 assertEquals(expected, x); // This succeeds.
39 assertEquals(expected, x);
/external/chromium_org/v8/test/webkit/
H A Ddfg-arguments-osr-exit.js47 var expected = "74"; variable
52 expected = "\"4232\"";
55 shouldBe("bar(42)", expected);
H A Ddfg-dead-min-one-arg.js34 var expected = 42; variable
40 expected = 37;
45 shouldBe("result", "" + expected);
H A Ddfg-dead-speculation.js35 var expected = 84; variable
40 expected = 24;
43 shouldBe("variable", "" + expected);
H A Ddfg-to-string-toString-becomes-bad-with-dictionary-string-prototype.js41 var expected = "\"hello\""; variable
45 expected = "\"42\"";
47 shouldBe("\"\" + foo(\"hello\")", expected);
H A Ddfg-to-string-toString-in-string.js35 var expected = "\"hello\""; variable
40 expected = "\"42\"";
42 shouldBe("\"\" + foo(argument)", expected);
/external/deqp/framework/delibs/decpp/
H A DdeRandom.cpp54 static const bool expected[] = { true, false, false, false, true, true, false, false, false, false, false, false, true, false, true, false, false, false, false, true }; local
56 for (int i = 0; i < DE_LENGTH_OF_ARRAY(expected); i++)
57 DE_TEST_ASSERT(expected[i] == rnd.getBool());
63 static const int expected[] = { -6628, -6483, 802, -7758, -8463, 3165, 9216, 3107, 1851, 8707 }; local
65 for (int i = 0; i < DE_LENGTH_OF_ARRAY(expected); i++)
66 DE_TEST_ASSERT(expected[i] == rnd.getInt(-10000, 10000));
72 static const deUint32 expected[] = { 3694588092u, 3135240271u, 882874943u, 2108407657u, 376640368u, 1395362929u, 2611849801u, 3151830690u, 901476922u, 989608184u }; local
74 for (int i = 0; i < DE_LENGTH_OF_ARRAY(expected); i++)
75 DE_TEST_ASSERT(expected[i] == rnd.getUint32());
81 static const deUint64 expected[] local
90 static const float expected[] = { 0.763413f, 0.679680f, 0.288965f, 0.854431f, 0.403095f, 0.198132f, 0.729899f, 0.741484f, 0.358263f, 0.686578f }; local
[all...]
/external/chromium_org/third_party/libaddressinput/src/cpp/test/
H A Daddress_input_helper_test.cc78 AddressData expected = address; local
79 expected.postal_code = "6798";
81 EXPECT_EQ(expected, address);
92 AddressData expected = address; local
93 expected.administrative_area = "ND";
95 EXPECT_EQ(expected, address);
100 expected.administrative_area = "CA";
102 EXPECT_EQ(expected, address);
111 AddressData expected = address; local
113 expected
134 AddressData expected = address; local
156 AddressData expected = address; local
190 AddressData expected = address; local
206 AddressData expected = address; local
219 AddressData expected = address; local
230 AddressData expected = address; local
298 AddressData expected = address; local
339 AddressData expected = address; local
[all...]
H A Daddress_field_util_test.cc43 std::vector<FormatElement> expected; local
44 expected.push_back(FormatElement(ORGANIZATION));
45 expected.push_back(FormatElement());
46 expected.push_back(FormatElement(RECIPIENT));
47 expected.push_back(FormatElement());
48 expected.push_back(FormatElement(STREET_ADDRESS));
49 expected.push_back(FormatElement());
50 expected.push_back(FormatElement("AX-"));
51 expected.push_back(FormatElement(POSTAL_CODE));
52 expected
83 std::vector<AddressField> expected; local
[all...]
/external/chromium_org/net/websockets/
H A Dwebsocket_extension_parser_test.cc25 WebSocketExtension expected("foo");
30 EXPECT_TRUE(expected.Equals(parser.extension()));
35 WebSocketExtension expected("foo");
36 expected.Add(WebSocketExtension::Parameter("bar"));
41 EXPECT_TRUE(expected.Equals(parser.extension()));
46 WebSocketExtension expected("foo");
47 expected.Add(WebSocketExtension::Parameter("bar", "baz"));
52 EXPECT_TRUE(expected.Equals(parser.extension()));
57 WebSocketExtension expected("foo");
58 expected
[all...]
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dlocal_file_system_test.py21 expected = {
27 expected,
31 expected = ['dir/']
33 expected.append('file%d.html' % i)
34 self.assertEqual(expected,
/external/easymock/src/org/easymock/internal/matchers/
H A DEqualsWithDelta.java26 private final Number expected; field in class:EqualsWithDelta
31 this.expected = value;
37 return expected.doubleValue() - delta.doubleValue() <= actualNumber
39 && actualNumber.doubleValue() <= expected.doubleValue()
44 buffer.append("eq(" + expected + ", " + delta + ")");
/external/libcxx/test/language.support/support.limits/limits/numeric.limits.members/
H A Dhas_denorm_loss.pass.cpp16 template <class T, bool expected>
20 static_assert(std::numeric_limits<T>::has_denorm_loss == expected, "has_denorm_loss test 1");
21 static_assert(std::numeric_limits<const T>::has_denorm_loss == expected, "has_denorm_loss test 2");
22 static_assert(std::numeric_limits<volatile T>::has_denorm_loss == expected, "has_denorm_loss test 3");
23 static_assert(std::numeric_limits<const volatile T>::has_denorm_loss == expected, "has_denorm_loss test 4");
H A Dhas_infinity.pass.cpp16 template <class T, bool expected>
20 static_assert(std::numeric_limits<T>::has_infinity == expected, "has_infinity test 1");
21 static_assert(std::numeric_limits<const T>::has_infinity == expected, "has_infinity test 2");
22 static_assert(std::numeric_limits<volatile T>::has_infinity == expected, "has_infinity test 3");
23 static_assert(std::numeric_limits<const volatile T>::has_infinity == expected, "has_infinity test 4");
H A Dhas_quiet_NaN.pass.cpp16 template <class T, bool expected>
20 static_assert(std::numeric_limits<T>::has_quiet_NaN == expected, "has_quiet_NaN test 1");
21 static_assert(std::numeric_limits<const T>::has_quiet_NaN == expected, "has_quiet_NaN test 2");
22 static_assert(std::numeric_limits<volatile T>::has_quiet_NaN == expected, "has_quiet_NaN test 3");
23 static_assert(std::numeric_limits<const volatile T>::has_quiet_NaN == expected, "has_quiet_NaN test 4");
H A Dhas_signaling_NaN.pass.cpp16 template <class T, bool expected>
20 static_assert(std::numeric_limits<T>::has_signaling_NaN == expected, "has_signaling_NaN test 1");
21 static_assert(std::numeric_limits<const T>::has_signaling_NaN == expected, "has_signaling_NaN test 2");
22 static_assert(std::numeric_limits<volatile T>::has_signaling_NaN == expected, "has_signaling_NaN test 3");
23 static_assert(std::numeric_limits<const volatile T>::has_signaling_NaN == expected, "has_signaling_NaN test 4");
H A Dis_bounded.pass.cpp16 template <class T, bool expected>
20 static_assert(std::numeric_limits<T>::is_bounded == expected, "is_bounded test 1");
21 static_assert(std::numeric_limits<const T>::is_bounded == expected, "is_bounded test 2");
22 static_assert(std::numeric_limits<volatile T>::is_bounded == expected, "is_bounded test 3");
23 static_assert(std::numeric_limits<const volatile T>::is_bounded == expected, "is_bounded test 4");
H A Dis_exact.pass.cpp16 template <class T, bool expected>
20 static_assert(std::numeric_limits<T>::is_exact == expected, "is_exact test 1");
21 static_assert(std::numeric_limits<const T>::is_exact == expected, "is_exact test 2");
22 static_assert(std::numeric_limits<volatile T>::is_exact == expected, "is_exact test 3");
23 static_assert(std::numeric_limits<const volatile T>::is_exact == expected, "is_exact test 4");
H A Dis_integer.pass.cpp16 template <class T, bool expected>
20 static_assert(std::numeric_limits<T>::is_integer == expected, "is_integer test 1");
21 static_assert(std::numeric_limits<const T>::is_integer == expected, "is_integer test 2");
22 static_assert(std::numeric_limits<volatile T>::is_integer == expected, "is_integer test 3");
23 static_assert(std::numeric_limits<const volatile T>::is_integer == expected, "is_integer test 4");
H A Dis_modulo.pass.cpp16 template <class T, bool expected>
20 static_assert(std::numeric_limits<T>::is_modulo == expected, "is_modulo test 1");
21 static_assert(std::numeric_limits<const T>::is_modulo == expected, "is_modulo test 2");
22 static_assert(std::numeric_limits<volatile T>::is_modulo == expected, "is_modulo test 3");
23 static_assert(std::numeric_limits<const volatile T>::is_modulo == expected, "is_modulo test 4");
H A Dis_signed.pass.cpp16 template <class T, bool expected>
20 static_assert(std::numeric_limits<T>::is_signed == expected, "is_signed test 1");
21 static_assert(std::numeric_limits<const T>::is_signed == expected, "is_signed test 2");
22 static_assert(std::numeric_limits<volatile T>::is_signed == expected, "is_signed test 3");
23 static_assert(std::numeric_limits<const volatile T>::is_signed == expected, "is_signed test 4");
H A Dtinyness_before.pass.cpp16 template <class T, bool expected>
20 static_assert(std::numeric_limits<T>::tinyness_before == expected, "tinyness_before test 1");
21 static_assert(std::numeric_limits<const T>::tinyness_before == expected, "tinyness_before test 2");
22 static_assert(std::numeric_limits<volatile T>::tinyness_before == expected, "tinyness_before test 3");
23 static_assert(std::numeric_limits<const volatile T>::tinyness_before == expected, "tinyness_before test 4");
/external/chromium_org/cc/output/
H A Dfilter_operations_unittest.cc148 FilterOperation expected = FilterOperation::CreateGrayscaleFilter(0.f); local
149 EXPECT_EQ(expected, blended);
152 expected = FilterOperation::CreateGrayscaleFilter(0.625f);
153 EXPECT_EQ(expected, blended);
156 expected = FilterOperation::CreateGrayscaleFilter(1.f);
157 EXPECT_EQ(expected, blended);
164 FilterOperation expected = FilterOperation::CreateGrayscaleFilter(0.75f); local
165 EXPECT_EQ(expected, blended);
168 expected = FilterOperation::CreateGrayscaleFilter(0.25f);
169 EXPECT_EQ(expected, blende
177 FilterOperation expected = FilterOperation::CreateSepiaFilter(0.f); local
193 FilterOperation expected = FilterOperation::CreateSepiaFilter(0.75f); local
206 FilterOperation expected = FilterOperation::CreateSaturateFilter(0.f); local
222 FilterOperation expected = FilterOperation::CreateSaturateFilter(0.25f); local
235 FilterOperation expected = FilterOperation::CreateHueRotateFilter(0.f); local
251 FilterOperation expected = FilterOperation::CreateHueRotateFilter(0.75f); local
264 FilterOperation expected = FilterOperation::CreateInvertFilter(0.f); local
280 FilterOperation expected = FilterOperation::CreateInvertFilter(0.75f); local
293 FilterOperation expected = FilterOperation::CreateBrightnessFilter(0.f); local
309 FilterOperation expected = FilterOperation::CreateBrightnessFilter(0.25f); local
322 FilterOperation expected = FilterOperation::CreateContrastFilter(0.f); local
338 FilterOperation expected = FilterOperation::CreateContrastFilter(0.25f); local
351 FilterOperation expected = FilterOperation::CreateOpacityFilter(0.f); local
367 FilterOperation expected = FilterOperation::CreateOpacityFilter(0.25f); local
380 FilterOperation expected = FilterOperation::CreateBlurFilter(0.f); local
396 FilterOperation expected = FilterOperation::CreateBlurFilter(0.75f); local
411 FilterOperation expected = FilterOperation::CreateDropShadowFilter( local
436 FilterOperation expected = FilterOperation::CreateDropShadowFilter( local
451 FilterOperation expected = FilterOperation::CreateZoomFilter(1.f, 5); local
467 FilterOperation expected = FilterOperation::CreateZoomFilter(1.75f, 1); local
480 FilterOperation expected = local
498 FilterOperation expected = local
562 FilterOperations expected; local
592 FilterOperations expected; local
675 FilterOperations expected; local
[all...]
/external/guava/guava-tests/test/com/google/common/base/
H A DPreconditionsTest.java41 } catch (IllegalArgumentException expected) {
53 } catch (IllegalArgumentException expected) {
54 verifySimpleMessage(expected);
62 } catch (IllegalArgumentException expected) {
63 assertEquals("null", expected.getMessage());
75 } catch (IllegalArgumentException expected) {
76 verifyComplexMessage(expected);
88 } catch (IllegalStateException expected) {
100 } catch (IllegalStateException expected) {
101 verifySimpleMessage(expected);
[all...]
/external/oprofile/libop/tests/
H A Dparse_event_tests.c20 struct parsed_event expected; member in struct:events_test
37 if (strcmp(ev->expected.name, parsed.name) ||
38 ev->expected.count != parsed.count ||
39 ev->expected.unit_mask != parsed.unit_mask ||
40 ev->expected.kernel != parsed.kernel ||
41 ev->expected.user != parsed.user) {
44 ev->tests[0], ev->expected.name, ev->expected.count,
45 ev->expected.unit_mask, ev->expected
[all...]

Completed in 641 milliseconds

1234567891011>>