OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 | 5 |
6 #library('bidi_utils_test'); | 6 #library('bidi_utils_test'); |
7 | 7 |
8 #import('../../../lib/i18n/intl.dart'); | 8 #import('../../../pkg/i18n/intl.dart'); |
9 #import('../../../lib/unittest/unittest.dart'); | 9 #import('../../../lib/unittest/unittest.dart'); |
10 | 10 |
11 /** | 11 /** |
12 * Tests the bidi utilities library. | 12 * Tests the bidi utilities library. |
13 */ | 13 */ |
14 main() { | 14 main() { |
15 var LRE = '\u202A'; | 15 var LRE = '\u202A'; |
16 var RLE = '\u202B'; | 16 var RLE = '\u202B'; |
17 var PDF = '\u202C'; | 17 var PDF = '\u202C'; |
18 var LRM = '\u200E'; | 18 var LRM = '\u200E'; |
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 }); | 337 }); |
338 } | 338 } |
339 | 339 |
340 class SampleItem { | 340 class SampleItem { |
341 String text; | 341 String text; |
342 bool isRtl; | 342 bool isRtl; |
343 bool isHtml; | 343 bool isHtml; |
344 SampleItem([someText='', someIsRtl=false, isHtml=false]) : | 344 SampleItem([someText='', someIsRtl=false, isHtml=false]) : |
345 this.text=someText, this.isRtl=someIsRtl, this.isHtml=isHtml; | 345 this.text=someText, this.isRtl=someIsRtl, this.isHtml=isHtml; |
346 } | 346 } |
OLD | NEW |