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

Side by Side Diff: chrome/browser/extensions/extension_tts_apitest.cc

Issue 7622011: Mark ExtensionApiTest.TtsChromeOs as failing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/command_line.h" 5 #include "base/command_line.h"
6 #include "base/task.h" 6 #include "base/task.h"
7 #include "chrome/browser/extensions/extension_apitest.h" 7 #include "chrome/browser/extensions/extension_apitest.h"
8 #include "chrome/browser/extensions/extension_tts_api.h" 8 #include "chrome/browser/extensions/extension_tts_api.h"
9 #include "chrome/browser/extensions/extension_tts_api_controller.h" 9 #include "chrome/browser/extensions/extension_tts_api_controller.h"
10 #include "chrome/browser/extensions/extension_tts_api_platform.h" 10 #include "chrome/browser/extensions/extension_tts_api_platform.h"
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 } 295 }
296 296
297 IN_PROC_BROWSER_TEST_F(TtsApiTest, EngineWordCallbacks) { 297 IN_PROC_BROWSER_TEST_F(TtsApiTest, EngineWordCallbacks) {
298 EXPECT_CALL(mock_platform_impl_, StopSpeaking()) 298 EXPECT_CALL(mock_platform_impl_, StopSpeaking())
299 .WillRepeatedly(Return(true)); 299 .WillRepeatedly(Return(true));
300 300
301 ASSERT_TRUE(RunExtensionTest("tts_engine/engine_word_callbacks")) << message_; 301 ASSERT_TRUE(RunExtensionTest("tts_engine/engine_word_callbacks")) << message_;
302 } 302 }
303 303
304 #if defined(OS_CHROMEOS) 304 #if defined(OS_CHROMEOS)
305 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, TtsChromeOs) { 305 // Fails since v8 roll at r96374: http://crbug.com/92482
306 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, FAILS_TtsChromeOs) {
306 CommandLine::ForCurrentProcess()->AppendSwitch( 307 CommandLine::ForCurrentProcess()->AppendSwitch(
307 switches::kEnableExperimentalExtensionApis); 308 switches::kEnableExperimentalExtensionApis);
308 309
309 chromeos::CrosMock crosMock; 310 chromeos::CrosMock crosMock;
310 crosMock.InitMockSpeechSynthesisLibrary(); 311 crosMock.InitMockSpeechSynthesisLibrary();
311 crosMock.SetSpeechSynthesisLibraryExpectations(); 312 crosMock.SetSpeechSynthesisLibraryExpectations();
312 313
313 ASSERT_TRUE(RunExtensionTest("tts/chromeos")) << message_; 314 ASSERT_TRUE(RunExtensionTest("tts/chromeos")) << message_;
314 } 315 }
315 #endif 316 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698