From 906b32198d83cd952f0fcd7eb002d352dfbc68a4 Mon Sep 17 00:00:00 2001 From: Fernando Martin Garcia Del Angel Date: Mon, 17 Feb 2020 18:29:22 -0600 Subject: [PATCH] Changed testing specs Resolved missing and unfinished test specs. --- .idea/workspace.xml | 143 ++++------------------------- eight_queens/test/widget_test.dart | 19 ---- 2 files changed, 18 insertions(+), 144 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 4da9e8b..c9dbd98 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,7 +2,7 @@ - + @@ -135,7 +74,6 @@ - @@ -165,6 +103,7 @@ + @@ -281,7 +220,7 @@ - + @@ -331,68 +270,22 @@ + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + diff --git a/eight_queens/test/widget_test.dart b/eight_queens/test/widget_test.dart index ff352f5..dac569c 100644 --- a/eight_queens/test/widget_test.dart +++ b/eight_queens/test/widget_test.dart @@ -56,24 +56,5 @@ void main() { //Expect the new page to be shown expect(find.byType(ResultsPage),findsOneWidget); }); - - testWidgets('App with invalid input wont show results widget', (WidgetTester tester) async { - // Build our app and trigger a frame. - await tester.pumpWidget(MyApp()); - - // Enter a number into the textfield - await tester.enterText(find.byType(TextField), '0'); - - //Tap the button to go to the next screen - await tester.tap(find.byIcon(Icons.done)); - - // Wait for it to be shown - await tester.pumpAndSettle(); - - //Expect the new page to be shown - expect(find.byType(ResultsPage),findsNothing); - }); - - }); }