| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2016, the Dartino project authors. Please see the AUTHORS file | |
| 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.md file. | |
| 4 | |
| 5 library tests.fletchc.incremental.production_mode; | |
| 6 | |
| 7 import 'feature_test.dart' show | |
| 8 compileAndRun; | |
| 9 | |
| 10 import 'package:fletchc/incremental/fletchc_incremental.dart' show | |
| 11 IncrementalMode; | |
| 12 | |
| 13 import 'common.dart'; | |
| 14 | |
| 15 class ProductionModeTestSuite extends IncrementalTestSuite { | |
| 16 const ProductionModeTestSuite() | |
| 17 : super("production"); | |
| 18 | |
| 19 Future<Null> run(String testName, EncodedResult encodedResult) { | |
| 20 return compileAndRun( | |
| 21 testName, encodedResult, incrementalMode: IncrementalMode.production); | |
| 22 } | |
| 23 } | |
| 24 | |
| 25 const ProductionModeTestSuite suite = const ProductionModeTestSuite(); | |
| 26 | |
| 27 /// Invoked by ../../fletch_tests/fletch_test_suite.dart. | |
| 28 Future<Map<String, NoArgFuture>> list() => suite.list(); | |
| 29 | |
| 30 Future<Null> main(List<String> arguments) => suite.runFromMain(arguments); | |
| OLD | NEW |