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 #import("dart:io"); | 5 #import("dart:io"); |
6 | 6 |
7 void testUtf8() { | 7 void testUtf8() { |
8 List<int> data = [0x01, | 8 List<int> data = [0x01, |
9 0x7f, | 9 0x7f, |
10 0xc2, 0x80, | 10 0xc2, 0x80, |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 } | 195 } |
196 | 196 |
197 main() { | 197 main() { |
198 testUtf8(); | 198 testUtf8(); |
199 testLatin1(); | 199 testLatin1(); |
200 testAscii(); | 200 testAscii(); |
201 testReadLine1(); | 201 testReadLine1(); |
202 testReadLine2(); | 202 testReadLine2(); |
203 testErrorHandler(); | 203 testErrorHandler(); |
204 } | 204 } |
OLD | NEW |