Home
last modified time | relevance | path

Searched refs:expected2 (Results 1 – 25 of 29) sorted by relevance

12

/external/chromium_org/crypto/
Dopenssl_bio_string_unittest.cc17 const std::string expected2("c d e f"); in TEST() local
30 EXPECT_EQ(static_cast<int>(expected2.size()), in TEST()
31 BIO_write(bio.get(), expected2.data(), expected2.size())); in TEST()
32 EXPECT_EQ(expected1 + expected2, s); in TEST()
36 EXPECT_EQ(expected1 + expected2 + expected3, s); in TEST()
38 EXPECT_EQ(expected1 + expected2 + expected3, s); in TEST()
44 const std::string expected2("d e f g\n"); in TEST() local
56 EXPECT_EQ(static_cast<int>(expected2.size()), in TEST()
57 BIO_write(bio.get(), expected2.data(), expected2.size())); in TEST()
58 EXPECT_EQ(expected2, s); in TEST()
[all …]
Dsha2_unittest.cc57 int expected2[] = { 0x24, 0x8d, 0x6a, 0x61, in TEST() local
69 EXPECT_EQ(expected2[i], static_cast<int>(output2[i])); in TEST()
75 EXPECT_EQ(expected2[i], static_cast<int>(output_truncated2[i])); in TEST()
/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/analysis/
DBasicVerifier.java191 Value expected2; in binaryOperation() local
195 expected2 = BasicValue.INT_VALUE; in binaryOperation()
203 expected2 = BasicValue.INT_VALUE; in binaryOperation()
207 expected2 = BasicValue.INT_VALUE; in binaryOperation()
211 expected2 = BasicValue.INT_VALUE; in binaryOperation()
215 expected2 = BasicValue.INT_VALUE; in binaryOperation()
219 expected2 = BasicValue.INT_VALUE; in binaryOperation()
223 expected2 = BasicValue.INT_VALUE; in binaryOperation()
227 expected2 = BasicValue.INT_VALUE; in binaryOperation()
247 expected2 = BasicValue.INT_VALUE; in binaryOperation()
[all …]
/external/chromium_org/chrome/browser/extensions/api/image_writer_private/
Dimage_writer_private_apitest.cc45 RemovableStorageDevice* expected2 = new RemovableStorageDevice(); in SetUpInProcessBrowserTestFixture() local
46 expected2->vendor = "Vendor 2"; in SetUpInProcessBrowserTestFixture()
47 expected2->model = "Model 2"; in SetUpInProcessBrowserTestFixture()
48 expected2->capacity = image_writer::kTestFileSize << 2; in SetUpInProcessBrowserTestFixture()
49 expected2->removable = false; in SetUpInProcessBrowserTestFixture()
51 expected2->storage_unit_id = test_utils_.GetDevicePath().AsUTF8Unsafe(); in SetUpInProcessBrowserTestFixture()
53 expected2->storage_unit_id = test_utils_.GetDevicePath().value(); in SetUpInProcessBrowserTestFixture()
58 linked_ptr<RemovableStorageDevice> device2(expected2); in SetUpInProcessBrowserTestFixture()
/external/chromium_org/third_party/icu/source/test/cintltst/
Dncnvtst.c339 static const uint8_t expected2[] = { 0x31, 0x1a, 0x32}; in TestErrorBehaviour() local
350 expected2, sizeof(expected2), "ibm-920", 0, TRUE, U_ZERO_ERROR)) in TestErrorBehaviour()
363 expected2, sizeof(expected2), "LATIN_1", 0, TRUE, U_ZERO_ERROR)) in TestErrorBehaviour()
377 static const uint8_t expected2[] = { 0xa2, 0xae, 0xa1, 0xe0, 0xa2, 0xb4}; in TestErrorBehaviour() local
405 expected2, sizeof(expected2), "ibm-1363", 0, TRUE, U_ZERO_ERROR)) in TestErrorBehaviour()
408 expected2, sizeof(expected2), "ibm-1363", offsets2, TRUE, U_ZERO_ERROR)) in TestErrorBehaviour()
420 expected2, sizeof(expected2), "ibm-1363", 0, TRUE, U_ZERO_ERROR)) in TestErrorBehaviour()
423 expected2, sizeof(expected2), "ibm-1363", 0, FALSE, U_ZERO_ERROR)) in TestErrorBehaviour()
426 expected2, sizeof(expected2), "ibm-1363", offsets2, FALSE, U_ZERO_ERROR)) in TestErrorBehaviour()
453 static const uint8_t expected2[] = { 0x31,0x1A,0x32}; in TestErrorBehaviour() local
[all …]
/external/chromium_org/v8/test/mjsunit/
Dsparse-array-reverse.js104 var expected2 = ''; variable
111 expected2 += letter;
115 expected2 += letter;
121 assertEquals(expected + expected2, a.join(''), 'join' + size);
/external/icu/icu4c/source/test/cintltst/
Dncnvtst.c345 static const uint8_t expected2[] = { 0x31, 0x1a, 0x32}; in TestErrorBehaviour() local
356 expected2, sizeof(expected2), "ibm-920", 0, TRUE, U_ZERO_ERROR)) in TestErrorBehaviour()
369 expected2, sizeof(expected2), "LATIN_1", 0, TRUE, U_ZERO_ERROR)) in TestErrorBehaviour()
383 static const uint8_t expected2[] = { 0xa2, 0xae, 0xa1, 0xe0, 0xa2, 0xb4}; in TestErrorBehaviour() local
411 expected2, sizeof(expected2), "ibm-1363", 0, TRUE, U_ZERO_ERROR)) in TestErrorBehaviour()
414 expected2, sizeof(expected2), "ibm-1363", offsets2, TRUE, U_ZERO_ERROR)) in TestErrorBehaviour()
426 expected2, sizeof(expected2), "ibm-1363", 0, TRUE, U_ZERO_ERROR)) in TestErrorBehaviour()
429 expected2, sizeof(expected2), "ibm-1363", 0, FALSE, U_ZERO_ERROR)) in TestErrorBehaviour()
432 expected2, sizeof(expected2), "ibm-1363", offsets2, FALSE, U_ZERO_ERROR)) in TestErrorBehaviour()
459 static const uint8_t expected2[] = { 0x31,0x1A,0x32}; in TestErrorBehaviour() local
[all …]
/external/mesa3d/src/gallium/tests/graw/
Docclusion-query.c14 static int expected2 = 420; variable
155 int expected2_min = (int) (expected2 * 0.95); in draw()
156 int expected2_max = (int) (expected2 * 1.05); in draw()
194 printf(" Failure: result2 should be near %d\n", expected2); in draw()
/external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/
Docclusion-query.c14 static int expected2 = 420; variable
155 int expected2_min = (int) (expected2 * 0.95); in draw()
156 int expected2_max = (int) (expected2 * 1.05); in draw()
194 printf(" Failure: result2 should be near %d\n", expected2); in draw()
/external/chromium_org/net/websockets/
Dwebsocket_frame_parser_test.cc183 std::vector<char> expected2(kHello + cutting_pos, kHello + kHelloLength); in TEST() local
228 if (expected2.size() == 0) { in TEST()
231 ASSERT_EQ(expected2.size(), static_cast<uint64>(frame2->data->size())); in TEST()
233 std::equal(expected2.begin(), expected2.end(), frame2->data->data())); in TEST()
250 std::vector<char> expected2(kHello + cutting_pos, kHello + kHelloLength); in TEST() local
295 if (expected2.size() == 0) { in TEST()
298 ASSERT_EQ(expected2.size(), static_cast<uint64>(frame2->data->size())); in TEST()
300 std::equal(expected2.begin(), expected2.end(), frame2->data->data())); in TEST()
/external/chromium_org/v8/test/mjsunit/harmony/
Dproxies-json.js82 var expected2 = '{"a":"delete","b":{"a":"A","b":"B","c":"C"}}'; variable
83 assertEquals(expected2, JSON.stringify(parent2));
85 assertEquals(expected2, JSON.stringify(parent2, undefined, 0));
/external/chromium_org/mojo/public/tools/bindings/pylib/mojom_tests/parse/
Dparser_unittest.py710 expected2 = ast.Mojom(
730 self.assertEquals(parser.Parse(source2, "my_file.mojom"), expected2)
864 expected2 = ast.Mojom(
871 self.assertEquals(parser.Parse(source2, "my_file.mojom"), expected2)
932 expected2 = ast.Mojom(
937 self.assertEquals(parser.Parse(source2, "my_file.mojom"), expected2)
/external/chromium_org/tools/gn/
Dfunction_get_target_outputs_unittest.cc44 const std::string& expected2) { in AssertTwoStringsEqual() argument
50 ASSERT_EQ(expected2, list.list_value()[1].string_value()); in AssertTwoStringsEqual()
/external/chromium_org/ppapi/proxy/
Dfile_chooser_resource_unittest.cc46 const char* expected2) { in CheckParseAcceptType() argument
51 const char* expected[kCount] = { expected1, expected2 }; in CheckParseAcceptType()
/external/chromium_org/tools/deep_memory_profiler/tests/
Drange_dict_tests.py98 expected2 = [
105 self.assertEqual(expected2, result2)
/external/chromium_org/components/autofill/core/browser/
Dpersonal_data_manager_unittest.cc1037 AutofillProfile expected2(base::GenerateGUID(), "https://www.example.com"); in TEST_F() local
1038 test::SetProfileInfo(&expected2, "John", NULL, in TEST_F()
1043 profiles.push_back(&expected2); in TEST_F()
1313 AutofillProfile expected2(base::GenerateGUID(), "https://www.example.com"); in TEST_F() local
1314 test::SetProfileInfo(&expected2, "George", NULL, in TEST_F()
1318 EXPECT_EQ(0, expected2.Compare(*results2[0])); in TEST_F()
1559 CreditCard expected2(base::GenerateGUID(), "https://www.example.com"); in TEST_F() local
1560 test::SetCreditCardInfo(&expected2,"", "5500000000000004", "02", "2012"); in TEST_F()
1563 cards.push_back(&expected2); in TEST_F()
1694 CreditCard expected2(base::GenerateGUID(), "https://www.example.com"); in TEST_F() local
[all …]
/external/chromium_org/third_party/skia/tests/
DWArrayTest.cpp23 static const char* expected2 = "3 9 100"; variable
178 TestWData(reporter, data2, SK_ARRAY_COUNT(data2), NULL, 0, expected2); in DEF_TEST()
/external/skia/tests/
DWArrayTest.cpp23 static const char* expected2 = "3 9 100"; variable
178 TestWData(reporter, data2, SK_ARRAY_COUNT(data2), NULL, 0, expected2); in DEF_TEST()
/external/chromium_org/chrome/browser/extensions/api/storage/
Dsettings_sync_unittest.cc396 base::DictionaryValue expected1, expected2; in TEST_F() local
413 expected2.Set("bar", value2.DeepCopy()); in TEST_F()
422 EXPECT_PRED_FORMAT2(SettingsEq, expected2, storage2->Get()); in TEST_F()
437 base::DictionaryValue expected1, expected2; in TEST_F() local
455 expected2.Set("bar", value2.DeepCopy()); in TEST_F()
465 expected2.Set("foo", value1.DeepCopy()); in TEST_F()
468 EXPECT_PRED_FORMAT2(SettingsEq, expected2, storage2->Get()); in TEST_F()
479 expected2.Set("bar", value1.DeepCopy()); in TEST_F()
482 EXPECT_PRED_FORMAT2(SettingsEq, expected2, storage2->Get()); in TEST_F()
493 expected2.Remove("foo", NULL); in TEST_F()
[all …]
/external/guava/guava-tests/test/com/google/common/base/
DToStringHelperTest.java274 final String expected2 = "TestClass{field1=1, value1, field2=value2, 2}"; in testToString_ToStringTwice() local
276 assertEquals(expected2, helper.toString()); in testToString_ToStringTwice()
/external/chromium_org/ui/gfx/geometry/
Dquad_unittest.cc73 QuadF expected2(PointF(-2.5f, 3.5f), in TEST() local
77 EXPECT_EQ(expected2, subtracted); in TEST()
78 EXPECT_EQ(expected2, q2); in TEST()
/external/chromium_org/chrome/browser/spellchecker/
Dspellcheck_custom_dictionary_unittest.cc203 WordSet expected2; in TEST_F() local
212 expected2.insert("hoge"); in TEST_F()
213 expected2.insert("fuga"); in TEST_F()
219 EXPECT_EQ(actual2, expected2); in TEST_F()
/external/chromium_org/chrome/browser/autocomplete/
Dhistory_url_provider_unittest.cc734 const UrlAndLegalDefault expected2[] = { in TEST_F() local
739 false, expected2, arraysize(expected2))); in TEST_F()
/external/chromium_org/chrome/browser/sync/glue/
Dtyped_url_model_associator_unittest.cc109 history::URLRow expected2(MakeTypedUrlRow("http://pie.com/", "pie", in TEST_F() local
116 EXPECT_TRUE(URLsEqual(new_row2, expected2)); in TEST_F()
/external/chromium_org/ui/gfx/
Dtransform_unittest.cc772 Transform expected2; in TEST() local
773 expected2.RotateAbout(axes[index], 140.0 + 45.0 * t); in TEST()
776 EXPECT_TRUE(MatricesAreNearlyEqual(expected2, to2)); in TEST()
801 Transform expected2; in TEST() local
802 expected2.RotateAbout(axes[index], -180.0 * t); in TEST()
805 MatricesAreNearlyEqual(expected2, to)) in TEST()

12