Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: tests/compiler/dart2js/import_mirrors_test.dart

Issue 1562023002: Add test of unittests. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // Test that the compiler emits a warning on import of 'dart:mirrors' unless 5 // Test that the compiler emits a warning on import of 'dart:mirrors' unless
6 // the flag --enable-experimental-mirrors is used. 6 // the flag --enable-experimental-mirrors is used.
7 7
8 library dart2js.test.import; 8 library dart2js.test.import_mirrors;
9 9
10 import 'dart:async'; 10 import 'dart:async';
11 import 'package:expect/expect.dart'; 11 import 'package:expect/expect.dart';
12 import 'package:async_helper/async_helper.dart'; 12 import 'package:async_helper/async_helper.dart';
13 import 'package:compiler/src/diagnostics/messages.dart' show 13 import 'package:compiler/src/diagnostics/messages.dart' show
14 MessageKind, 14 MessageKind,
15 MessageTemplate; 15 MessageTemplate;
16 import 'memory_compiler.dart'; 16 import 'memory_compiler.dart';
17 17
18 const DIRECT_IMPORT = const { 18 const DIRECT_IMPORT = const {
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 DUAL_INDIRECT_IMPORT3, 408 DUAL_INDIRECT_IMPORT3,
409 DUAL_INDIRECT_PACKAGE_IMPORT1, 409 DUAL_INDIRECT_PACKAGE_IMPORT1,
410 DIRECT_EXPORT, 410 DIRECT_EXPORT,
411 INDIRECT_EXPORT1, 411 INDIRECT_EXPORT1,
412 INDIRECT_EXPORT2, 412 INDIRECT_EXPORT2,
413 INDIRECT_PACKAGE_EXPORT1, 413 INDIRECT_PACKAGE_EXPORT1,
414 INDIRECT_PACKAGE_EXPORT2], 414 INDIRECT_PACKAGE_EXPORT2],
415 (map) => checkPaths(map) 415 (map) => checkPaths(map)
416 )); 416 ));
417 } 417 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698