| OLD | NEW | 
|   1 // Copyright (c) 2013, the Dart project authors.  Please see the AUTHORS d.file |   1 // Copyright (c) 2013, the Dart project authors.  Please see the AUTHORS d.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 pub_tests; |  | 
|   6  |  | 
|   7 import '../descriptor.dart' as d; |   5 import '../descriptor.dart' as d; | 
|   8 import '../test_pub.dart'; |   6 import '../test_pub.dart'; | 
|   9 import '../serve/utils.dart'; |   7 import '../serve/utils.dart'; | 
|  10  |   8  | 
|  11 const TRANSFORMER = """ |   9 const TRANSFORMER = """ | 
|  12 import 'dart:async'; |  10 import 'dart:async'; | 
|  13  |  11  | 
|  14 import 'package:barback/barback.dart'; |  12 import 'package:barback/barback.dart'; | 
|  15  |  13  | 
|  16 class ModeTransformer extends Transformer { |  14 class ModeTransformer extends Transformer { | 
| (...skipping 28 matching lines...) Expand all  Loading... | 
|  45         d.file("foo.txt", "foo") |  43         d.file("foo.txt", "foo") | 
|  46       ]) |  44       ]) | 
|  47     ]).create(); |  45     ]).create(); | 
|  48  |  46  | 
|  49     pubGet(); |  47     pubGet(); | 
|  50     pubServe(); |  48     pubServe(); | 
|  51     requestShouldSucceed("foo.out", "debug"); |  49     requestShouldSucceed("foo.out", "debug"); | 
|  52     endPubServe(); |  50     endPubServe(); | 
|  53   }); |  51   }); | 
|  54 } |  52 } | 
| OLD | NEW |