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

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

Issue 1864433004: Repeats and fixes the changes landed & reverted as CL 1789553003. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updates to external dependents Created 4 years, 8 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
« no previous file with comments | « tests/compiler/dart2js/mock_compiler.dart ('k') | tests/compiler/dart2js/parser_helper.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
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.
4
5 library options_helper;
6
7 import 'package:compiler/src/options.dart';
8 export 'package:compiler/src/options.dart';
9
10 class MockDiagnosticOptions implements DiagnosticOptions {
11 const MockDiagnosticOptions();
12
13 bool get fatalWarnings => false;
14 bool get terseDiagnostics => false;
15 bool get suppressWarnings => false;
16 bool get suppressHints => false;
17 bool get showAllPackageWarnings => false;
18 bool get hidePackageWarnings => true;
19 bool showPackageWarningsFor(Uri uri) => false;
20 }
21
22 class MockParserOptions implements ParserOptions {
23 bool get enableConditionalDirectives => true;
24 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/mock_compiler.dart ('k') | tests/compiler/dart2js/parser_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698