OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:kTestDataSize
(Results
1 - 4
of
4
) sorted by null
/external/chromium/net/base/
upload_data_stream_unittest.cc
24
const int
kTestDataSize
= arraysize(kTestData) - 1;
48
upload_data_->AppendBytes(kTestData,
kTestDataSize
);
60
ASSERT_EQ(
kTestDataSize
, file_util::WriteFile(temp_file_path,
61
kTestData,
kTestDataSize
));
62
const uint64 kFakeSize =
kTestDataSize
*2;
109
ASSERT_EQ(
kTestDataSize
, file_util::WriteFile(temp_file_path,
110
kTestData,
kTestDataSize
));
file_stream_unittest.cc
20
const int
kTestDataSize
= arraysize(kTestData) - 1;
28
file_util::WriteFile(temp_file_path_, kTestData,
kTestDataSize
);
52
ASSERT_EQ(
kTestDataSize
,
53
file_util::WriteFile(temp_file_path(), kTestData,
kTestDataSize
));
61
ASSERT_EQ(
kTestDataSize
, read_stream.Available());
63
char buffer[
kTestDataSize
];
64
ASSERT_EQ(
kTestDataSize
, read_stream.Read(buffer,
kTestDataSize
, NULL));
65
ASSERT_EQ(0, memcmp(kTestData, buffer,
kTestDataSize
));
75
ASSERT_EQ(
kTestDataSize
, write_stream.Write(kTestData, kTestDataSize, NULL))
[
all
...]
/external/chromium/base/
platform_file_unittest.cc
143
const int
kTestDataSize
= 4;
150
bytes_written = WriteFully(file, 0, data_to_write,
kTestDataSize
);
151
EXPECT_EQ(
kTestDataSize
, bytes_written);
155
int bytes_read = ReadFully(file,
kTestDataSize
, data_read_1,
kTestDataSize
);
160
bytes_read = ReadFully(file, kPartialReadOffset, data_read_1,
kTestDataSize
);
161
EXPECT_EQ(
kTestDataSize
- kPartialReadOffset, bytes_read);
170
bytes_read = ReadFully(file, 0, data_read_1,
kTestDataSize
);
171
EXPECT_EQ(
kTestDataSize
, bytes_read);
191
for (int i = 0; i <
kTestDataSize
; i++
[
all
...]
/external/chromium/net/socket/
ssl_server_socket_unittest.cc
192
const int
kTestDataSize
= strlen(kTestData);
198
EXPECT_EQ(
kTestDataSize
, server.Write(write_buf,
kTestDataSize
, NULL));
199
EXPECT_EQ(
kTestDataSize
, client.Read(read_buf, kReadBufSize, NULL));
200
EXPECT_EQ(0, memcmp(kTestData, read_buf->data(),
kTestDataSize
));
206
EXPECT_EQ(
kTestDataSize
, client.Write(write_buf,
kTestDataSize
, NULL));
207
EXPECT_EQ(
kTestDataSize
, callback.WaitForResult());
208
EXPECT_EQ(0, memcmp(kTestData, read_buf->data(),
kTestDataSize
));
Completed in 136 milliseconds