[flutter_tool] Reland: support --fast-start for Android applications (as an opt-in) (#46140)
This commit is contained in:
16
examples/splash/test/splash_test.dart
Normal file
16
examples/splash/test/splash_test.dart
Normal file
@@ -0,0 +1,16 @@
|
||||
// Copyright 2014 The Flutter 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 'package:flutter/material.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
||||
import 'package:splash/main.dart' as entrypoint;
|
||||
|
||||
void main() {
|
||||
testWidgets('Displays flutter logo', (WidgetTester tester) async {
|
||||
entrypoint.main();
|
||||
|
||||
expect(find.byType(FlutterLogo), findsOneWidget);
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user