Remove obsolete codegen_integration tests (#86962)
This commit is contained in:
parent
403e92b538
commit
f673c5c58f
@ -1,18 +0,0 @@
|
|||||||
// 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());
|
|
||||||
}
|
|
@ -1,18 +0,0 @@
|
|||||||
// 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() {
|
TaskFunction createIOSPlatformViewTests() {
|
||||||
return DriverTest(
|
return DriverTest(
|
||||||
'${flutterDirectory.path}/dev/integration_tests/ios_platform_view_tests',
|
'${flutterDirectory.path}/dev/integration_tests/ios_platform_view_tests',
|
||||||
@ -142,14 +135,12 @@ class DriverTest {
|
|||||||
this.testDirectory,
|
this.testDirectory,
|
||||||
this.testTarget, {
|
this.testTarget, {
|
||||||
this.extraOptions = const <String>[],
|
this.extraOptions = const <String>[],
|
||||||
this.environment = const <String, String>{},
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
final String testDirectory;
|
final String testDirectory;
|
||||||
final String testTarget;
|
final String testTarget;
|
||||||
final List<String> extraOptions;
|
final List<String> extraOptions;
|
||||||
final Map<String, String> environment;
|
|
||||||
|
|
||||||
Future<TaskResult> call() {
|
Future<TaskResult> call() {
|
||||||
return inDirectory<TaskResult>(testDirectory, () async {
|
return inDirectory<TaskResult>(testDirectory, () async {
|
||||||
@ -167,7 +158,7 @@ class DriverTest {
|
|||||||
deviceId,
|
deviceId,
|
||||||
...extraOptions,
|
...extraOptions,
|
||||||
];
|
];
|
||||||
await flutter('drive', options: options, environment: Map<String, String>.from(environment));
|
await flutter('drive', options: options);
|
||||||
|
|
||||||
return TaskResult.success(null);
|
return TaskResult.success(null);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user