Files
sdk/pkg/source_maps/test/run.dart
T
nweiz@google.com 1afe3964ca Remove support for the old Span classes from source_maps.
This releases source_maps 0.10.0, code_transformers 0.2.0+2, observe 0.11.0+3,
and polymer 0.12.0+4.

BUG=19930
R=sigmund@google.com

Review URL: https://codereview.chromium.org//421723004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38803 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-31 22:04:31 +00:00

38 lines
1.3 KiB
Dart
Executable File

#!/usr/bin/env dart
// 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 test.run;
import 'package:unittest/compact_vm_config.dart';
import 'package:unittest/unittest.dart';
import 'dart:io' show Options;
import 'builder_test.dart' as builder_test;
import 'end2end_test.dart' as end2end_test;
import 'parser_test.dart' as parser_test;
import 'printer_test.dart' as printer_test;
import 'refactor_test.dart' as refactor_test;
import 'utils_test.dart' as utils_test;
import 'vlq_test.dart' as vlq_test;
main(List<String> arguments) {
var pattern = new RegExp(arguments.length > 0 ? arguments[0] : '.');
useCompactVMConfiguration();
void addGroup(testFile, testMain) {
if (pattern.hasMatch(testFile)) {
group(testFile.replaceAll('_test.dart', ':'), testMain);
}
}
addGroup('builder_test.dart', builder_test.main);
addGroup('end2end_test.dart', end2end_test.main);
addGroup('parser_test.dart', parser_test.main);
addGroup('printer_test.dart', printer_test.main);
addGroup('refactor_test.dart', refactor_test.main);
addGroup('utils_test.dart', utils_test.main);
addGroup('vlq_test.dart', vlq_test.main);
}