blob: b098f0e2e32bc44f6afbd8d018007ba47a7f5cff [file] [log] [blame] [edit]
// Copyright (c) 2026, 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.
import 'package:dart_runtime_service/dart_runtime_service.dart';
import 'package:test/fake.dart';
/// Fake implementation of [DartRuntimeServiceBackend] that throws when
/// accessed.
///
/// Use when testing functionality of [DartRuntimeService] that does not require
/// a backend implementation.
base class FakeDartRuntimeServiceBackend extends Fake
implements DartRuntimeServiceBackend {
@override
Future<void> shutdown() async {}
}