Home
last modified time | relevance | path

Searched refs:kExpected (Results 1 – 15 of 15) sorted by relevance

/external/pdfium/fpdfsdk/
Dfpdf_structtree_embeddertest.cpp64 const wchar_t kExpected[] = L"Black Image"; in TEST_F() local
65 EXPECT_EQ(WideString(kExpected), in TEST_F()
66 WideString::FromUTF16LE(buffer, FXSYS_len(kExpected))); in TEST_F()
114 const wchar_t kExpected[] = L"Document"; in TEST_F() local
115 EXPECT_EQ(WideString(kExpected), in TEST_F()
116 WideString::FromUTF16LE(buffer, FXSYS_len(kExpected))); in TEST_F()
Dfpdfview_embeddertest.cpp77 const unsigned long kExpected = 0; in TEST_F() local
79 const unsigned long kExpected = static_cast<uint32_t>(-1); in TEST_F()
81 EXPECT_EQ(kExpected, FPDF_GetDocPermissions(document())); in TEST_F()
/external/boringssl/src/crypto/curve25519/
Dx25519_test.cc101 static const uint8_t kExpected[32] = { in TEST() local
107 EXPECT_EQ(Bytes(kExpected), Bytes(scalar)); in TEST()
120 static const uint8_t kExpected[32] = { in TEST() local
126 EXPECT_EQ(Bytes(kExpected), Bytes(scalar)); in TEST()
/external/boringssl/src/crypto/fipsmodule/rand/
Dctrdrbg_test.cc49 const uint8_t kExpected[64] = { in TEST() local
58 EXPECT_EQ(Bytes(kExpected), Bytes(out)); in TEST()
76 const uint8_t kExpected[SHA256_DIGEST_LENGTH] = { in TEST() local
81 EXPECT_EQ(Bytes(kExpected), Bytes(digest)); in TEST()
/external/libchrome/base/json/
Djson_value_serializer_unittest.cc319 static const char kExpected[] = "{\"web\":\"\xE7\xBD\x91\xE9\xA1\xB5\"}"; in TEST() local
324 ASSERT_EQ(kExpected, actual); in TEST()
327 JSONStringValueDeserializer deserializer(kExpected); in TEST()
344 static const char kExpected[] = "{\"test\":\"\\u0001\\u0002\"}"; in TEST() local
349 ASSERT_EQ(kExpected, actual); in TEST()
352 JSONStringValueDeserializer deserializer(kExpected); in TEST()
/external/tensorflow/tensorflow/core/platform/
Dvmodule_test.cc90 const char kExpected[] = in RealMain() local
92 if (strstr(buffer, kExpected) == nullptr) { in RealMain()
/external/boringssl/src/crypto/x509/
Dx509_test.cc1599 } kExpected[] = { in TEST() local
1640 ASSERT_EQ(OPENSSL_ARRAY_SIZE(kExpected), sk_X509_INFO_num(infos.get())); in TEST()
1641 for (size_t i = 0; i < OPENSSL_ARRAY_SIZE(kExpected); i++) { in TEST()
1643 check_info(&kExpected[i], sk_X509_INFO_value(infos.get(), i)); in TEST()
1651 ASSERT_EQ(2 * OPENSSL_ARRAY_SIZE(kExpected), sk_X509_INFO_num(infos.get())); in TEST()
1652 for (size_t i = 0; i < OPENSSL_ARRAY_SIZE(kExpected); i++) { in TEST()
1654 check_info(&kExpected[i], sk_X509_INFO_value(infos.get(), i)); in TEST()
1656 &kExpected[i], in TEST()
1657 sk_X509_INFO_value(infos.get(), i + OPENSSL_ARRAY_SIZE(kExpected))); in TEST()
1673 EXPECT_EQ(2 * OPENSSL_ARRAY_SIZE(kExpected), sk_X509_INFO_num(infos.get())); in TEST()
/external/tensorflow/tensorflow/core/util/tensor_bundle/
Dtensor_bundle_test.cc402 const Tensor kExpected(Constant<float>(1., kFullShape)); in TEST()
406 TensorSlice::ParseOrDie("-:-"), kExpected)); in TEST()
409 kExpected)); in TEST()
419 test::ExpectTensorEqual<float>(val, kExpected); in TEST()
428 test::ExpectTensorEqual<float>(val, kExpected); in TEST()
437 test::ExpectTensorEqual<float>(val, kExpected); in TEST()
446 test::ExpectTensorEqual<float>(val, kExpected); in TEST()
/external/boringssl/src/crypto/bytestring/
Dbytestring_test.cc317 static const uint8_t kExpected[] = {1, 2, 3, 4, 5, 6, 7, in TEST() local
337 EXPECT_EQ(Bytes(kExpected), Bytes(buf, buf_len)); in TEST()
384 static const uint8_t kExpected[] = {0, 1, 1, 0, 2, 2, 3, 0, 0, 3, in TEST() local
411 EXPECT_EQ(Bytes(kExpected), Bytes(buf, buf_len)); in TEST()
447 static const uint8_t kExpected[] = { in TEST() local
455 EXPECT_EQ(Bytes(kExpected), Bytes(buf, buf_len)); in TEST()
486 static const uint8_t kExpected[] = { in TEST() local
525 EXPECT_EQ(Bytes(kExpected), Bytes(buf, buf_len)); in TEST()
/external/skia/tests/
DAndroidCodecTest.cpp194 static constexpr skcms_Matrix3x3 kExpected = {{ in DEF_TEST() local
199 REPORTER_ASSERT(r, 0 == memcmp(&matrix, &kExpected, sizeof(skcms_Matrix3x3))); in DEF_TEST()
DIncrTopoSortTest.cpp478 const SkString kExpected("a,b,c,d,e,f,g"); in test_lopsided_binary_tree() local
482 REPORTER_ASSERT(reporter, kExpected == actual); in test_lopsided_binary_tree()
/external/skqp/tests/
DAndroidCodecTest.cpp194 static constexpr skcms_Matrix3x3 kExpected = {{ in DEF_TEST() local
199 REPORTER_ASSERT(r, 0 == memcmp(&matrix, &kExpected, sizeof(skcms_Matrix3x3))); in DEF_TEST()
DIncrTopoSortTest.cpp478 const SkString kExpected("a,b,c,d,e,f,g"); in test_lopsided_binary_tree() local
482 REPORTER_ASSERT(reporter, kExpected == actual); in test_lopsided_binary_tree()
/external/webrtc/webrtc/common_audio/signal_processing/
Dsignal_processing_unittest.cc447 const int32_t kExpected[kCrossCorrelationDimension] = in TEST_F() local
449 const int32_t* expected = kExpected; in TEST_F()
/external/googletest/googlemock/test/
Dgmock-matchers_test.cc663 const int kExpected = 'c'; in TEST() local
665 EXPECT_TRUE(m.Matches(kExpected)); in TEST()
666 EXPECT_FALSE(m.Matches(kExpected + 1)); in TEST()