Lines Matching defs:MessageBufferTest

35 class MessageBufferTest : public ::testing::Test {  class
37 MessageBufferTest() : buffer_{kBufferSizeBytes} {} in MessageBufferTest() function in android::wifilogd::__anone6264e550111::MessageBufferTest
66 TEST_F(MessageBufferTest, AppendMinimalOnEmptyBufferSucceeds) { in TEST_F() argument
70 TEST_F(MessageBufferTest, AppendMaximalOnEmptyBufferSucceeds) { in TEST_F() argument
74 TEST_F(MessageBufferTest, AppendMaximalAfterFillAndClearSucceeds) { in TEST_F() argument
82 TEST_F(MessageBufferTest, AppendUnalignedMessagesDoesNotCrash) { in TEST_F() argument
92 TEST_F(MessageBufferTest, AppendLargerThanBufferFails) { in TEST_F() argument
98 TEST_F(MessageBufferTest, AppendLargerThanFreeSpaceFails) { in TEST_F() argument
107 TEST_F(MessageBufferTest, AppendMultipleMessagesToFillBufferDoesNotCrash) { in TEST_F() argument
111 TEST_F(MessageBufferTest, CanFitNowIsCorrectOnFreshBuffer) { in TEST_F() argument
116 TEST_F(MessageBufferTest, CanFitNowIsCorrectAfterSmallWrite) { in TEST_F() argument
126 TEST_F(MessageBufferTest, CanFitNowIsCorrectOnFullBuffer) { in TEST_F() argument
131 TEST_F(MessageBufferTest, CanFitNowIsCorrectOnRewoundBuffer) { in TEST_F() argument
137 TEST_F(MessageBufferTest, CanFitNowIsCorrectAfterClear) { in TEST_F() argument
145 TEST_F(MessageBufferTest, CanFitEverIsCorrectOnFreshBuffer) { in TEST_F() argument
150 TEST_F(MessageBufferTest, CanFitEverIsCorrectAfterSmallWrite) { in TEST_F() argument
156 TEST_F(MessageBufferTest, CanFitEverIsCorrectOnFullBuffer) { in TEST_F() argument
162 TEST_F(MessageBufferTest, CanFitEverIsCorrectAfterRewind) { in TEST_F() argument
169 TEST_F(MessageBufferTest, CanFitEverIsCorrectAfterClear) { in TEST_F() argument
176 TEST_F(MessageBufferTest, ConsumeNextMessageReturnsNullOnFreshBuffer) { in TEST_F() argument
181 TEST_F(MessageBufferTest, ConsumeNextMessageReturnsNullAfterFillAndClear) { in TEST_F() argument
189 TEST_F(MessageBufferTest, ConsumeNextMessageCanReadMinimalMessage) { in TEST_F() argument
197 TEST_F(MessageBufferTest, ConsumeNextMessageCanReadMaximalMessage) { in TEST_F() argument
205 TEST_F(MessageBufferTest, in TEST_F() argument
214 TEST_F(MessageBufferTest, in TEST_F() argument
223 TEST_F(MessageBufferTest, in TEST_F() argument
236 TEST_F(MessageBufferTest, in TEST_F() argument
251 TEST_F(MessageBufferTest, in TEST_F() argument
269 TEST_F(MessageBufferTest, ConsumeNextMessageReturnsOurMessages) { in TEST_F() argument
280 TEST_F(MessageBufferTest, GetFreeSizeIsCorrectOnFreshBuffer) { in TEST_F() argument
284 TEST_F(MessageBufferTest, GetFreeSizeIsCorrectAfterSmallWrite) { in TEST_F() argument
290 TEST_F(MessageBufferTest, GetFreeSizeIsCorrectOnFullBuffer) { in TEST_F() argument
295 TEST_F(MessageBufferTest, GetFreeSizeIsCorrectAfterRewindOfFullBuffer) { in TEST_F() argument
301 TEST_F(MessageBufferTest, GetFreeSizeIsCorrectAfterClear) { in TEST_F() argument
307 TEST_F(MessageBufferTest, RewindDoesNotAffectWritePointer) { in TEST_F() argument