| 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 "package:expect/expect.dart"; |
| 5 import "dart:io"; | 6 import "dart:io"; |
| 6 import "dart:isolate"; | 7 import "dart:isolate"; |
| 7 | 8 |
| 8 void testUtf8() { | 9 void testUtf8() { |
| 9 List<int> data = [0x01, | 10 List<int> data = [0x01, |
| 10 0x7f, | 11 0x7f, |
| 11 0xc2, 0x80, | 12 0xc2, 0x80, |
| 12 0xdf, 0xbf, | 13 0xdf, 0xbf, |
| 13 0xe0, 0xa0, 0x80, | 14 0xe0, 0xa0, 0x80, |
| 14 0xef, 0xbf, 0xbf, | 15 0xef, 0xbf, 0xbf, |
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 326 testUtf8(); | 327 testUtf8(); |
| 327 testLatin1(); | 328 testLatin1(); |
| 328 testAscii(); | 329 testAscii(); |
| 329 testReadLine1(); | 330 testReadLine1(); |
| 330 testReadLine2(); | 331 testReadLine2(); |
| 331 testReadChunks(); | 332 testReadChunks(); |
| 332 testReadMixed(); | 333 testReadMixed(); |
| 333 testErrorHandler(); | 334 testErrorHandler(); |
| 334 testEncodingErrorWithHandler(); | 335 testEncodingErrorWithHandler(); |
| 335 } | 336 } |
| OLD | NEW |