| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 "package:expect/expect.dart"; |
| 6 import "dart:async"; | 6 import "dart:async"; |
| 7 import "dart:utf"; | 7 import "dart:utf"; |
| 8 import 'dart:collection'; |
| 8 | 9 |
| 9 part '../../../sdk/lib/io/common.dart'; | 10 part '../../../sdk/lib/io/common.dart'; |
| 10 part '../../../sdk/lib/io/io_sink.dart'; | 11 part '../../../sdk/lib/io/io_sink.dart'; |
| 11 part "../../../sdk/lib/io/http.dart"; | 12 part "../../../sdk/lib/io/http.dart"; |
| 12 part "../../../sdk/lib/io/http_impl.dart"; | 13 part "../../../sdk/lib/io/http_impl.dart"; |
| 13 part "../../../sdk/lib/io/http_parser.dart"; | 14 part "../../../sdk/lib/io/http_parser.dart"; |
| 14 part "../../../sdk/lib/io/http_utils.dart"; | 15 part "../../../sdk/lib/io/http_utils.dart"; |
| 15 part "../../../sdk/lib/io/socket.dart"; | 16 part "../../../sdk/lib/io/socket.dart"; |
| 16 part "../../../sdk/lib/io/string_transformer.dart"; | 17 part "../../../sdk/lib/io/string_transformer.dart"; |
| 17 | 18 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 // These are not really a legal query string. | 87 // These are not really a legal query string. |
| 87 test('=', { }); | 88 test('=', { }); |
| 88 test('=x', { }); | 89 test('=x', { }); |
| 89 test('a==&b===', { 'a' : '=', 'b' : '==' }); | 90 test('a==&b===', { 'a' : '=', 'b' : '==' }); |
| 90 } | 91 } |
| 91 | 92 |
| 92 void main() { | 93 void main() { |
| 93 testParseEncodedString(); | 94 testParseEncodedString(); |
| 94 testParseQueryString(); | 95 testParseQueryString(); |
| 95 } | 96 } |
| OLD | NEW |