diff options
| author | Akshay Nair <phenax5@gmail.com> | 2020-06-02 19:03:52 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2020-06-02 19:03:52 +0530 |
| commit | fb1a274bc9b16650d6a85761ad236b90cdbfd41a (patch) | |
| tree | 3708c1971d99efedf697208a2665e128df12a4cd /test/widget_test.dart | |
| parent | 08c52d1b09eaf78a0fdba9d808ed1669430b34f6 (diff) | |
| download | daft-launcher-fb1a274bc9b16650d6a85761ad236b90cdbfd41a.tar.gz daft-launcher-fb1a274bc9b16650d6a85761ad236b90cdbfd41a.zip | |
Adds timer stream to home page
Diffstat (limited to 'test/widget_test.dart')
| -rw-r--r-- | test/widget_test.dart | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/test/widget_test.dart b/test/widget_test.dart deleted file mode 100644 index 266b80d..0000000 --- a/test/widget_test.dart +++ /dev/null @@ -1,30 +0,0 @@ -// This is a basic Flutter widget test. -// -// To perform an interaction with a widget in your test, use the WidgetTester -// utility that Flutter provides. For example, you can send tap and scroll -// gestures. You can also use WidgetTester to find child widgets in the widget -// tree, read text, and verify that the values of widget properties are correct. - -import 'package:flutter/material.dart'; -import 'package:flutter_test/flutter_test.dart'; - -import 'package:owyn/main.dart'; - -void main() { - testWidgets('Counter increments smoke test', (WidgetTester tester) async { - // Build our app and trigger a frame. - await tester.pumpWidget(MyApp()); - - // Verify that our counter starts at 0. - expect(find.text('0'), findsOneWidget); - expect(find.text('1'), findsNothing); - - // Tap the '+' icon and trigger a frame. - await tester.tap(find.byIcon(Icons.add)); - await tester.pump(); - - // Verify that our counter has incremented. - expect(find.text('0'), findsNothing); - expect(find.text('1'), findsOneWidget); - }); -} |
