History log of /system/connectivity/shill/mock_log.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c0beca55d290fe0b1c96d78cbbcf94b05c23f5a5 03-Sep-2015 Peter Qiu <zqiu@google.com> License shill to Apache2

This patch automatically replaced the license on all text files from
Chromium OS (BSD style) to AOSP (Apache2), keeping the original year as
a reference.

The license header was added to .gyp and .gypi, the NOTICE was added with a copy
of the Apache2 license and MODULE_LICENSE_* file was added.

BUG=23587594
TEST=grep 'Chromium OS Authors' doesn't find anything.

Change-Id: If41ede586c2465f5831fb7fee270ff41dbfdb596
/system/connectivity/shill/mock_log.h
1e006c610db980bca337121134d2ba54497b7a59 16-Jun-2015 Paul Stewart <pstew@chromium.org> shill: Top-level mocks: Switch pointer/ref spacing

Switch to Chrome style spacing.

BUG=chromium:501026
TEST=Unit tests

Change-Id: I730ed5115e62319c2745dd6cef642e228b0fb66e
Reviewed-on: https://chromium-review.googlesource.com/278036
Reviewed-by: Rebecca Silberstein <silberst@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/mock_log.h
5ea763b83299b5fad76a87183fb39a74c2d3c61d 13-Aug-2014 Ben Chan <benchan@chromium.org> shill: Add C++11 override specifier to destructors of derived classes.

BUG=None
TEST=`USE=wimax FEATURES=test emerge-$BOARD platform2`

Change-Id: I88d4e29165869b26924cccb94ac940dc8961c312
Reviewed-on: https://chromium-review.googlesource.com/212267
Reviewed-by: Alex Vakulenko <avakulenko@chromium.org>
Commit-Queue: Ben Chan <benchan@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
/system/connectivity/shill/mock_log.h
dd374ca7ed8f1ac551fe61a32c34373205bba7fb 15-Apr-2013 Paul Stewart <pstew@chromium.org> shill: Add NiceScopedMockLog

Add a variant to ScopedMockLog that automatically expects any Log
message. This allows us to expect only unique messages that are
specific to the test at hand.

BUG=None
TEST=Unit test that contains an explicit call to log.Log()

Change-Id: I19567b8cfa331daf48367ff8cfc1c266d0618159
Reviewed-on: https://gerrit.chromium.org/gerrit/48154
Reviewed-by: Christopher Wiley <wiley@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
/system/connectivity/shill/mock_log.h
d778352fce7021fc197aa6003c0a2d0662f3e799 10-Aug-2012 Christopher Wiley <wiley@chromium.org> shill: Rename MLOG to LOG

Redefine the LOG macro to route messages through MLOG. Changed
mock_log.cc to actively look for messages with the MemoryLog prefix and
remove it, thus greatly simplifying testing.

BUG=chromium-os:31145
TEST=Builds, unit tests still pass

Change-Id: I458f40048375ac8848f7a009d9a6f6b7f52f6744
Reviewed-on: https://gerrit.chromium.org/gerrit/29942
Commit-Ready: Christopher Wiley <wiley@chromium.org>
Reviewed-by: Christopher Wiley <wiley@chromium.org>
Tested-by: Christopher Wiley <wiley@chromium.org>
/system/connectivity/shill/mock_log.h
8a5726aa96d7a585dccb67d35038b8efeccfd46b 15-May-2012 Gary Morain <gmorain@chromium.org> shill: ScopedMockLog. Useful for testing log messages.

ScopedMockLog provides a way for unittests to validate log messages.
You can set expectations that certain log messages will be emited
by your functions. See mock_log.h for usage information.

BUG=None
TEST=Added new unit tests. Ran all existing tests.

Change-Id: I544dbd9eadb6ca653e7f0fbaa5e8408cdbcf5207
Reviewed-on: https://gerrit.chromium.org/gerrit/22711
Commit-Ready: Gary Morain <gmorain@chromium.org>
Reviewed-by: Gary Morain <gmorain@chromium.org>
Tested-by: Gary Morain <gmorain@chromium.org>
/system/connectivity/shill/mock_log.h