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

Unified Diff: test/runner/pub_serve_test.dart

Issue 1187103004: Allow Suites to be added to an Engine over time. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 5 years, 6 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: test/runner/pub_serve_test.dart
diff --git a/test/runner/pub_serve_test.dart b/test/runner/pub_serve_test.dart
index 973fcda570c570838b30357918ba5064d6e2a4ef..5f38b3a9eca8644179b4856467187357ac9339fa 100644
--- a/test/runner/pub_serve_test.dart
+++ b/test/runner/pub_serve_test.dart
@@ -135,7 +135,7 @@ void main() {
var result = runTest(['--pub-serve=${pair.last}'],
workingDirectory: _sandbox);
expect(result.stdout, allOf([
- contains('-1: load error'),
+ contains('-1: ${p.join("test", "my_test.dart")}: load error'),
contains('Failed to load "${p.join("test", "my_test.dart")}":'),
contains('404 Not Found'),
contains('Make sure "pub serve" is serving the test/ directory.')
@@ -155,7 +155,7 @@ void main() {
var result = runTest(['--pub-serve=${pair.last}', '-p', 'chrome'],
workingDirectory: _sandbox);
expect(result.stdout, allOf([
- contains('-1: load error'),
+ contains('-1: ${p.join("test", "my_test.dart")}: load error'),
contains('Failed to load "${p.join("test", "my_test.dart")}":'),
contains('404 Not Found'),
contains('Make sure "pub serve" is serving the test/ directory.')
@@ -300,7 +300,7 @@ void main() {
var result = runTest(['--pub-serve=54321'],
workingDirectory: _sandbox);
expect(result.stdout, allOf([
- contains('-1: load error'),
+ contains('-1: ${p.join("test", "my_test.dart")}: load error'),
contains('''
Failed to load "${p.join("test", "my_test.dart")}":
Error getting http://localhost:54321/my_test.dart.vm_test.dart: Connection refused
@@ -317,7 +317,7 @@ void main() {
: 'Connection refused (errno ';
expect(result.stdout, allOf([
- contains('-1: load error'),
+ contains('-1: ${p.join("test", "my_test.dart")}: load error'),
contains('Failed to load "${p.join("test", "my_test.dart")}":'),
contains('Error getting http://localhost:54321/my_test.dart.browser_test'
'.dart.js.map: $message'),

Powered by Google App Engine
This is Rietveld 408576698