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

Side by Side Diff: packages/barback/test/transformer/declaring_check_content_and_rename.dart

Issue 3014633002: Roll to pickup pool changes (Closed)
Patch Set: Created 3 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library barback.test.transformer.declaring_check_content_and_rename; 5 library barback.test.transformer.declaring_check_content_and_rename;
6 6
7 import 'package:barback/barback.dart'; 7 import 'package:barback/barback.dart';
8 8
9 import 'check_content_and_rename.dart'; 9 import 'check_content_and_rename.dart';
10 10
11 class DeclaringCheckContentAndRenameTransformer 11 class DeclaringCheckContentAndRenameTransformer
12 extends CheckContentAndRenameTransformer 12 extends CheckContentAndRenameTransformer implements DeclaringTransformer {
13 implements DeclaringTransformer { 13 DeclaringCheckContentAndRenameTransformer(
14 DeclaringCheckContentAndRenameTransformer({String oldExtension, 14 {String oldExtension,
15 String oldContent, String newExtension, String newContent}) 15 String oldContent,
16 : super(oldExtension: oldExtension, oldContent: oldContent, 16 String newExtension,
17 newExtension: newExtension, newContent: newContent); 17 String newContent})
18 : super(
19 oldExtension: oldExtension,
20 oldContent: oldContent,
21 newExtension: newExtension,
22 newContent: newContent);
18 23
19 void declareOutputs(DeclaringTransform transform) { 24 void declareOutputs(DeclaringTransform transform) {
20 transform.declareOutput( 25 transform
21 transform.primaryId.changeExtension('.$newExtension')); 26 .declareOutput(transform.primaryId.changeExtension('.$newExtension'));
22 } 27 }
23 } 28 }
OLDNEW
« no previous file with comments | « packages/barback/test/transformer/declaring_bad.dart ('k') | packages/barback/test/transformer/declaring_rewrite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698