History log of /system/core/base/test_main.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4f71319df011d796a60a43fc1bc68e16fbf7d321 05-Dec-2015 Elliott Hughes <enh@google.com> Track rename of base/ to android-base/.

Change-Id: Idf9444fece4aa89c93e15640de59a91f6e758ccf
/system/core/base/test_main.cpp
5c19040b06b5bb61731e24ea6777c237dc23145d 29-Apr-2015 Dan Albert <danalbert@google.com> Support base::logging on Windows.

libc++ doesn't support std::mutex and friends for Windows yet, so we
just use a compatibility wrapper for now.

Change-Id: I2413d4c089e7d0fb232444043c6b772153035dab
/system/core/base/test_main.cpp
0c4b3a319d2bc3dbc917e869af34e24788e6fc48 29-Apr-2015 Dan Albert <danalbert@google.com> Get libbase tests working on Windows.

Tests using files from /proc still fail on Windows (obviously), but
all tests are passing when run in Wine.

Change-Id: Ie4c3ba65b642202f8fcaec73332a53bee6115fba
/system/core/base/test_main.cpp
b547c85b5b9d7fc565e47a5d0c734c3a66af242a 27-Mar-2015 Dan Albert <danalbert@google.com> Support arbitrary loggers.

While the defaults (logd or stderr) make sense for most use cases,
there are places that can only log to the kernel, or need to log to a
file, etc.

Allow the user to pass in an arbitrary logging object, and provide
LogdLogger and StderrLogger as defaults.

Change-Id: I62368acc795ff313242bb205d65017404bf64e88
/system/core/base/test_main.cpp
58310b49fc8a7a713b922319a849a419858db79e 14-Mar-2015 Dan Albert <danalbert@google.com> Add google3 style logging to libbase.

ART already had a flavor of this, but it was specialized for their use
case a bit.

Note that the logging.* tests are currently disabled for the device
because there is no good way to capture the output of liblog. We can
make something that will execute logcat and then then scan the output,
but that's messy. Since we know it at least works on the host, we can
add better device tests later.

Change-Id: I47acd87a3312c0a5285b03f9c8dadef0c669f06a
/system/core/base/test_main.cpp