blob: ec6377413c916e62a52ce488f8d1e14ddf7fd45b [file] [log] [blame]
// Copyright (c) 2016, 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 options_helper;
import 'package:compiler/src/options.dart';
export 'package:compiler/src/options.dart';
class MockDiagnosticOptions implements DiagnosticOptions {
const MockDiagnosticOptions();
bool get fatalWarnings => false;
bool get terseDiagnostics => false;
bool get suppressWarnings => false;
bool get suppressHints => false;
bool get showAllPackageWarnings => false;
bool get hidePackageWarnings => true;
bool showPackageWarningsFor(Uri uri) => false;
}