Home
last modified time | relevance | path

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

/external/chromium/net/base/
Dfile_stream_unittest.cc19 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 …]
Dupload_data_stream_unittest.cc23 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()
Dsdch_filter_unittest.cc40 static const char kTestData[] = "0000000000000000000000000000000000000000000000" variable
62 expanded_(kTestData, sizeof(kTestData) - 1), in SdchFilterTest()
/external/chromium/chrome/browser/extensions/
Duser_script_listener_unittest.cc28 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/
Drtl_unittest.cc122 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/
Dssl_server_socket_unittest.cc191 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/
Ddownload_manager_unittest.cc32 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()