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

Unified Diff: pkg/barback/test/package_graph/errors_test.dart

Issue 183993003: Revert commits r33138, r33135, and r33134. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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: pkg/barback/test/package_graph/errors_test.dart
diff --git a/pkg/barback/test/package_graph/errors_test.dart b/pkg/barback/test/package_graph/errors_test.dart
index 24281784308c4a28c889add7d8d87d59f2d9f21b..8c74991309f451fed7b20cadc0fadbf0d584278a 100644
--- a/pkg/barback/test/package_graph/errors_test.dart
+++ b/pkg/barback/test/package_graph/errors_test.dart
@@ -114,6 +114,15 @@ main() {
buildShouldFail([isTransformerException(equals(BadTransformer.ERROR))]);
});
+ test("doesn't yield a source if a transform fails on it", () {
+ initGraph(["app|foo.txt"], {"app": [
+ [new BadTransformer(["app|foo.txt"])]
+ ]});
+
+ updateSources(["app|foo.txt"]);
+ expectNoAsset("app|foo.txt");
+ });
+
test("catches errors even if nothing is waiting for process results", () {
initGraph(["app|foo.txt"], {"app": [[new BadTransformer([])]]});
« no previous file with comments | « pkg/barback/test/package_graph/add_remove_transform_test.dart ('k') | pkg/barback/test/package_graph/get_all_assets_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698