From d3c3dde1b6e9cf60d6bed383cd3c2474c4f3ec4c Mon Sep 17 00:00:00 2001 From: stuartmorgan Date: Mon, 15 May 2023 10:55:55 -0700 Subject: [PATCH] Remove duplicate plugin tests (#126582) 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 --- dev/devicelab/bin/tasks/plugin_test.dart | 7 ------- 1 file changed, 7 deletions(-) diff --git a/dev/devicelab/bin/tasks/plugin_test.dart b/dev/devicelab/bin/tasks/plugin_test.dart index 32bc631757..ad6cd86e13 100644 --- a/dev/devicelab/bin/tasks/plugin_test.dart +++ b/dev/devicelab/bin/tasks/plugin_test.dart @@ -9,13 +9,6 @@ Future main() async { await task(combine([ PluginTest('apk', ['-a', 'java', '--platforms=android']).call, PluginTest('apk', ['-a', 'kotlin', '--platforms=android']).call, - // These create the plugins using the new v2 plugin templates but create the - // apps using the old v1 embedding app templates to make sure new plugins - // are by default backward compatible. - PluginTest('apk', ['-a', 'java', '--platforms=android'], pluginCreateEnvironment: - {'ENABLE_ANDROID_EMBEDDING_V2': 'true'}).call, - PluginTest('apk', ['-a', 'kotlin', '--platforms=android'], pluginCreateEnvironment: - {'ENABLE_ANDROID_EMBEDDING_V2': 'true'}).call, // Test that Dart-only plugins are supported. PluginTest('apk', ['--platforms=android'], dartOnlyPlugin: true).call, // Test that FFI plugins are supported.