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 * @extends {cvox.BrailleInterface} | 9 * @extends {cvox.BrailleInterface} |
10 * @constructor | 10 * @constructor |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 } | 61 } |
62 }; | 62 }; |
63 | 63 |
64 TEST_F('CvoxBrailleTextHandlerUnitTest', 'UpdateByUser', function() { | 64 TEST_F('CvoxBrailleTextHandlerUnitTest', 'UpdateByUser', function() { |
65 var navBraille = new cvox.NavBraille({ text: 'Hello, world!' }); | 65 var navBraille = new cvox.NavBraille({ text: 'Hello, world!' }); |
66 this.navigationManager.setNavBraille(navBraille); | 66 this.navigationManager.setNavBraille(navBraille); |
67 | 67 |
68 this.brailleTextHandler.changed('', 0, 0, false); | 68 this.brailleTextHandler.changed('', 0, 0, false); |
69 assertEquals(navBraille, this.braille.content); | 69 assertEquals(navBraille, this.braille.content); |
70 }); | 70 }); |
OLD | NEW |