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

Side by Side Diff: test/loader_http_test.dart

Issue 1612003002: Add browser-compatible version. (Closed) Base URL: https://github.com/dart-lang/resource.git@master
Patch Set: Made test run Created 4 years, 11 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 unified diff | Download patch
« no previous file with comments | « test/loader_file_test.dart ('k') | test/testfile-latin1.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 @TestOn("vm");
6
5 import "dart:async"; 7 import "dart:async";
6 import "dart:convert"; 8 import "dart:convert";
7 import "dart:io"; 9 import "dart:io";
8 10
9 import "package:resource/resource.dart"; 11 import "package:resource/resource.dart";
10 import "package:test/test.dart"; 12 import "package:test/test.dart";
11 13
12 const content = "Rødgrød med fløde"; 14 const content = "Rødgrød med fløde";
13 15
14 main() { 16 main() {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 } 85 }
84 if (w > weight) { 86 if (w > weight) {
85 weight = w; 87 weight = w;
86 encoding = e; 88 encoding = e;
87 } 89 }
88 } 90 }
89 } 91 }
90 } 92 }
91 return encoding; 93 return encoding;
92 } 94 }
OLDNEW
« no previous file with comments | « test/loader_file_test.dart ('k') | test/testfile-latin1.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698