Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(536)

Unified Diff: chromeos/dbus/shill_client_unittest_base.h

Issue 10949030: This converts the Shill clients to allow propagation of shill errors (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix bad merge Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/dbus/shill_client_helper.cc ('k') | chromeos/dbus/shill_client_unittest_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/shill_client_unittest_base.h
diff --git a/chromeos/dbus/shill_client_unittest_base.h b/chromeos/dbus/shill_client_unittest_base.h
index 22bfb6f16f064358c8904f3d68e8a89adf70c8b8..96f4e93b930ff7a36d7a4dade0dbb202901e552f 100644
--- a/chromeos/dbus/shill_client_unittest_base.h
+++ b/chromeos/dbus/shill_client_unittest_base.h
@@ -140,11 +140,21 @@ class ShillClientUnittestBase : public testing::Test {
const dbus::ObjectPath& result);
// Checks the result and expects the call status to be SUCCESS.
+ static void ExpectObjectPathResultWithoutStatus(
+ const dbus::ObjectPath& expected_result,
+ const dbus::ObjectPath& result);
+
+ // Checks the result and expects the call status to be SUCCESS.
static void ExpectDictionaryValueResult(
const base::DictionaryValue* expected_result,
DBusMethodCallStatus call_status,
const base::DictionaryValue& result);
+ // Expects the |expected_result| to match the |result|.
+ static void ExpectDictionaryValueResultWithoutStatus(
+ const base::DictionaryValue* expected_result,
+ const base::DictionaryValue& result);
+
// A message loop to emulate asynchronous behavior.
MessageLoop message_loop_;
// The mock bus.
« no previous file with comments | « chromeos/dbus/shill_client_helper.cc ('k') | chromeos/dbus/shill_client_unittest_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698