/external/chromium/net/base/ |
D | file_stream_unittest.cc | 19 const char kTestData[] = "0123456789"; variable 20 const int kTestDataSize = arraysize(kTestData) - 1; 28 file_util::WriteFile(temp_file_path_, kTestData, kTestDataSize); in SetUp() 53 file_util::WriteFile(temp_file_path(), kTestData, kTestDataSize)); in TEST_F() 65 ASSERT_EQ(0, memcmp(kTestData, buffer, kTestDataSize)); in TEST_F() 75 ASSERT_EQ(kTestDataSize, write_stream.Write(kTestData, kTestDataSize, NULL)); in TEST_F() 81 ASSERT_EQ(0, memcmp(kTestData, buffer, kTestDataSize)); in TEST_F() 130 EXPECT_EQ(kTestData, data_read); in TEST_F() 165 EXPECT_EQ(kTestData, data_read); in TEST_F() 194 EXPECT_EQ(std::string(kTestData, rv), std::string(buf, rv)); in TEST_F() [all …]
|
D | upload_data_stream_unittest.cc | 23 const char kTestData[] = "0123456789"; variable 24 const int kTestDataSize = arraysize(kTestData) - 1; 48 upload_data_->AppendBytes(kTestData, kTestDataSize); in TEST_F() 61 kTestData, kTestDataSize)); in TEST_F() 110 kTestData, kTestDataSize)); in TEST_F()
|
D | sdch_filter_unittest.cc | 40 static const char kTestData[] = "0000000000000000000000000000000000000000000000" variable 62 expanded_(kTestData, sizeof(kTestData) - 1), in SdchFilterTest()
|
/external/chromium/chrome/browser/extensions/ |
D | user_script_listener_unittest.cc | 28 const char kTestData[] = "Hello, World!"; variable 100 : net::URLRequestTestJob(request, test_headers(), kTestData, true) {} in SimpleTestJob() 189 EXPECT_EQ(kTestData, delegate.data_received()); in TEST_F() 212 EXPECT_EQ(kTestData, delegate.data_received()); in TEST_F() 223 EXPECT_EQ(kTestData, delegate.data_received()); in TEST_F() 238 EXPECT_EQ(kTestData, delegate.data_received()); in TEST_F()
|
/external/chromium/base/i18n/ |
D | rtl_unittest.cc | 122 const wchar_t* kTestData[] = { in TEST_F() local 150 for (unsigned int i = 0; i < arraysize(kTestData); ++i) { in TEST_F() 153 std::wstring win_path(kTestData[i]); in TEST_F() 159 path = FilePath(base::SysWideToNativeMB(kTestData[i])); in TEST_F() 161 std::wstring(L"\x202a") + kTestData[i] + L"\x202c"; in TEST_F()
|
/external/chromium/net/socket/ |
D | ssl_server_socket_unittest.cc | 191 const char kTestData[] = "testing123"; in TEST() local 192 const int kTestDataSize = strlen(kTestData); in TEST() 194 scoped_refptr<net::IOBuffer> write_buf = new net::StringIOBuffer(kTestData); in TEST() 200 EXPECT_EQ(0, memcmp(kTestData, read_buf->data(), kTestDataSize)); in TEST() 208 EXPECT_EQ(0, memcmp(kTestData, read_buf->data(), kTestDataSize)); in TEST()
|
/external/chromium/chrome/browser/download/ |
D | download_manager_unittest.cc | 32 static const char* kTestData; member in DownloadManagerTest 110 const char* DownloadManagerTest::kTestData = "a;sdlfalsdfjalsdkfjad"; member in DownloadManagerTest 112 strlen(DownloadManagerTest::kTestData); 430 download_file->AppendDataToFile(kTestData, kTestDataLen); in TEST_F() 501 download_file->AppendDataToFile(kTestData, kTestDataLen); in TEST_F() 580 download_file->AppendDataToFile(kTestData, kTestDataLen); in TEST_F() 602 EXPECT_EQ(std::string(kTestData), file_contents); in TEST_F()
|