| Index: tests/lib/analyzer/test_config.dart
|
| diff --git a/tests/lib/analyzer/test_config.dart b/tests/lib/analyzer/test_config.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8c5c1e5b9d182a3a526f464c650964bf7b90ff83
|
| --- /dev/null
|
| +++ b/tests/lib/analyzer/test_config.dart
|
| @@ -0,0 +1,30 @@
|
| +// Copyright (c) 2013, 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.
|
| +
|
| +library analyze_library_test_config;
|
| +
|
| +import 'dart:io';
|
| +import '../../../tools/testing/dart/test_suite.dart';
|
| +
|
| +class AnalyzeLibraryTestSuite extends DartcCompilationTestSuite {
|
| + final libraries = [ 'async', 'crypto', 'io', 'isolate', 'json', 'math',
|
| + 'mirrors', 'scalarlist', 'typeddata', 'uri', 'utf' ];
|
| +
|
| + AnalyzeLibraryTestSuite(Map configuration)
|
| + : super(configuration,
|
| + 'analyze_library',
|
| + 'sdk',
|
| + [ 'lib' ],
|
| + ['tests/lib/analyzer/analyze_library.status'],
|
| + allStaticClean: true);
|
| +
|
| + bool isTestFile(String filename) {
|
| + var sep = Platform.pathSeparator;
|
| + return libraries.any((String lib) {
|
| + return filename.endsWith('lib$sep$lib$sep$lib.dart');
|
| + });
|
| + }
|
| +
|
| + bool get listRecursively => true;
|
| +}
|
|
|