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
28cb43e6
Unverified
Commit
28cb43e6
authored
Jul 12, 2021
by
Darren Austin
Committed by
GitHub
Jul 12, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Migrate core devicelab tasks a-f null safety. (#85996)" (#86268)
This reverts commit
9d3563a8
.
parent
83835436
Changes
58
Hide whitespace changes
Inline
Side-by-side
Showing
58 changed files
with
126 additions
and
10 deletions
+126
-10
analyzer_benchmark.dart
dev/devicelab/bin/tasks/analyzer_benchmark.dart
+2
-0
android_defines_test.dart
dev/devicelab/bin/tasks/android_defines_test.dart
+2
-0
android_engine_dependency_proxy_test.dart
...celab/bin/tasks/android_engine_dependency_proxy_test.dart
+3
-1
android_obfuscate_test.dart
dev/devicelab/bin/tasks/android_obfuscate_test.dart
+2
-0
android_semantics_integration_test.dart
...vicelab/bin/tasks/android_semantics_integration_test.dart
+2
-0
android_stack_size_test.dart
dev/devicelab/bin/tasks/android_stack_size_test.dart
+2
-0
android_view_scroll_perf__timeline_summary.dart
...bin/tasks/android_view_scroll_perf__timeline_summary.dart
+2
-0
animated_image_gc_perf.dart
dev/devicelab/bin/tasks/animated_image_gc_perf.dart
+2
-0
animated_placeholder_perf__e2e_summary.dart
...lab/bin/tasks/animated_placeholder_perf__e2e_summary.dart
+2
-0
animation_with_microtasks_perf_ios__timeline_summary.dart
...animation_with_microtasks_perf_ios__timeline_summary.dart
+2
-0
backdrop_filter_perf__e2e_summary.dart
...evicelab/bin/tasks/backdrop_filter_perf__e2e_summary.dart
+2
-0
backdrop_filter_perf__timeline_summary.dart
...lab/bin/tasks/backdrop_filter_perf__timeline_summary.dart
+2
-0
backdrop_filter_perf_ios__timeline_summary.dart
...bin/tasks/backdrop_filter_perf_ios__timeline_summary.dart
+2
-0
basic_material_app_android__compile.dart
...icelab/bin/tasks/basic_material_app_android__compile.dart
+2
-0
basic_material_app_ios__compile.dart
dev/devicelab/bin/tasks/basic_material_app_ios__compile.dart
+2
-0
basic_material_app_win__compile.dart
dev/devicelab/bin/tasks/basic_material_app_win__compile.dart
+2
-0
build_aar_module_test.dart
dev/devicelab/bin/tasks/build_aar_module_test.dart
+3
-1
build_aar_plugin_test.dart
dev/devicelab/bin/tasks/build_aar_plugin_test.dart
+3
-1
build_ios_framework_module_test.dart
dev/devicelab/bin/tasks/build_ios_framework_module_test.dart
+2
-0
build_mode_test.dart
dev/devicelab/bin/tasks/build_mode_test.dart
+3
-1
channels_integration_test.dart
dev/devicelab/bin/tasks/channels_integration_test.dart
+2
-0
channels_integration_test_ios.dart
dev/devicelab/bin/tasks/channels_integration_test_ios.dart
+2
-0
channels_integration_test_win.dart
dev/devicelab/bin/tasks/channels_integration_test_win.dart
+2
-0
codegen_integration_linux.dart
dev/devicelab/bin/tasks/codegen_integration_linux.dart
+2
-0
codegen_integration_mac.dart
dev/devicelab/bin/tasks/codegen_integration_mac.dart
+2
-0
codegen_integration_win.dart
dev/devicelab/bin/tasks/codegen_integration_win.dart
+2
-0
color_filter_and_fade_perf__e2e_summary.dart
...ab/bin/tasks/color_filter_and_fade_perf__e2e_summary.dart
+2
-0
color_filter_and_fade_perf__timeline_summary.dart
...n/tasks/color_filter_and_fade_perf__timeline_summary.dart
+2
-0
complex_layout__start_up.dart
dev/devicelab/bin/tasks/complex_layout__start_up.dart
+2
-0
complex_layout_android__compile.dart
dev/devicelab/bin/tasks/complex_layout_android__compile.dart
+2
-0
complex_layout_android__scroll_smoothness.dart
.../bin/tasks/complex_layout_android__scroll_smoothness.dart
+2
-0
complex_layout_ios__compile.dart
dev/devicelab/bin/tasks/complex_layout_ios__compile.dart
+2
-0
complex_layout_ios__start_up.dart
dev/devicelab/bin/tasks/complex_layout_ios__start_up.dart
+2
-0
complex_layout_scroll_perf__devtools_memory.dart
...in/tasks/complex_layout_scroll_perf__devtools_memory.dart
+2
-0
complex_layout_scroll_perf__memory.dart
...vicelab/bin/tasks/complex_layout_scroll_perf__memory.dart
+2
-0
complex_layout_scroll_perf__timeline_summary.dart
...n/tasks/complex_layout_scroll_perf__timeline_summary.dart
+2
-0
complex_layout_scroll_perf_ios__timeline_summary.dart
...sks/complex_layout_scroll_perf_ios__timeline_summary.dart
+2
-0
complex_layout_semantics_perf.dart
dev/devicelab/bin/tasks/complex_layout_semantics_perf.dart
+2
-0
complex_layout_win__compile.dart
dev/devicelab/bin/tasks/complex_layout_win__compile.dart
+2
-0
cubic_bezier_perf__e2e_summary.dart
dev/devicelab/bin/tasks/cubic_bezier_perf__e2e_summary.dart
+2
-0
cubic_bezier_perf__timeline_summary.dart
...icelab/bin/tasks/cubic_bezier_perf__timeline_summary.dart
+2
-0
cubic_bezier_perf_sksl_warmup__e2e_summary.dart
...bin/tasks/cubic_bezier_perf_sksl_warmup__e2e_summary.dart
+2
-0
cubic_bezier_perf_sksl_warmup__timeline_summary.dart
...asks/cubic_bezier_perf_sksl_warmup__timeline_summary.dart
+2
-0
cull_opacity_perf__e2e_summary.dart
dev/devicelab/bin/tasks/cull_opacity_perf__e2e_summary.dart
+2
-0
cull_opacity_perf__timeline_summary.dart
...icelab/bin/tasks/cull_opacity_perf__timeline_summary.dart
+2
-0
dart_plugin_registry_test.dart
dev/devicelab/bin/tasks/dart_plugin_registry_test.dart
+2
-0
dartdocs.dart
dev/devicelab/bin/tasks/dartdocs.dart
+2
-0
devtools_profile_start_test.dart
dev/devicelab/bin/tasks/devtools_profile_start_test.dart
+2
-0
drive_perf_debug_warning.dart
dev/devicelab/bin/tasks/drive_perf_debug_warning.dart
+2
-0
embedded_android_views_integration_test.dart
...ab/bin/tasks/embedded_android_views_integration_test.dart
+2
-0
external_ui_integration_test.dart
dev/devicelab/bin/tasks/external_ui_integration_test.dart
+2
-0
external_ui_integration_test_ios.dart
...devicelab/bin/tasks/external_ui_integration_test_ios.dart
+2
-0
fading_child_animation_perf__timeline_summary.dart
.../tasks/fading_child_animation_perf__timeline_summary.dart
+2
-0
fast_scroll_heavy_gridview__memory.dart
...vicelab/bin/tasks/fast_scroll_heavy_gridview__memory.dart
+6
-4
fast_scroll_large_images__memory.dart
...devicelab/bin/tasks/fast_scroll_large_images__memory.dart
+4
-2
flavors_test.dart
dev/devicelab/bin/tasks/flavors_test.dart
+2
-0
flavors_test_ios.dart
dev/devicelab/bin/tasks/flavors_test_ios.dart
+2
-0
flavors_test_win.dart
dev/devicelab/bin/tasks/flavors_test_win.dart
+2
-0
No files found.
dev/devicelab/bin/tasks/analyzer_benchmark.dart
View file @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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'
;
...
...
@@ -18,7 +20,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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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'
;
...
...
@@ -22,7 +24,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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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'
;
...
...
@@ -18,7 +20,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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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'
;
...
...
@@ -23,7 +25,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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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'
;
...
...
@@ -18,7 +20,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
;
...
...
@@ -27,11 +29,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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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'
;
...
...
@@ -18,7 +20,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
;
...
...
@@ -27,7 +29,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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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 @
28cb43e6
...
...
@@ -2,6 +2,8 @@
// 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