/
Kryuchok
/
flutter
Обзор
Документация
Войти
/
Kryuchok
/
flutter
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
dev/devicelab/bin/tasks/plugin_test_ios.dart
26 строк
1 KB
Elijah Okoroh
Add shared Darwin implementation for plugins (#176495)
27 ноя 2025, 02:00
Не верифицирован
27 ноя 2025, 02:00
0b191ba
Код
Авторство
О чём код?
// 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('ios', <String>['--platforms=ios']).call, // Test that app builds with Flutter as a transitive dependency. PluginTest('ios', <String>[ '--platforms=ios', ], cocoapodsTransitiveFlutterDependency: true).call, // Test that Dart-only plugins are supported. PluginTest('ios', <String>['--platforms=ios'], dartOnlyPlugin: true).call, // Test that shared darwin directories are supported. PluginTest('ios', <String>['--platforms=ios,macos'], sharedDarwinSource: true).call, // Test that FFI plugins are supported. PluginTest('ios', <String>['--platforms=ios'], template: 'plugin_ffi').call, // Test that plugins support the darwin platform. PluginTest('ios', <String>['--platforms=darwin']).call, ]), ); }