Unverified Commit f673c5c5 authored by Jenn Magder's avatar Jenn Magder Committed by GitHub

Remove obsolete codegen_integration tests (#86962)

parent 403e92b5
// 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 'dart:io';
import 'package:flutter_devicelab/framework/devices.dart';
import 'package:flutter_devicelab/framework/framework.dart';
import 'package:flutter_devicelab/framework/utils.dart';
import 'package:flutter_devicelab/tasks/integration_tests.dart';
import 'package:path/path.dart' as path;
final Directory codegenAppPath = dir(path.join(flutterDirectory.path, 'dev/integration_tests/codegen'));
Future<void> main() async {
deviceOperatingSystem = DeviceOperatingSystem.android;
await task(createCodegenerationIntegrationTest());
}
// 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 'dart:io';
import 'package:flutter_devicelab/framework/devices.dart';
import 'package:flutter_devicelab/framework/framework.dart';
import 'package:flutter_devicelab/framework/utils.dart';
import 'package:flutter_devicelab/tasks/integration_tests.dart';
import 'package:path/path.dart' as path;
final Directory codegenAppPath = dir(path.join(flutterDirectory.path, 'dev/integration_tests/codegen'));
Future<void> main() async {
deviceOperatingSystem = DeviceOperatingSystem.ios;
await task(createCodegenerationIntegrationTest());
}
......@@ -71,13 +71,6 @@ TaskFunction createAndroidSemanticsIntegrationTest() {
);
}
TaskFunction createCodegenerationIntegrationTest() {
return DriverTest(
'${flutterDirectory.path}/dev/integration_tests/codegen',
'lib/main.dart',
);
}
TaskFunction createIOSPlatformViewTests() {
return DriverTest(
'${flutterDirectory.path}/dev/integration_tests/ios_platform_view_tests',
......@@ -142,14 +135,12 @@ class DriverTest {
this.testDirectory,
this.testTarget, {
this.extraOptions = const <String>[],
this.environment = const <String, String>{},
}
);
final String testDirectory;
final String testTarget;
final List<String> extraOptions;
final Map<String, String> environment;
Future<TaskResult> call() {
return inDirectory<TaskResult>(testDirectory, () async {
......@@ -167,7 +158,7 @@ class DriverTest {
deviceId,
...extraOptions,
];
await flutter('drive', options: options, environment: Map<String, String>.from(environment));
await flutter('drive', options: options);
return TaskResult.success(null);
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment