mirror of
https://github.com/flutter/flutter
synced 2024-08-25 11:07:06 +00:00
![stuartmorgan](/assets/img/avatar_default.png)
Removes two plugin tests that aren't actually doing anything useful. When they were added they were testing v2-embedding plugins in a v1-embedding app, but support for creating v1-embedding apps--and the environment variable that these tests were using to, in theory, trigger them--was removed several years ago in #61203. That means that these tests are in practice exact duplicates of the copies just above without the ennvironment variables. Fixes https://github.com/flutter/flutter/issues/122200
18 lines
775 B
Dart
18 lines
775 B
Dart
// Copyright 2014 The Flutter Authors. 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:flutter_devicelab/framework/framework.dart';
|
|
import 'package:flutter_devicelab/tasks/plugin_tests.dart';
|
|
|
|
Future<void> main() async {
|
|
await task(combine(<TaskFunction>[
|
|
PluginTest('apk', <String>['-a', 'java', '--platforms=android']).call,
|
|
PluginTest('apk', <String>['-a', 'kotlin', '--platforms=android']).call,
|
|
// Test that Dart-only plugins are supported.
|
|
PluginTest('apk', <String>['--platforms=android'], dartOnlyPlugin: true).call,
|
|
// Test that FFI plugins are supported.
|
|
PluginTest('apk', <String>['--platforms=android'], template: 'plugin_ffi').call,
|
|
]));
|
|
}
|