Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
f6e5227b
Unverified
Commit
f6e5227b
authored
Jul 13, 2021
by
Darren Austin
Committed by
GitHub
Jul 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate the first 3rd of the devicelab tasks to null safety. (#86374)
parent
0c810775
Changes
58
Hide whitespace changes
Inline
Side-by-side
Showing
58 changed files
with
10 additions
and
126 deletions
+10
-126
analyzer_benchmark.dart
dev/devicelab/bin/tasks/analyzer_benchmark.dart
+0
-2
android_defines_test.dart
dev/devicelab/bin/tasks/android_defines_test.dart
+0
-2
android_engine_dependency_proxy_test.dart
...celab/bin/tasks/android_engine_dependency_proxy_test.dart
+1
-3
android_obfuscate_test.dart
dev/devicelab/bin/tasks/android_obfuscate_test.dart
+0
-2
android_semantics_integration_test.dart
...vicelab/bin/tasks/android_semantics_integration_test.dart
+0
-2
android_stack_size_test.dart
dev/devicelab/bin/tasks/android_stack_size_test.dart
+0
-2
android_view_scroll_perf__timeline_summary.dart
...bin/tasks/android_view_scroll_perf__timeline_summary.dart
+0
-2
animated_image_gc_perf.dart
dev/devicelab/bin/tasks/animated_image_gc_perf.dart
+0
-2
animated_placeholder_perf__e2e_summary.dart
...lab/bin/tasks/animated_placeholder_perf__e2e_summary.dart
+0
-2
animation_with_microtasks_perf_ios__timeline_summary.dart
...animation_with_microtasks_perf_ios__timeline_summary.dart
+0
-2
backdrop_filter_perf__e2e_summary.dart
...evicelab/bin/tasks/backdrop_filter_perf__e2e_summary.dart
+0
-2
backdrop_filter_perf__timeline_summary.dart
...lab/bin/tasks/backdrop_filter_perf__timeline_summary.dart
+0
-2
backdrop_filter_perf_ios__timeline_summary.dart
...bin/tasks/backdrop_filter_perf_ios__timeline_summary.dart
+0
-2
basic_material_app_android__compile.dart
...icelab/bin/tasks/basic_material_app_android__compile.dart
+0
-2
basic_material_app_ios__compile.dart
dev/devicelab/bin/tasks/basic_material_app_ios__compile.dart
+0
-2
basic_material_app_win__compile.dart
dev/devicelab/bin/tasks/basic_material_app_win__compile.dart
+0
-2
build_aar_module_test.dart
dev/devicelab/bin/tasks/build_aar_module_test.dart
+1
-3
build_aar_plugin_test.dart
dev/devicelab/bin/tasks/build_aar_plugin_test.dart
+1
-3
build_ios_framework_module_test.dart
dev/devicelab/bin/tasks/build_ios_framework_module_test.dart
+0
-2
build_mode_test.dart
dev/devicelab/bin/tasks/build_mode_test.dart
+1
-3
channels_integration_test.dart
dev/devicelab/bin/tasks/channels_integration_test.dart
+0
-2
channels_integration_test_ios.dart
dev/devicelab/bin/tasks/channels_integration_test_ios.dart
+0
-2
channels_integration_test_win.dart
dev/devicelab/bin/tasks/channels_integration_test_win.dart
+0
-2
codegen_integration_linux.dart
dev/devicelab/bin/tasks/codegen_integration_linux.dart
+0
-2
codegen_integration_mac.dart
dev/devicelab/bin/tasks/codegen_integration_mac.dart
+0
-2
codegen_integration_win.dart
dev/devicelab/bin/tasks/codegen_integration_win.dart
+0
-2
color_filter_and_fade_perf__e2e_summary.dart
...ab/bin/tasks/color_filter_and_fade_perf__e2e_summary.dart
+0
-2
color_filter_and_fade_perf__timeline_summary.dart
...n/tasks/color_filter_and_fade_perf__timeline_summary.dart
+0
-2
complex_layout__start_up.dart
dev/devicelab/bin/tasks/complex_layout__start_up.dart
+0
-2
complex_layout_android__compile.dart
dev/devicelab/bin/tasks/complex_layout_android__compile.dart
+0
-2
complex_layout_android__scroll_smoothness.dart
.../bin/tasks/complex_layout_android__scroll_smoothness.dart
+0
-2
complex_layout_ios__compile.dart
dev/devicelab/bin/tasks/complex_layout_ios__compile.dart
+0
-2
complex_layout_ios__start_up.dart
dev/devicelab/bin/tasks/complex_layout_ios__start_up.dart
+0
-2
complex_layout_scroll_perf__devtools_memory.dart
...in/tasks/complex_layout_scroll_perf__devtools_memory.dart
+0
-2
complex_layout_scroll_perf__memory.dart
...vicelab/bin/tasks/complex_layout_scroll_perf__memory.dart
+0
-2
complex_layout_scroll_perf__timeline_summary.dart
...n/tasks/complex_layout_scroll_perf__timeline_summary.dart
+0
-2
complex_layout_scroll_perf_ios__timeline_summary.dart
...sks/complex_layout_scroll_perf_ios__timeline_summary.dart
+0
-2
complex_layout_semantics_perf.dart
dev/devicelab/bin/tasks/complex_layout_semantics_perf.dart
+0
-2
complex_layout_win__compile.dart
dev/devicelab/bin/tasks/complex_layout_win__compile.dart
+0
-2
cubic_bezier_perf__e2e_summary.dart
dev/devicelab/bin/tasks/cubic_bezier_perf__e2e_summary.dart
+0
-2
cubic_bezier_perf__timeline_summary.dart
...icelab/bin/tasks/cubic_bezier_perf__timeline_summary.dart
+0
-2
cubic_bezier_perf_sksl_warmup__e2e_summary.dart
...bin/tasks/cubic_bezier_perf_sksl_warmup__e2e_summary.dart
+0
-2
cubic_bezier_perf_sksl_warmup__timeline_summary.dart
...asks/cubic_bezier_perf_sksl_warmup__timeline_summary.dart
+0
-2
cull_opacity_perf__e2e_summary.dart
dev/devicelab/bin/tasks/cull_opacity_perf__e2e_summary.dart
+0
-2
cull_opacity_perf__timeline_summary.dart
...icelab/bin/tasks/cull_opacity_perf__timeline_summary.dart
+0
-2
dart_plugin_registry_test.dart
dev/devicelab/bin/tasks/dart_plugin_registry_test.dart
+0
-2
dartdocs.dart
dev/devicelab/bin/tasks/dartdocs.dart
+0
-2
devtools_profile_start_test.dart
dev/devicelab/bin/tasks/devtools_profile_start_test.dart
+0
-2
drive_perf_debug_warning.dart
dev/devicelab/bin/tasks/drive_perf_debug_warning.dart
+0
-2
embedded_android_views_integration_test.dart
...ab/bin/tasks/embedded_android_views_integration_test.dart
+0
-2
external_ui_integration_test.dart
dev/devicelab/bin/tasks/external_ui_integration_test.dart
+0
-2
external_ui_integration_test_ios.dart
...devicelab/bin/tasks/external_ui_integration_test_ios.dart
+0
-2
fading_child_animation_perf__timeline_summary.dart
.../tasks/fading_child_animation_perf__timeline_summary.dart
+0
-2
fast_scroll_heavy_gridview__memory.dart
...vicelab/bin/tasks/fast_scroll_heavy_gridview__memory.dart
+4
-6
fast_scroll_large_images__memory.dart
...devicelab/bin/tasks/fast_scroll_large_images__memory.dart
+2
-4
flavors_test.dart
dev/devicelab/bin/tasks/flavors_test.dart
+0
-2
flavors_test_ios.dart
dev/devicelab/bin/tasks/flavors_test_ios.dart
+0
-2
flavors_test_win.dart
dev/devicelab/bin/tasks/flavors_test_win.dart
+0
-2
No files found.
dev/devicelab/bin/tasks/analyzer_benchmark.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/analysis.dart'
;
...
...
dev/devicelab/bin/tasks/android_defines_test.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/integration_tests.dart'
;
...
...
dev/devicelab/bin/tasks/android_engine_dependency_proxy_test.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'dart:io'
;
import
'package:flutter_devicelab/framework/apk_utils.dart'
;
...
...
@@ -20,7 +18,7 @@ Future<void> main() async {
await
task
(()
async
{
section
(
'Find Java'
);
final
String
javaHome
=
await
findJavaHome
();
final
String
?
javaHome
=
await
findJavaHome
();
if
(
javaHome
==
null
)
return
TaskResult
.
failure
(
'Could not find Java'
);
print
(
'
\n
Using JAVA_HOME=
$javaHome
'
);
...
...
dev/devicelab/bin/tasks/android_obfuscate_test.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/apk_utils.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/framework/task_result.dart'
;
...
...
dev/devicelab/bin/tasks/android_semantics_integration_test.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/integration_tests.dart'
;
...
...
dev/devicelab/bin/tasks/android_stack_size_test.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/perf_tests.dart'
;
...
...
dev/devicelab/bin/tasks/android_view_scroll_perf__timeline_summary.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/perf_tests.dart'
;
...
...
dev/devicelab/bin/tasks/animated_image_gc_perf.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/framework/utils.dart'
;
...
...
dev/devicelab/bin/tasks/animated_placeholder_perf__e2e_summary.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'dart:async'
;
import
'package:flutter_devicelab/framework/devices.dart'
;
...
...
dev/devicelab/bin/tasks/animation_with_microtasks_perf_ios__timeline_summary.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/perf_tests.dart'
;
...
...
dev/devicelab/bin/tasks/backdrop_filter_perf__e2e_summary.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'dart:async'
;
import
'package:flutter_devicelab/framework/devices.dart'
;
...
...
dev/devicelab/bin/tasks/backdrop_filter_perf__timeline_summary.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/perf_tests.dart'
;
...
...
dev/devicelab/bin/tasks/backdrop_filter_perf_ios__timeline_summary.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/perf_tests.dart'
;
...
...
dev/devicelab/bin/tasks/basic_material_app_android__compile.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/perf_tests.dart'
;
...
...
dev/devicelab/bin/tasks/basic_material_app_ios__compile.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/perf_tests.dart'
;
...
...
dev/devicelab/bin/tasks/basic_material_app_win__compile.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/perf_tests.dart'
;
...
...
dev/devicelab/bin/tasks/build_aar_module_test.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'dart:io'
;
import
'package:flutter_devicelab/framework/apk_utils.dart'
;
...
...
@@ -24,7 +22,7 @@ Future<void> main() async {
section
(
'Find Java'
);
final
String
javaHome
=
await
findJavaHome
();
final
String
?
javaHome
=
await
findJavaHome
();
if
(
javaHome
==
null
)
return
TaskResult
.
failure
(
'Could not find Java'
);
print
(
'
\n
Using JAVA_HOME=
$javaHome
'
);
...
...
dev/devicelab/bin/tasks/build_aar_plugin_test.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'dart:io'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
...
...
@@ -20,7 +18,7 @@ Future<void> main() async {
section
(
'Find Java'
);
final
String
javaHome
=
await
findJavaHome
();
final
String
?
javaHome
=
await
findJavaHome
();
if
(
javaHome
==
null
)
return
TaskResult
.
failure
(
'Could not find Java'
);
print
(
'
\n
Using JAVA_HOME=
$javaHome
'
);
...
...
dev/devicelab/bin/tasks/build_ios_framework_module_test.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'dart:io'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
...
...
dev/devicelab/bin/tasks/build_mode_test.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'dart:async'
;
import
'dart:convert'
;
import
'dart:io'
;
...
...
@@ -25,7 +23,7 @@ Future<String> runFlutterAndQuit(List<String> args, Device device) async {
);
final
List
<
String
>
stdout
=
<
String
>[];
final
List
<
String
>
stderr
=
<
String
>[];
int
runExitCode
;
int
?
runExitCode
;
run
.
stdout
.
transform
<
String
>(
utf8
.
decoder
).
transform
<
String
>(
const
LineSplitter
()).
listen
(
(
String
line
)
{
print
(
'run:stdout:
$line
'
);
...
...
dev/devicelab/bin/tasks/channels_integration_test.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/integration_tests.dart'
;
...
...
dev/devicelab/bin/tasks/channels_integration_test_ios.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/integration_tests.dart'
;
...
...
dev/devicelab/bin/tasks/channels_integration_test_win.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/integration_tests.dart'
;
...
...
dev/devicelab/bin/tasks/codegen_integration_linux.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'dart:io'
;
import
'package:flutter_devicelab/framework/devices.dart'
;
...
...
dev/devicelab/bin/tasks/codegen_integration_mac.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'dart:io'
;
import
'package:flutter_devicelab/framework/devices.dart'
;
...
...
dev/devicelab/bin/tasks/codegen_integration_win.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'dart:io'
;
import
'package:flutter_devicelab/framework/devices.dart'
;
...
...
dev/devicelab/bin/tasks/color_filter_and_fade_perf__e2e_summary.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'dart:async'
;
import
'package:flutter_devicelab/framework/devices.dart'
;
...
...
dev/devicelab/bin/tasks/color_filter_and_fade_perf__timeline_summary.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/perf_tests.dart'
;
...
...
dev/devicelab/bin/tasks/complex_layout__start_up.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/perf_tests.dart'
;
...
...
dev/devicelab/bin/tasks/complex_layout_android__compile.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/perf_tests.dart'
;
...
...
dev/devicelab/bin/tasks/complex_layout_android__scroll_smoothness.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'dart:async'
;
import
'package:flutter_devicelab/framework/devices.dart'
;
...
...
dev/devicelab/bin/tasks/complex_layout_ios__compile.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/perf_tests.dart'
;
...
...
dev/devicelab/bin/tasks/complex_layout_ios__start_up.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/perf_tests.dart'
;
...
...
dev/devicelab/bin/tasks/complex_layout_scroll_perf__devtools_memory.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/framework/utils.dart'
;
...
...
dev/devicelab/bin/tasks/complex_layout_scroll_perf__memory.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/framework/utils.dart'
;
...
...
dev/devicelab/bin/tasks/complex_layout_scroll_perf__timeline_summary.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/perf_tests.dart'
;
...
...
dev/devicelab/bin/tasks/complex_layout_scroll_perf_ios__timeline_summary.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/perf_tests.dart'
;
...
...
dev/devicelab/bin/tasks/complex_layout_semantics_perf.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'dart:io'
;
import
'package:flutter_devicelab/framework/devices.dart'
;
...
...
dev/devicelab/bin/tasks/complex_layout_win__compile.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/perf_tests.dart'
;
...
...
dev/devicelab/bin/tasks/cubic_bezier_perf__e2e_summary.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'dart:async'
;
import
'package:flutter_devicelab/framework/devices.dart'
;
...
...
dev/devicelab/bin/tasks/cubic_bezier_perf__timeline_summary.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/perf_tests.dart'
;
...
...
dev/devicelab/bin/tasks/cubic_bezier_perf_sksl_warmup__e2e_summary.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'dart:async'
;
import
'package:flutter_devicelab/framework/devices.dart'
;
...
...
dev/devicelab/bin/tasks/cubic_bezier_perf_sksl_warmup__timeline_summary.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/perf_tests.dart'
;
...
...
dev/devicelab/bin/tasks/cull_opacity_perf__e2e_summary.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/perf_tests.dart'
;
...
...
dev/devicelab/bin/tasks/cull_opacity_perf__timeline_summary.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/perf_tests.dart'
;
...
...
dev/devicelab/bin/tasks/dart_plugin_registry_test.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/dart_plugin_registry_tests.dart'
;
...
...
dev/devicelab/bin/tasks/dartdocs.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/framework/task_result.dart'
;
...
...
dev/devicelab/bin/tasks/devtools_profile_start_test.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/framework/utils.dart'
;
...
...
dev/devicelab/bin/tasks/drive_perf_debug_warning.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/framework/task_result.dart'
;
...
...
dev/devicelab/bin/tasks/embedded_android_views_integration_test.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/integration_tests.dart'
;
...
...
dev/devicelab/bin/tasks/external_ui_integration_test.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/integration_tests.dart'
;
...
...
dev/devicelab/bin/tasks/external_ui_integration_test_ios.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/integration_tests.dart'
;
...
...
dev/devicelab/bin/tasks/fading_child_animation_perf__timeline_summary.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/perf_tests.dart'
;
...
...
dev/devicelab/bin/tasks/fast_scroll_heavy_gridview__memory.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/framework/utils.dart'
;
...
...
@@ -20,7 +18,7 @@ class FastScrollHeavyGridViewMemoryTest extends MemoryTest {
);
@override
AndroidDevice
get
device
=>
super
.
device
as
AndroidDevice
;
AndroidDevice
?
get
device
=>
super
.
device
as
AndroidDevice
?
;
@override
int
get
iterationCount
=>
5
;
...
...
@@ -29,11 +27,11 @@ class FastScrollHeavyGridViewMemoryTest extends MemoryTest {
Future
<
void
>
useMemory
()
async
{
await
launchApp
();
await
recordStart
();
await
device
.
shellExec
(
'input'
,
<
String
>[
'swipe'
,
'50 1500 50 50 50'
]);
await
device
!
.
shellExec
(
'input'
,
<
String
>[
'swipe'
,
'50 1500 50 50 50'
]);
await
Future
<
void
>.
delayed
(
const
Duration
(
milliseconds:
1500
));
await
device
.
shellExec
(
'input'
,
<
String
>[
'swipe'
,
'50 1500 50 50 50'
]);
await
device
!
.
shellExec
(
'input'
,
<
String
>[
'swipe'
,
'50 1500 50 50 50'
]);
await
Future
<
void
>.
delayed
(
const
Duration
(
milliseconds:
1500
));
await
device
.
shellExec
(
'input'
,
<
String
>[
'swipe'
,
'50 1500 50 50 50'
]);
await
device
!
.
shellExec
(
'input'
,
<
String
>[
'swipe'
,
'50 1500 50 50 50'
]);
await
Future
<
void
>.
delayed
(
const
Duration
(
milliseconds:
1500
));
await
recordEnd
();
}
...
...
dev/devicelab/bin/tasks/fast_scroll_large_images__memory.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/framework/utils.dart'
;
...
...
@@ -20,7 +18,7 @@ class FastScrollLargeImagesMemoryTest extends MemoryTest {
);
@override
AndroidDevice
get
device
=>
super
.
device
as
AndroidDevice
;
AndroidDevice
?
get
device
=>
super
.
device
as
AndroidDevice
?
;
@override
int
get
iterationCount
=>
5
;
...
...
@@ -29,7 +27,7 @@ class FastScrollLargeImagesMemoryTest extends MemoryTest {
Future
<
void
>
useMemory
()
async
{
await
launchApp
();
await
recordStart
();
await
device
.
shellExec
(
'input'
,
<
String
>[
'swipe'
,
'0 1500 0 0 50'
]);
await
device
!
.
shellExec
(
'input'
,
<
String
>[
'swipe'
,
'0 1500 0 0 50'
]);
await
Future
<
void
>.
delayed
(
const
Duration
(
milliseconds:
15000
));
await
recordEnd
();
}
...
...
dev/devicelab/bin/tasks/flavors_test.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/integration_tests.dart'
;
...
...
dev/devicelab/bin/tasks/flavors_test_ios.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/integration_tests.dart'
;
...
...
dev/devicelab/bin/tasks/flavors_test_win.dart
View file @
f6e5227b
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/tasks/integration_tests.dart'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment