Home
last modified time | relevance | path

Searched refs:kData1 (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/components/policy/core/common/cloud/
Dresource_cache_unittest.cc28 const char kData1[] = "{}"; variable
52 EXPECT_TRUE(cache.Store(kKey1, kSubB, kData1)); in TEST()
56 EXPECT_TRUE(cache.Store(kKey2, kSubB, kData1)); in TEST()
58 EXPECT_TRUE(cache.Store(kKey3, kSubB, kData1)); in TEST()
65 EXPECT_EQ(kData1, contents[kSubB]); in TEST()
68 EXPECT_TRUE(cache.Store(kKey1, kSubC, kData1)); in TEST()
69 EXPECT_TRUE(cache.Store(kKey1, kSubD, kData1)); in TEST()
70 EXPECT_TRUE(cache.Store(kKey1, kSubE, kData1)); in TEST()
81 EXPECT_EQ(kData1, contents[kSubB]); in TEST()
82 EXPECT_EQ(kData1, contents[kSubD]); in TEST()
[all …]
/external/chromium_org/chrome/browser/chromeos/policy/
Dcloud_external_data_store_unittest.cc23 const char kData1[] = "Testing data 1"; variable
48 : kData1Hash(crypto::SHA256HashString(kData1)), in CouldExternalDataStoreTest()
61 EXPECT_TRUE(store.Store(kPolicy1, kData1Hash, kData1)); in TEST_F()
69 EXPECT_EQ(kData1, data); in TEST_F()
120 EXPECT_TRUE(store.Store(kPolicy1, kData1Hash, kData1)); in TEST_F()
126 EXPECT_EQ(kData1, data); in TEST_F()
142 EXPECT_EQ(kData1, contents.begin()->second); in TEST_F()
159 EXPECT_TRUE(store1.Store(kPolicy1, kData1Hash, kData1)); in TEST_F()
168 EXPECT_EQ(kData1, contents.begin()->second); in TEST_F()
176 EXPECT_EQ(kData1, data); in TEST_F()
/external/chromium_org/net/quic/
Dquic_reliable_client_stream_test.cc136 const char kData1[] = "hello world"; in TEST_P() local
137 const size_t kDataLen = arraysize(kData1); in TEST_P()
143 EXPECT_EQ(OK, stream_->WriteStreamData(base::StringPiece(kData1, kDataLen), in TEST_P()
151 const char kData1[] = "hello world"; in TEST_P() local
152 const size_t kDataLen = arraysize(kData1); in TEST_P()
159 stream_->WriteStreamData(base::StringPiece(kData1, kDataLen), in TEST_P()
Dreliable_quic_stream_test.cc37 const char kData1[] = "FooAndBar"; variable
163 stream_->WriteOrBufferData(kData1, false, NULL); in TEST_F()
183 stream_->WriteOrBufferData(StringPiece(kData1, 2), false, NULL); in TEST_F()
196 stream_->WriteOrBufferData(StringPiece(kData1, 2), true, NULL); in TEST_F()
223 stream_->WriteOrBufferData(kData1, false, NULL); in TEST_F()
259 stream_->WriteOrBufferData(kData1, false, NULL); in TEST_F()
295 stream_->WriteOrBufferData(kData1, false, NULL); in TEST_F()
339 stream_->WriteOrBufferData(StringPiece(kData1, 1), false, NULL); in TEST_F()
362 stream_->WriteOrBufferData(StringPiece(kData1, 1), true, NULL); in TEST_F()
565 stream_->WriteOrBufferData(kData1, true, delegate.get()); in TEST_F()
[all …]
/external/chromium_org/components/os_crypt/
Die7_password_win_unittest.cc17 const unsigned char kData1[] = in TEST() local
41 decrypted_data1.resize(arraysize(kData1)); in TEST()
42 memcpy(&decrypted_data1.front(), kData1, sizeof(kData1)); in TEST()
/external/chromium_org/third_party/boringssl/src/crypto/bytestring/
Dbytestring_test.c79 static const uint8_t kData1[] = {2, 1}; in test_get_prefixed_bad() local
84 CBS_init(&data, kData1, sizeof(kData1)); in test_get_prefixed_bad()
103 static const uint8_t kData1[] = {0x30, 2, 1, 2}; in test_get_asn1() local
111 CBS_init(&data, kData1, sizeof(kData1)); in test_get_asn1()
142 CBS_init(&data, kData1, sizeof(kData1)); in test_get_asn1()
/external/chromium_org/content/browser/quota/
Dquota_manager_unittest.cc460 static const MockOriginData kData1[] = { in TEST_F() local
472 RegisterClient(CreateClient(kData1, ARRAYSIZE_UNSAFE(kData1), in TEST_F()
624 static const MockOriginData kData1[] = { in TEST_F() local
639 RegisterClient(CreateClient(kData1, ARRAYSIZE_UNSAFE(kData1), in TEST_F()
1269 static const MockOriginData kData1[] = { in TEST_F() local
1282 MockStorageClient* client1 = CreateClient(kData1, ARRAYSIZE_UNSAFE(kData1), in TEST_F()
1301 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kData1); ++i) in TEST_F()
1303 GURL(kData1[i].origin), kData1[i].type); in TEST_F()
1499 static const MockOriginData kData1[] = { in TEST_F() local
1512 MockStorageClient* client1 = CreateClient(kData1, ARRAYSIZE_UNSAFE(kData1), in TEST_F()
[all …]