Migrate some benchmarks to NNBD (#75023)

This commit is contained in:
Michael Goderbauer
2021-01-29 18:21:04 -08:00
committed by GitHub
parent 87b043658b
commit 49de01c928
7 changed files with 21 additions and 28 deletions

View File

@@ -7,7 +7,7 @@ import 'package:test/test.dart' hide TypeMatcher, isInstanceOf;
void main() {
group('scrolling performance test', () {
FlutterDriver driver;
late FlutterDriver driver;
setUpAll(() async {
driver = await FlutterDriver.connect();
@@ -16,8 +16,7 @@ void main() {
});
tearDownAll(() async {
if (driver != null)
driver.close();
driver.close();
});
Future<void> testScrollPerf(String listKey, String summaryName) async {