Add integration test of textures (#13122)
This commit is contained in:
committed by
GitHub
parent
8ba08718b6
commit
d06482cc79
14
dev/devicelab/bin/tasks/external_ui_integration_test.dart
Normal file
14
dev/devicelab/bin/tasks/external_ui_integration_test.dart
Normal file
@@ -0,0 +1,14 @@
|
||||
// Copyright 2017 The Chromium 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:async';
|
||||
|
||||
import 'package:flutter_devicelab/framework/adb.dart';
|
||||
import 'package:flutter_devicelab/framework/framework.dart';
|
||||
import 'package:flutter_devicelab/tasks/integration_tests.dart';
|
||||
|
||||
Future<Null> main() async {
|
||||
deviceOperatingSystem = DeviceOperatingSystem.android;
|
||||
await task(createExternalUiIntegrationTest());
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
// Copyright 2017 The Chromium 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:async';
|
||||
|
||||
import 'package:flutter_devicelab/framework/adb.dart';
|
||||
import 'package:flutter_devicelab/framework/framework.dart';
|
||||
import 'package:flutter_devicelab/tasks/integration_tests.dart';
|
||||
|
||||
Future<Null> main() async {
|
||||
deviceOperatingSystem = DeviceOperatingSystem.ios;
|
||||
await task(createExternalUiIntegrationTest());
|
||||
}
|
||||
@@ -31,6 +31,13 @@ TaskFunction createFlavorsTest() {
|
||||
);
|
||||
}
|
||||
|
||||
TaskFunction createExternalUiIntegrationTest() {
|
||||
return new DriverTest(
|
||||
'${flutterDirectory.path}/dev/integration_tests/external_ui',
|
||||
'lib/main.dart',
|
||||
);
|
||||
}
|
||||
|
||||
TaskFunction createPlatformChannelSampleTest() {
|
||||
return new DriverTest(
|
||||
'${flutterDirectory.path}/examples/platform_channel',
|
||||
|
||||
@@ -71,6 +71,13 @@ tasks:
|
||||
stage: devicelab
|
||||
required_agent_capabilities: ["has-android-device"]
|
||||
|
||||
external_ui_integration_test:
|
||||
description: >
|
||||
Checks that external UIs work on Android.
|
||||
stage: devicelab
|
||||
required_agent_capabilities: ["has-android-device"]
|
||||
flaky: true
|
||||
|
||||
platform_interaction_test:
|
||||
description: >
|
||||
Checks platform interaction on Android.
|
||||
@@ -185,6 +192,13 @@ tasks:
|
||||
stage: devicelab_ios
|
||||
required_agent_capabilities: ["has-ios-device"]
|
||||
|
||||
external_ui_integration_test_ios:
|
||||
description: >
|
||||
Checks that external UIs work on iOS.
|
||||
stage: devicelab
|
||||
required_agent_capabilities: ["has-ios-device"]
|
||||
flaky: true
|
||||
|
||||
channels_integration_test_ios:
|
||||
description: >
|
||||
Checks that platform channels work on iOS.
|
||||
|
||||
Reference in New Issue
Block a user