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

Unified Diff: tests/corelib/data_uri_test.dart

Issue 2225243003: Revert "Reapply fast-URI patch." (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 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/compiler/dart2js/mirrors_used_test.dart ('k') | tests/corelib/uri_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/data_uri_test.dart
diff --git a/tests/corelib/data_uri_test.dart b/tests/corelib/data_uri_test.dart
index 41f229085d143e2f86ab26cc165053e5b0aa516d..1a21be1fde41e9d2b2064d3f5c4c9c0712a7c1a0 100644
--- a/tests/corelib/data_uri_test.dart
+++ b/tests/corelib/data_uri_test.dart
@@ -18,13 +18,6 @@ main() {
testRoundTrip("blåbærgrød", UTF8);
testRoundTrip("blåbærgrød", LATIN1);
- testUriEquals("data:,abc?d#e");
- testUriEquals("DATA:,ABC?D#E");
- testUriEquals("data:,a%20bc?d#e");
- testUriEquals("DATA:,A%20BC?D#E");
- testUriEquals("data:,a%62c?d#e");
- testUriEquals("DATA:,A%42C?D#E");
-
testUtf8Encoding("\u1000\uffff");
testBytes();
testInvalidCharacters();
@@ -257,11 +250,3 @@ expectUriEquals(Uri expect, Uri actual) {
Expect.equals(expect.hasFragment, actual.hasFragment, "hasFragment");
Expect.equals(expect.fragment, actual.fragment, "fragment");
}
-
-void testUriEquals(String uriText) {
- var data = UriData.parse(uriText);
- var uri = Uri.parse(uriText);
- Expect.equals(data.uri, uri);
- Expect.equals(data.toString(), uri.data.toString());
- Expect.equals(data.toString(), uri.toString());
-}
« no previous file with comments | « tests/compiler/dart2js/mirrors_used_test.dart ('k') | tests/corelib/uri_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698