History log of /system/connectivity/wifilogd/tests/message_buffer_unittest.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7e979c369670feea99b9aff42bc366a903cf7049 30-Sep-2016 mukesh agrawal <quiche@google.com> various: fix comment URL

The comment about the naming of death tests
includes a link to the GoogleTest documentation.
But that link has a superfluous ')' at the end.
Remove the stray ')'.

Bug: 32483646
Test: ./runtests.sh (on angler)
Change-Id: I7163598f36d2792e572d7f8b8394c65ba12a0301
/system/connectivity/wifilogd/tests/message_buffer_unittest.cpp
2a71027464f6cec8a23e66a1310581a75aba34b3 28-Sep-2016 mukesh agrawal <quiche@google.com> MessageBuffer: add tests for GetFreeSize()

When we revised the MessageBuffer API, to expose GetFreeSize()
publically, we forgot to add unit tests for this newly public
method.

Bug: 31805098
Test: ./runtests.sh (on bullhead)
Change-Id: I7255f5a4dcbeea027de05f092a6f079ea8cffe0c
/system/connectivity/wifilogd/tests/message_buffer_unittest.cpp
0e465b480b9067a9795139a0aa1f4144d10c485e 22-Sep-2016 mukesh agrawal <quiche@google.com> MessageBuffer: add CanFitEver()

The CanFitEver() method will be used to determine
whether the MessageBuffer can host an incoming
message, or if the incoming message requires
compression.

Bug: 31653003
Test: ./runtests.sh (on bullhead)
Change-Id: If09ae5bc6c7c80a71e490e945187bd6fc25529b1
/system/connectivity/wifilogd/tests/message_buffer_unittest.cpp
5f88ee735e1cf0c12f96c3add65d798ec58ad4bd 22-Sep-2016 mukesh agrawal <quiche@google.com> MessageBuffer: add Rewind()

Provide the ability to rewind a MessageBuffer, and
appropriate tests for that ability. The purpose of
Rewind() is to allow a MessageBuffer to be dumped
multiple times.

Bug: 31653003
Test: ./runtests.sh (on bullhead)
Change-Id: Ic3cc1766bbd3068d96584a938c181c68c62ab55d
/system/connectivity/wifilogd/tests/message_buffer_unittest.cpp
69690078fa70e031b80f8760f3c69f0884e42d08 21-Sep-2016 mukesh agrawal <quiche@google.com> MessageBuffer: add Clear()

Provide the ability to clear a MessageBuffer, and
the requisite tests for said ability.

Bug: 31653003
Test: ./runtests.sh (on bullhead)
Change-Id: I4f24e1dbbf56d9f5f63219829a4b55145d183773
/system/connectivity/wifilogd/tests/message_buffer_unittest.cpp
6d8e2206e972a5f7512d5e2c558e9c23c77169f0 21-Sep-2016 mukesh agrawal <quiche@google.com> MessageBuffer: add ConsumeNextMessage()

This new method gives us the ability to read
messages out of the MessageBuffer.

Of course, include unit tests for this new
ability, as well.

Bug: 31653003
Test: ./runtests.sh (on bullhead)
Change-Id: I34476fae10e5a234330efa0d4535d92c885a2d1d
/system/connectivity/wifilogd/tests/message_buffer_unittest.cpp
fd65102c2bb8b5a4cfa7d9ddff7d5f6c5d08e623 21-Sep-2016 mukesh agrawal <quiche@google.com> MessageBuffer: add Append()

Add the ability to write to a MessageBuffer, and
unit tests for the same.

(Read functionality will come later.)

Bug: 31653003
Test: ./runtests.sh (on bullhead)
Change-Id: I5d43922364c29710676fd10187d9722a46dfb0db
/system/connectivity/wifilogd/tests/message_buffer_unittest.cpp
9d2165f7a9c41bb0081036d4ef5b9d5150fa3684 21-Sep-2016 mukesh agrawal <quiche@google.com> meta: add makefile, test runner, skeleton MessageBuffer

Add the very beginnings of MessageBuffer, which will
manage a buffer of log messages. Along the way, add
the support files that we need to build and test
MessageBuffer.

Note that the core functionality of MessageBuffer will be
added in later CLs. (The rest of the functionality is too
big to fit in this CL.)

Bug: 31653003
Test: ./runtests.sh (on bullhead)

Change-Id: I6c8a1bf453d02438988c955d70196e67f8173d1d
/system/connectivity/wifilogd/tests/message_buffer_unittest.cpp