|
Refactor the barback tests somewhat.
This makes each transformer capable of relatively fine-grained pausing
and resuming of processing. They no longer use MockAsset, instead
using [Asset.fromString] to better simulate real-world transformers.
This also adds several new utility functions to
barback/test/utils.dart.
R=rnystrom@google.com
Committed: https://code.google.com/p/dart/source/detail?r=25652
Total comments: 24
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+642 lines, -275 lines) |
Patch |
 |
M |
pkg/barback/lib/src/asset_set.dart
|
View
|
1
2
|
2 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
A |
pkg/barback/lib/src/cancelable_future.dart
|
View
|
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
M |
pkg/barback/test/asset_set_test.dart
|
View
|
1
2
|
6 chunks |
+56 lines, -15 lines |
0 comments
|
Download
|
 |
A |
pkg/barback/test/cancelable_future_test.dart
|
View
|
|
1 chunk |
+62 lines, -0 lines |
0 comments
|
Download
|
 |
M |
pkg/barback/test/package_graph/transform_test.dart
|
View
|
|
11 chunks |
+17 lines, -25 lines |
0 comments
|
Download
|
 |
A |
pkg/barback/test/transformer/bad.dart
|
View
|
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
 |
A |
pkg/barback/test/transformer/check_content.dart
|
View
|
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
 |
A |
pkg/barback/test/transformer/create_asset.dart
|
View
|
|
1 chunk |
+26 lines, -0 lines |
0 comments
|
Download
|
 |
A |
pkg/barback/test/transformer/many_to_one.dart
|
View
|
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
 |
A |
pkg/barback/test/transformer/mock.dart
|
View
|
|
1 chunk |
+132 lines, -0 lines |
0 comments
|
Download
|
 |
A |
pkg/barback/test/transformer/one_to_many.dart
|
View
|
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
 |
A |
pkg/barback/test/transformer/rewrite.dart
|
View
|
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
 |
M |
pkg/barback/test/utils.dart
|
View
|
1
2
|
15 chunks |
+112 lines, -235 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|