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

Unified Diff: chrome/test/data/extensions/api_test/tts/test.js

Issue 3640001: Refactored TTS extension code so that the platform-specific TTS... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 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 | « chrome/test/data/extensions/api_test/tts/test.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/tts/test.js
===================================================================
--- chrome/test/data/extensions/api_test/tts/test.js (revision 62145)
+++ chrome/test/data/extensions/api_test/tts/test.js (working copy)
@@ -1,31 +0,0 @@
-// 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.
-
-// TTS api test for Chrome. This is currently limited to ChromeOS.
-// browser_tests.exe --gtest_filter=ExtensionApiTest.Tts
-
-chrome.test.runTests([
- function testSpeak() {
- chrome.experimental.tts.speak('hello world', {}, function() {
- chrome.test.succeed();
- });
- },
-
- function testStop() {
- chrome.experimental.tts.stop();
- chrome.test.succeed();
- },
-
- function testIsSpeaking() {
- for (var i = 0; i < 3; i++) {
- chrome.experimental.tts.isSpeaking(function(speaking) {
- chrome.test.assertTrue(speaking);
- });
- }
- chrome.experimental.tts.isSpeaking(function(speaking) {
- chrome.test.assertFalse(speaking);
- chrome.test.succeed();
- });
- }
-]);
« no previous file with comments | « chrome/test/data/extensions/api_test/tts/test.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698