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

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: review changes 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
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 1c56a17d3bb719d835f2bc5b7916bf3861ff16e8..771d4b6403a26c34dfdfa5a9ca7175a500759678 100644
--- a/chromeos/dbus/shill_client_unittest_base.h
+++ b/chromeos/dbus/shill_client_unittest_base.h
@@ -105,11 +105,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.

Powered by Google App Engine
This is Rietveld 408576698