commit | 8a5726aa96d7a585dccb67d35038b8efeccfd46b | [log] [tgz] |
---|---|---|
author | Gary Morain <gmorain@chromium.org> | Tue May 15 10:56:49 2012 -0700 |
committer | Gerrit <chrome-bot@google.com> | Thu May 17 09:40:40 2012 -0700 |
tree | 12809e393bce3f0ac081be749b33d97f5781f62d | |
parent | 02401cc8e799c52c1b39d2f3f718ea7375e9572f [diff] |
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>