Searched refs:kTestData (Results 1 – 3 of 3) sorted by relevance
/external/webrtc/webrtc/base/ |
D | buffer_unittest.cc | 22 const uint8_t kTestData[] = {0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, variable 42 TestBuf(Buffer(kTestData, 0), 0, 0); in TEST() 43 TestBuf(Buffer(kTestData, 0, 20), 0, 20); in TEST() 47 Buffer buf(kTestData, 7); in TEST() 50 EXPECT_EQ(0, memcmp(buf.data(), kTestData, 7)); in TEST() 54 Buffer buf(kTestData, 7, 14); in TEST() 57 EXPECT_EQ(0, memcmp(buf.data(), kTestData, 7)); in TEST() 61 Buffer buf(kTestData); in TEST() 64 EXPECT_EQ(0, memcmp(buf.data(), kTestData, 16)); in TEST() 68 Buffer buf1(kTestData), buf2(buf1); in TEST() [all …]
|
D | multipart_unittest.cc | 25 static const char kTestData[] = "This is a test."; variable 46 multipart.Write(kTestData, sizeof(kTestData), NULL, NULL)); in TEST() 58 multipart.GetPartSize(kTestData, "form-data; name=\"text\"", "text"); in TEST() 59 EXPECT_TRUE(multipart.AddPart(kTestData, "form-data; name=\"text\"", "text")); in TEST() 105 pos = str.find(kTestData, pos); in TEST() 107 pos += sizeof(kTestData); in TEST()
|
/external/sfntly/cpp/src/test/ |
D | memory_io_test.cc | 27 const char* kTestData = variable 39 std::copy(kTestData, kTestData + kTestBufferLen, test_buffer.begin()); in TestMemoryInputStream() 87 std::copy(kTestData, kTestData + kTestBufferLen, test_buffer.begin()); in TestMemoryOutputStream()
|