| // Copyright 2019 The Flutter team. 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_test/flutter_test.dart'; | |
| import 'package:gallery/main.dart'; | |
| void main() { | |
| testWidgets('Smoke test', (tester) async { | |
| await tester.pumpWidget(const GalleryApp()); | |
| await tester.pumpAndSettle(); | |
| expect(find.text('Gallery'), findsOneWidget); | |
| }); | |
| } |