Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(481)

Unified Diff: tests/standalone/io/http_body_test.dart

Issue 18576006: Remove _HttpUtils from dart:io. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated comments and add encoding tests. Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/io/iolib_sources.gypi ('k') | tests/standalone/io/http_cookie_date_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/http_body_test.dart
diff --git a/tests/standalone/io/http_body_test.dart b/tests/standalone/io/http_body_test.dart
index 419e3810791f30a32b6b0165ea94151f7fa6aeaa..2f5231b911a70e14ba290d13cbbaffa7af0339ae 100644
--- a/tests/standalone/io/http_body_test.dart
+++ b/tests/standalone/io/http_body_test.dart
@@ -255,7 +255,22 @@ File content\r
test('application/x-www-form-urlencoded',
'a=%F8+%26%23548%3B'.codeUnits,
- { 'a' : '\u{FFFD}Ȥ' },
+ { 'a' : '\u{FFFD} Ȥ' },
+ "form");
+
+ test('application/x-www-form-urlencoded',
+ 'a=%C0%A0'.codeUnits,
+ { 'a' : '\u{FFFD}' },
+ "form");
+
+ test('application/x-www-form-urlencoded',
+ 'a=x%A0x'.codeUnits,
+ { 'a' : 'x\u{FFFD}x' },
+ "form");
+
+ test('application/x-www-form-urlencoded',
+ 'a=x%C0x'.codeUnits,
+ { 'a' : 'x\u{FFFD}x' },
"form");
test('application/x-www-form-urlencoded',
« no previous file with comments | « sdk/lib/io/iolib_sources.gypi ('k') | tests/standalone/io/http_cookie_date_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698