From 3ef227688e8112f51a9dd559292fa046d3a85c44 Mon Sep 17 00:00:00 2001 From: hoogom88 Date: Tue, 30 Apr 2024 11:38:48 +0900 Subject: [PATCH 1/4] =?UTF-8?q?Test:=20=EB=90=98=EB=8A=94=20=EA=B2=BD?= =?UTF-8?q?=EC=9A=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/widget_test.dart | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/test/widget_test.dart b/test/widget_test.dart index feea54f..d697367 100644 --- a/test/widget_test.dart +++ b/test/widget_test.dart @@ -11,20 +11,7 @@ import 'package:flutter_test/flutter_test.dart'; import 'package:ci_test/main.dart'; void main() { - testWidgets('Counter increments smoke test', (WidgetTester tester) async { - // Build our app and trigger a frame. - await tester.pumpWidget(const 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); + test('Counter increments smoke test', () { + expect(0, 0); }); } From 2adfbd86276e0076eee9dc718cf9545281c10bbe Mon Sep 17 00:00:00 2001 From: hoogom88 Date: Tue, 30 Apr 2024 11:49:30 +0900 Subject: [PATCH 2/4] =?UTF-8?q?Test:=20Lint=EC=97=90=EC=84=9C=20=ED=84=B0?= =?UTF-8?q?=EC=A7=80=EA=B8=B8=20=EA=B8=B0=EB=8F=84=ED=95=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/main.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/main.dart b/lib/main.dart index 8e94089..75ae621 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -6,7 +6,9 @@ void main() { class MyApp extends StatelessWidget { const MyApp({super.key}); - + void TESTTMP() { + String STRINGDD = "sdfsf"; + } // This widget is the root of your application. @override Widget build(BuildContext context) { From 0bc78bf32a20aee40d3fcfec3152b20cfa5b7760 Mon Sep 17 00:00:00 2001 From: hoogom88 Date: Tue, 30 Apr 2024 11:51:14 +0900 Subject: [PATCH 3/4] =?UTF-8?q?Test:=ED=85=8C=EC=8A=A4=ED=8A=B8=EC=97=90?= =?UTF-8?q?=EC=84=9C=20=ED=84=B0=EC=A7=80=EA=B8=B8=20=EA=B8=B0=EB=8F=84?= =?UTF-8?q?=ED=95=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/main.dart | 4 +--- test/widget_test.dart | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index 75ae621..8e94089 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -6,9 +6,7 @@ void main() { class MyApp extends StatelessWidget { const MyApp({super.key}); - void TESTTMP() { - String STRINGDD = "sdfsf"; - } + // This widget is the root of your application. @override Widget build(BuildContext context) { diff --git a/test/widget_test.dart b/test/widget_test.dart index d697367..9bc2023 100644 --- a/test/widget_test.dart +++ b/test/widget_test.dart @@ -12,6 +12,6 @@ import 'package:ci_test/main.dart'; void main() { test('Counter increments smoke test', () { - expect(0, 0); + expect(0, 1); }); } From a41cd13d6e0379323e41f1a84cd532e576097e49 Mon Sep 17 00:00:00 2001 From: hoogom88 Date: Tue, 30 Apr 2024 11:53:05 +0900 Subject: [PATCH 4/4] =?UTF-8?q?Test:=20=EC=95=88=EC=93=B0=EB=8A=94=20?= =?UTF-8?q?=EA=B1=B0=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/widget_test.dart | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/widget_test.dart b/test/widget_test.dart index 9bc2023..f716ad1 100644 --- a/test/widget_test.dart +++ b/test/widget_test.dart @@ -5,11 +5,8 @@ // 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:ci_test/main.dart'; - void main() { test('Counter increments smoke test', () { expect(0, 1);