Add integration test of textures (#13122)

This commit is contained in:
Mikkel Nygaard Ravn
2017-11-22 14:16:25 +01:00
committed by GitHub
parent 8ba08718b6
commit d06482cc79
31 changed files with 1361 additions and 0 deletions

View 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());
}

View 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.ios;
await task(createExternalUiIntegrationTest());
}

View File

@@ -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',

View File

@@ -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.