OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 test fixture. | 5 // Include test fixture. |
6 GEN_INCLUDE(['../testing/chromevox_unittest_base.js']); | 6 GEN_INCLUDE(['../testing/chromevox_unittest_base.js']); |
7 | 7 |
8 /** | 8 /** |
9 * Test fixture. | 9 * Test fixture. |
10 * @constructor | 10 * @constructor |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 var categories = cvox.CommandStore.categories(); | 64 var categories = cvox.CommandStore.categories(); |
65 for (var i = 0; i < categories.length; i++) { | 65 for (var i = 0; i < categories.length; i++) { |
66 var commands = cvox.CommandStore.commandsForCategory(categories[i]); | 66 var commands = cvox.CommandStore.commandsForCategory(categories[i]); |
67 for (j = 0; j < commands.length; j++) { | 67 for (j = 0; j < commands.length; j++) { |
68 var command = commands[j]; | 68 var command = commands[j]; |
69 assertEquals(command + ' function', | 69 assertEquals(command + ' function', |
70 command + ' ' + typeof(cvox.ChromeVoxUserCommands.commands[command])); | 70 command + ' ' + typeof(cvox.ChromeVoxUserCommands.commands[command])); |
71 } | 71 } |
72 } | 72 } |
73 }); | 73 }); |
OLD | NEW |