dbadf204aa
Change-Id: I3ca3dc1e1ed55b636808685bff5d017d422678e7 Reviewed-on: https://dart-review.googlesource.com/24923 Reviewed-by: Sigmund Cherem <sigmund@google.com>
25 lines
821 B
Dart
25 lines
821 B
Dart
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
import 'helpers/sourcemap_helper.dart';
|
|
import 'tools/source_mapping_tester.dart';
|
|
|
|
void main() {
|
|
// 'operators.dart' and 'invokes.dart' are tested individually to avoid
|
|
// test timeout.
|
|
test(['--exclude', 'operators.dart', 'invokes.dart'],
|
|
whiteListFunction: (String config, String file) {
|
|
if (file == 'others.dart') {
|
|
return (CodePoint point) {
|
|
if (point.jsCode.startsWith('target=')) {
|
|
// Switch continue target updates don't store the source information.
|
|
return true;
|
|
}
|
|
return false;
|
|
};
|
|
}
|
|
return emptyWhiteList;
|
|
});
|
|
}
|