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

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

Issue 12282038: Remove deprecated string features. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge to head Created 7 years, 10 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 | « tests/standalone/io/http_client_connect_test.dart ('k') | tests/standalone/io/http_read_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/http_parser_test.dart
diff --git a/tests/standalone/io/http_parser_test.dart b/tests/standalone/io/http_parser_test.dart
index 173fec4410da150a51ad1fb842deaaf9cdc4f4ee..77a3d5e87443cbbf9ef954559ba57e7fb97e551f 100644
--- a/tests/standalone/io/http_parser_test.dart
+++ b/tests/standalone/io/http_parser_test.dart
@@ -125,7 +125,7 @@ class HttpParserTest {
// Test parsing the request three times delivering the data in
// different chunks.
- List<int> requestData = request.charCodes;
+ List<int> requestData = request.codeUnits;
testWrite(requestData);
testWrite(requestData, 10);
testWrite(requestData, 1);
@@ -169,7 +169,7 @@ class HttpParserTest {
// Test parsing the request three times delivering the data in
// different chunks.
- List<int> requestData = request.charCodes;
+ List<int> requestData = request.codeUnits;
testWrite(requestData);
testWrite(requestData, 10);
testWrite(requestData, 1);
@@ -270,7 +270,7 @@ class HttpParserTest {
// Test parsing the request three times delivering the data in
// different chunks.
- List<int> responseData = response.charCodes;
+ List<int> responseData = response.codeUnits;
testWrite(responseData);
testWrite(responseData, 10);
testWrite(responseData, 1);
@@ -320,7 +320,7 @@ class HttpParserTest {
// Test parsing the request three times delivering the data in
// different chunks.
- List<int> responseData = response.charCodes;
+ List<int> responseData = response.codeUnits;
testWrite(responseData);
testWrite(responseData, 10);
testWrite(responseData, 1);
« no previous file with comments | « tests/standalone/io/http_client_connect_test.dart ('k') | tests/standalone/io/http_read_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698