b561850fb5
This CL copied stacktrace test ccases from dart2js and updates them to DDC (mostly kernel version). Some tests fail (marked in status file) because of dartbug.com/31451. Bug: Change-Id: If89c292eedb162fe7fe2832e909654e4ee083340 Reviewed-on: https://dart-review.googlesource.com/23500 Reviewed-by: Johnni Winther <johnniwinther@google.com>
22 lines
591 B
Dart
22 lines
591 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.RunDdc(false), "ddc.", const ["ddc.", "ddk."]),
|
|
];
|
|
}
|
|
|
|
main(List<String> arguments) => runMe(arguments, createContext, "testing.json");
|