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

Unified Diff: test/serve/web_socket/url_to_asset_id_test.dart

Issue 1282533003: Don't implicitly run "pub get". (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Code review changes Created 5 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
Index: test/serve/web_socket/url_to_asset_id_test.dart
diff --git a/test/serve/web_socket/url_to_asset_id_test.dart b/test/serve/web_socket/url_to_asset_id_test.dart
index f268c50b81414b88e3315a6fa9b4f7cdf84306e7..de49150baf2cd8e0e849e5503fd30545c5b60168 100644
--- a/test/serve/web_socket/url_to_asset_id_test.dart
+++ b/test/serve/web_socket/url_to_asset_id_test.dart
@@ -39,10 +39,12 @@ main() {
])
])
]).create();
+
+ pubGet();
});
integration("converts URLs to matching asset ids in web/", () {
- pubServe(shouldGetFirst: true);
+ pubServe();
expectWebSocketResult("urlToAssetId", {
"url": getServerUrl("web", "index.html")
}, {"package": "myapp", "path": "web/index.html"});
@@ -51,7 +53,7 @@ main() {
integration("converts URLs to matching asset ids in subdirectories of web/",
() {
- pubServe(shouldGetFirst: true);
+ pubServe();
expectWebSocketResult("urlToAssetId", {
"url": getServerUrl("web", "sub/bar.html")
}, {"package": "myapp", "path": "web/sub/bar.html"});
@@ -59,7 +61,7 @@ main() {
});
integration("converts URLs to matching asset ids in test/", () {
- pubServe(shouldGetFirst: true);
+ pubServe();
expectWebSocketResult("urlToAssetId", {
"url": getServerUrl("test", "index.html")
}, {"package": "myapp", "path": "test/index.html"});
@@ -68,7 +70,7 @@ main() {
integration("converts URLs to matching asset ids in subdirectories of test/",
() {
- pubServe(shouldGetFirst: true);
+ pubServe();
expectWebSocketResult("urlToAssetId", {
"url": getServerUrl("test", "sub/bar.html")
}, {"package": "myapp", "path": "test/sub/bar.html"});
@@ -78,7 +80,7 @@ main() {
integration("converts URLs to matching asset ids in the entrypoint's lib/",
() {
// Path in root package's lib/.
- pubServe(shouldGetFirst: true);
+ pubServe();
expectWebSocketResult("urlToAssetId", {
"url": getServerUrl("web", "packages/myapp/myapp.dart")
}, {"package": "myapp", "path": "lib/myapp.dart"});
@@ -87,7 +89,7 @@ main() {
integration("converts URLs to matching asset ids in a dependency's lib/", () {
// Path in lib/.
- pubServe(shouldGetFirst: true);
+ pubServe();
expectWebSocketResult("urlToAssetId", {
"url": getServerUrl("web", "packages/foo/foo.dart")
}, {"package": "foo", "path": "lib/foo.dart"});
« no previous file with comments | « test/serve/web_socket/url_to_asset_id_errors_test.dart ('k') | test/serve/web_socket/url_to_asset_id_with_line_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698