| 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:async"; | 6 import "dart:async"; |
| 6 import "dart:utf"; | 7 import "dart:utf"; |
| 7 part "../../../sdk/lib/io/input_stream.dart"; | 8 part "../../../sdk/lib/io/input_stream.dart"; |
| 8 part "../../../sdk/lib/io/output_stream.dart"; | 9 part "../../../sdk/lib/io/output_stream.dart"; |
| 9 part "../../../sdk/lib/io/chunked_stream.dart"; | 10 part "../../../sdk/lib/io/chunked_stream.dart"; |
| 10 part "../../../sdk/lib/io/string_stream.dart"; | 11 part "../../../sdk/lib/io/string_stream.dart"; |
| 11 part "../../../sdk/lib/io/stream_util.dart"; | 12 part "../../../sdk/lib/io/stream_util.dart"; |
| 12 part "../../../sdk/lib/io/http.dart"; | 13 part "../../../sdk/lib/io/http.dart"; |
| 13 part "../../../sdk/lib/io/http_impl.dart"; | 14 part "../../../sdk/lib/io/http_impl.dart"; |
| 14 part "../../../sdk/lib/io/http_parser.dart"; | 15 part "../../../sdk/lib/io/http_parser.dart"; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 36 'sqrt2' : '\u221A2', | 37 'sqrt2' : '\u221A2', |
| 37 'name' : 'Franti\u0161ek'}[key]); | 38 'name' : 'Franti\u0161ek'}[key]); |
| 38 } | 39 } |
| 39 Expect.setEquals(map.keys.toSet(), ['&', '?', 'foo', 'sqrt2', 'name']); | 40 Expect.setEquals(map.keys.toSet(), ['&', '?', 'foo', 'sqrt2', 'name']); |
| 40 } | 41 } |
| 41 | 42 |
| 42 void main() { | 43 void main() { |
| 43 testParseEncodedString(); | 44 testParseEncodedString(); |
| 44 testParseQueryString(); | 45 testParseQueryString(); |
| 45 } | 46 } |
| OLD | NEW |