aboutsummaryrefslogtreecommitdiff
path: root/test/widget_test.dart
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2020-06-02 19:03:52 +0530
committerAkshay Nair <phenax5@gmail.com>2020-06-02 19:03:52 +0530
commitfb1a274bc9b16650d6a85761ad236b90cdbfd41a (patch)
tree3708c1971d99efedf697208a2665e128df12a4cd /test/widget_test.dart
parent08c52d1b09eaf78a0fdba9d808ed1669430b34f6 (diff)
downloaddaft-launcher-fb1a274bc9b16650d6a85761ad236b90cdbfd41a.tar.gz
daft-launcher-fb1a274bc9b16650d6a85761ad236b90cdbfd41a.zip
Adds timer stream to home page
Diffstat (limited to '')
-rw-r--r--test/widget_test.dart30
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);
- });
-}