• stuartmorgan's avatar
    Remove duplicate plugin tests (#126582) · d3c3dde1
    stuartmorgan authored
    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
    Unverified
    d3c3dde1
plugin_test.dart 775 Bytes
// 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,
  ]));
}