| Index: chrome/browser/chromeos/cros/mock_speech_synthesis_library.h
|
| diff --git a/chrome/browser/chromeos/cros/mock_speech_synthesis_library.h b/chrome/browser/chromeos/cros/mock_speech_synthesis_library.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f40b9e764c59aff9bdfc181fe7e5e878990fa5d2
|
| --- /dev/null
|
| +++ b/chrome/browser/chromeos/cros/mock_speech_synthesis_library.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_CHROMEOS_CROS_MOCK_SPEECH_SYNTHESIS_LIBRARY_H_
|
| +#define CHROME_BROWSER_CHROMEOS_CROS_MOCK_SPEECH_SYNTHESIS_LIBRARY_H_
|
| +
|
| +#include "chrome/browser/chromeos/cros/speech_synthesis_library.h"
|
| +#include "testing/gmock/include/gmock/gmock.h"
|
| +
|
| +namespace chromeos {
|
| +
|
| +class MockSpeechSynthesisLibrary : public SpeechSynthesisLibrary {
|
| + public:
|
| + MockSpeechSynthesisLibrary() {}
|
| + virtual ~MockSpeechSynthesisLibrary() {}
|
| + MOCK_METHOD1(Speak, bool(const char*));
|
| + MOCK_METHOD1(SetSpeakProperties, bool(const char*));
|
| + MOCK_METHOD0(StopSpeaking, bool(void));
|
| + MOCK_METHOD0(IsSpeaking, bool(void));
|
| +};
|
| +
|
| +} // namespace chromeos
|
| +
|
| +#endif // CHROME_BROWSER_CHROMEOS_CROS_MOCK_SPEECH_SYNTHESIS_LIBRARY_H_
|
|
|