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_unittest.cc
|
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_unittest.cc
|
c9c31d8497c3f053c2160408cc386010fc125fad |
|
22-Oct-2014 |
Rebecca Silberstein <silberst@chromium.org> |
shill: add object id to scoped log messages Add object identifier (DBus::Path) string to scoped logging messages. If the logging message is called from a static method, SLOG will be called with nullptr and the log will use (anon) for the object id. Objects without identifying information will use the (class_name) as their logged identifier. BUG=chromium:403996 TEST=ran unit tests and manually inspected net.log Change-Id: Idf23911a303f5edc4b82917bf1e2cea3f8e44e60 Reviewed-on: https://chromium-review.googlesource.com/224812 Tested-by: Rebecca Silberstein <silberst@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Commit-Queue: Rebecca Silberstein <silberst@chromium.org>
/system/connectivity/shill/mock_log_unittest.cc
|
ef342b4400ad2338d3caf8f30ae06ba9f9fa4d77 |
|
13-Sep-2013 |
Liam McLoughlin <lmcloughlin@chromium.org> |
Add shill to Platform2 VerifyPath tests were removed. They don't make sense in the Platform2 world, where they're part of the same ebuild and so aren't installed into the sysroot by test time. BUG=chromium:220003 TEST=Run ALL the trybots CQ-DEPEND=CL:56290 Change-Id: Icf79aa729b1ed125743686c4536fe1b59183fed2 Reviewed-on: https://chromium-review.googlesource.com/63659 Reviewed-by: Liam McLoughlin <lmcloughlin@chromium.org> Tested-by: Liam McLoughlin <lmcloughlin@chromium.org> Commit-Queue: Liam McLoughlin <lmcloughlin@chromium.org>
/system/connectivity/shill/mock_log_unittest.cc
|
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_unittest.cc
|
b691efd71561246065eae3cdd73a96ca1b8a528d |
|
09-Aug-2012 |
Christopher Wiley <wiley@chromium.org> |
shill: Rename SMLOG to SLOG Rewrite SMLOG as SLOG, thus saving many edits. Change the location of the SLOG macro to be memory_log.h, requiring includes to be rewritten and reordered. While we're rewriting includes, moving all assorted logging includes into a generic shill/logging.h, thus saving future logging changes from altering these includes ever again. BUG=chromium-os:31145 TEST=Builds, unit tests still pass Change-Id: Ie5129fcbdda87f3149460209a682c698b876b09a Reviewed-on: https://gerrit.chromium.org/gerrit/29650 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_unittest.cc
|
d34a47c06c38f2594c85b14b0f9cee2bf37c0e84 |
|
02-Aug-2012 |
Christopher Wiley <wiley@chromium.org> |
shill: Fix ScopeLogger to respect verbosities The confusion over the signs of verbosities and severities has apparently led us to ignore verbosity when we go through the SLOG_IS_ON macro. Unfortunately, for actual logging, we always go through the SLOG_IS_ON macro. BUG=chromium-os:33177 TEST=Unittest, confirmed with ff_debug on a ToT build Change-Id: I0081144b19f1a350d96aa32e26bd8311d1882d7f Reviewed-on: https://gerrit.chromium.org/gerrit/28988 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_unittest.cc
|
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_unittest.cc
|