| // Copyright 2019, the Chromium project authors. Please see the AUTHORS file |
| // for details. 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:share/share.dart'; |
| import 'package:e2e/e2e.dart'; |
| |
| void main() { |
| E2EWidgetsFlutterBinding.ensureInitialized(); |
| |
| testWidgets('Can launch share', (WidgetTester tester) async { |
| expect(Share.share('message', subject: 'title'), completes); |
| }); |
| } |