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

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
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..56f4049837a07a47d7edb7b1422c170918a22abc 100644
--- a/tests/html/xhr_cross_origin_test.dart
+++ b/tests/html/xhr_cross_origin_test.dart
@@ -30,7 +30,7 @@ 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";
ricow1 2013/02/12 07:14:04 Long line
kustermann 2013/02/15 08:00:30 Done.
var xhr = new HttpRequest();
xhr.open('GET', url, true);
var validate = expectAsync1((data) {
@@ -49,7 +49,7 @@ 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";
ricow1 2013/02/12 07:14:04 long line
kustermann 2013/02/15 08:00:30 Done.
HttpRequest.request(url).then(expectAsync1((xhr) {
var data = json.parse(xhr.response);
expect(data, contains('feed'));
@@ -59,7 +59,7 @@ 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";
ricow1 2013/02/12 07:14:04 long line
kustermann 2013/02/15 08:00:30 Done.
HttpRequest.request(url, withCredentials: true).then(expectAsync1((xhr) {
var data = json.parse(xhr.response);
expect(data, contains('feed'));

Powered by Google App Engine
This is Rietveld 408576698