Chromium Code Reviews

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: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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 fe4018a91bf84410536243bec18f40f0c9589c22..44fb92feba4c1a83d7279cdcf2c29a1e5a0f8d13 100644
--- a/tests/standalone/io/http_parser_test.dart
+++ b/tests/standalone/io/http_parser_test.dart
@@ -115,7 +115,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);
@@ -153,7 +153,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);
@@ -267,7 +267,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);
@@ -304,7 +304,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);

Powered by Google App Engine