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

Unified Diff: tests/html/xhr_cross_origin_test.dart

Issue 12223074: Create generated tests inside the build directory (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. 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/html/dromaeo_smoke_test.dart ('k') | tests/html/xhr_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/xhr_cross_origin_test.dart
diff --git a/tests/html/xhr_cross_origin_test.dart b/tests/html/xhr_cross_origin_test.dart
index 3bbb5ca2af94799e3974d9597ea4bc6bead39860..5f22ee77ca10ed8cdccf5442d397a650faf0a5e5 100644
--- a/tests/html/xhr_cross_origin_test.dart
+++ b/tests/html/xhr_cross_origin_test.dart
@@ -30,7 +30,8 @@ main() {
var port = crossOriginPort;
test('XHR Cross-domain', () {
- var url = "http://localhost:$port/tests/html/xhr_cross_origin_data.txt";
+ var url = "http://localhost:$port/"
+ "root_dart/tests/html/xhr_cross_origin_data.txt";
var xhr = new HttpRequest();
xhr.open('GET', url, true);
var validate = expectAsync1((data) {
@@ -49,7 +50,8 @@ main() {
});
test('XHR.get Cross-domain', () {
- var url = "http://localhost:$port/tests/html/xhr_cross_origin_data.txt";
+ var url = "http://localhost:$port/"
+ "root_dart/tests/html/xhr_cross_origin_data.txt";
HttpRequest.request(url).then(expectAsync1((xhr) {
var data = json.parse(xhr.response);
expect(data, contains('feed'));
@@ -59,7 +61,8 @@ main() {
});
test('XHR.getWithCredentials Cross-domain', () {
- var url = "http://localhost:$port/tests/html/xhr_cross_origin_data.txt";
+ var url = "http://localhost:$port/"
+ "root_dart/tests/html/xhr_cross_origin_data.txt";
HttpRequest.request(url, withCredentials: true).then(expectAsync1((xhr) {
var data = json.parse(xhr.response);
expect(data, contains('feed'));
« no previous file with comments | « tests/html/dromaeo_smoke_test.dart ('k') | tests/html/xhr_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698