f17ccdfbea
Conceptually this is a port of analyzer/nullable_type_inference.dart. It contains some refactoring and other improvements, as well as tests. Change-Id: I448440793f11e2e87583d9d47c0e6a1e54ae21f7 Reviewed-on: https://dart-review.googlesource.com/34308 Commit-Queue: Jenny Messerly <jmesserly@google.com> Reviewed-by: Vijay Menon <vsm@google.com>
22 lines
602 B
Dart
22 lines
602 B
Dart
import 'package:testing/testing.dart';
|
|
|
|
import 'common.dart';
|
|
import 'ddc_common.dart';
|
|
import 'sourcemaps_ddc_suite.dart' as ddc;
|
|
|
|
Future<ChainContext> createContext(
|
|
Chain suite, Map<String, String> environment) async {
|
|
return new StackTraceContext();
|
|
}
|
|
|
|
class StackTraceContext extends ChainContextWithCleanupHelper {
|
|
final List<Step> steps = <Step>[
|
|
const Setup(),
|
|
const SetCwdToSdkRoot(),
|
|
const TestStackTrace(
|
|
const ddc.DevCompilerRunner(false), "ddc.", const ["ddc.", "ddk."]),
|
|
];
|
|
}
|
|
|
|
main(List<String> arguments) => runMe(arguments, createContext, "testing.json");
|