1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // browser_tests.exe --gtest_filter="TtsApiTest.*"
8 function testNetworkSpeechVoices() {
9 chrome.tts.getVoices(function(voices) {
10 chrome.test.assertTrue(voices.length >= 6);
11 for (var i = 0; i < voices.length; i++) {
12 chrome.test.assertEq(true, voices[i].remote);
14 chrome.test.succeed();