| Index: chrome/browser/sync/engine/ReadNodeMock.h
|
| diff --git a/chrome/browser/sync/engine/ReadNodeMock.h b/chrome/browser/sync/engine/ReadNodeMock.h
|
| new file mode 100755
|
| index 0000000000000000000000000000000000000000..1276f240710c6dc0ce2a52b44e57d4d7116fa418
|
| --- /dev/null
|
| +++ b/chrome/browser/sync/engine/ReadNodeMock.h
|
| @@ -0,0 +1,25 @@
|
| +// Copyright (c) 2010 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 CHROME_BROWSER_SYNC_READ_NODE_MOCK_H__
|
| +#define CHROME_BROWSER_SYNC_READ_NODE_MOCK_H__
|
| +#pragma once
|
| +
|
| +#include "chrome/browser/sync/engine/syncapi.h"
|
| +#include "testing/gmock/include/gmock/gmock.h"
|
| +
|
| +class ReadNodeMock : public sync_api::ReadNode {
|
| +public:
|
| + ReadNodeMock() { }
|
| + virtual ~ReadNodeMock() {}
|
| + MOCK_METHOD2(InitByClientTagLookup, bool(syncable::ModelType model_type,
|
| + const std::string& tag));
|
| + MOCK_CONST_METHOD0(GetAutofillProfileSpecifics, sync_pb::AutofillProfile2Specifics&());
|
| + MOCK_CONST_METHOD0(GetId, int64());
|
| + MOCK_CONST_METHOD0(GetFirstChildId, int64());
|
| + MOCK_CONST_METHOD0(GetFirstChild, int64());
|
| + MOCK_CONST_METHOD0(GetSuccessorId, int64());
|
| + MOCK_METHOD1(InitByIdLookup, bool(int64));
|
| +};
|
| +#endif //CHROME_BROWSER_SYNC_READ_NODE_MOCK_H_
|
|
|