Home
last modified time | relevance | path

Searched refs:kLargestMessage (Results 1 – 2 of 2) sorted by relevance

/system/connectivity/wifilogd/tests/
Dmessage_buffer_unittest.cpp33 kLargestMessage{}; variable
71 EXPECT_TRUE(buffer_.Append(kLargestMessage.data(), kLargestMessage.size())); in TEST_F()
75 ASSERT_TRUE(buffer_.Append(kLargestMessage.data(), kLargestMessage.size())); in TEST_F()
79 EXPECT_TRUE(buffer_.Append(kLargestMessage.data(), kLargestMessage.size())); in TEST_F()
112 EXPECT_TRUE(buffer_.CanFitNow(kLargestMessage.size())); in TEST_F()
113 EXPECT_FALSE(buffer_.CanFitNow(kLargestMessage.size() + 1)); in TEST_F()
127 ASSERT_TRUE(buffer_.Append(kLargestMessage.data(), kLargestMessage.size())); in TEST_F()
132 ASSERT_TRUE(buffer_.Append(kLargestMessage.data(), kLargestMessage.size())); in TEST_F()
138 ASSERT_TRUE(buffer_.Append(kLargestMessage.data(), kLargestMessage.size())); in TEST_F()
142 EXPECT_TRUE(buffer_.CanFitNow(kLargestMessage.size())); in TEST_F()
[all …]
Dbyte_buffer_unittest.cpp31 constexpr std::array<uint8_t, kBufferSizeBytes> kLargestMessage{}; variable
48 buffer_.AppendOrDie(kLargestMessage.data(), kLargestMessage.size()); in TEST_F()
97 buffer_.AppendOrDie(kLargestMessage.data(), kLargestMessage.size()); in TEST_F()
111 buffer_.AppendOrDie(kLargestMessage.data(), kLargestMessage.size()); in TEST_F()
112 EXPECT_EQ(kLargestMessage.size(), buffer_.size()); in TEST_F()
135 buffer_.AppendOrDie(kLargestMessage.data(), kLargestMessage.size()); in TEST_F()