| // Copyright (c) 2018, 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:test_api/src/backend/compiler.dart'; // ignore: implementation_imports |
| import 'package:test_api/src/backend/runtime.dart'; // ignore: implementation_imports |
| import 'package:test_api/src/backend/suite_platform.dart'; // ignore: implementation_imports |
| |
| SuitePlatform currentPlatform(Runtime runtime, Compiler? compiler) => |
| throw UnsupportedError( |
| 'Getting the current platform is only supported where dart:io exists'); |