| 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 // TODO(rnystrom): Use "package:" URL (#4968). |
| 8 #import('../intl.dart'); | 9 #import('../intl.dart'); |
| 9 #import('../../../pkg/unittest/unittest.dart'); | 10 #import('../../../pkg/unittest/lib/unittest.dart'); |
| 10 | 11 |
| 11 /** | 12 /** |
| 12 * Tests the bidi utilities library. | 13 * Tests the bidi utilities library. |
| 13 */ | 14 */ |
| 14 main() { | 15 main() { |
| 15 var LRE = '\u202A'; | 16 var LRE = '\u202A'; |
| 16 var RLE = '\u202B'; | 17 var RLE = '\u202B'; |
| 17 var PDF = '\u202C'; | 18 var PDF = '\u202C'; |
| 18 var LRM = '\u200E'; | 19 var LRM = '\u200E'; |
| 19 var RLM = '\u200F'; | 20 var RLM = '\u200F'; |
| (...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 }); | 338 }); |
| 338 } | 339 } |
| 339 | 340 |
| 340 class SampleItem { | 341 class SampleItem { |
| 341 String text; | 342 String text; |
| 342 bool isRtl; | 343 bool isRtl; |
| 343 bool isHtml; | 344 bool isHtml; |
| 344 SampleItem([someText='', someIsRtl=false, isHtml=false]) : | 345 SampleItem([someText='', someIsRtl=false, isHtml=false]) : |
| 345 this.text=someText, this.isRtl=someIsRtl, this.isHtml=isHtml; | 346 this.text=someText, this.isRtl=someIsRtl, this.isHtml=isHtml; |
| 346 } | 347 } |
| OLD | NEW |