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

Unified Diff: sync/notifier/mock_invalidation_state_tracker.h

Issue 10827133: [Sync] Rework unit tests for ChromeInvalidationClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to head Created 8 years, 4 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 | « sync/notifier/invalidation_notifier_unittest.cc ('k') | sync/notifier/mock_invalidation_state_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/notifier/mock_invalidation_state_tracker.h
diff --git a/sync/notifier/mock_invalidation_state_tracker.h b/sync/notifier/mock_invalidation_state_tracker.h
deleted file mode 100644
index e6d992db4a1f9c5447e0c5a6e7c27ae35c5b709c..0000000000000000000000000000000000000000
--- a/sync/notifier/mock_invalidation_state_tracker.h
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef SYNC_NOTIFIER_MOCK_INVALIDATION_STATE_TRACKER_H_
-#define SYNC_NOTIFIER_MOCK_INVALIDATION_STATE_TRACKER_H_
-
-#include "base/memory/weak_ptr.h"
-#include "sync/notifier/invalidation_state_tracker.h"
-#include "testing/gmock/include/gmock/gmock.h"
-
-namespace syncer {
-
-class MockInvalidationStateTracker
- : public InvalidationStateTracker,
- public base::SupportsWeakPtr<MockInvalidationStateTracker> {
- public:
- MockInvalidationStateTracker();
- virtual ~MockInvalidationStateTracker();
-
- MOCK_CONST_METHOD0(GetAllMaxVersions, InvalidationVersionMap());
- MOCK_METHOD2(SetMaxVersion, void(const invalidation::ObjectId&, int64));
- MOCK_CONST_METHOD0(GetInvalidationState, std::string());
- MOCK_METHOD1(SetInvalidationState, void(const std::string&));
-};
-
-} // namespace syncer
-
-#endif // SYNC_NOTIFIER_MOCK_INVALIDATION_STATE_TRACKER_H_
« no previous file with comments | « sync/notifier/invalidation_notifier_unittest.cc ('k') | sync/notifier/mock_invalidation_state_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698