Skip to content

Commit 9e5a3e0

Browse files
agwoosignalagordn52
authored andcommitted
Merged in feature/WFA-16-api-products (pull request #12)
Feature/WFA-16 api products Approved-by: Anthony Gordon <ants52@aol.com>
2 parents 75b2a1b + 6040f35 commit 9e5a3e0

File tree

4 files changed

+1979
-1333
lines changed

4 files changed

+1979
-1333
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package com.example.sms_app
2+
3+
import io.flutter.embedding.android.FlutterActivity
4+
5+
class MainActivity: FlutterActivity() {
6+
}

example/test/widget_test.dart

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// This is a basic Flutter widget test.
2+
//
3+
// To perform an interaction with a widget in your test, use the WidgetTester
4+
// utility that Flutter provides. For example, you can send tap and scroll
5+
// gestures. You can also use WidgetTester to find child widgets in the widget
6+
// tree, read text, and verify that the values of widget properties are correct.
7+
8+
import 'package:flutter/material.dart';
9+
import 'package:flutter_test/flutter_test.dart';
10+
11+
12+
void main() {
13+
testWidgets('Counter increments smoke test', (WidgetTester tester) async {
14+
// Build our app and trigger a frame.
15+
await tester.pumpWidget(MyApp());
16+
17+
// Verify that our counter starts at 0.
18+
expect(find.text('0'), findsOneWidget);
19+
expect(find.text('1'), findsNothing);
20+
21+
// Tap the '+' icon and trigger a frame.
22+
await tester.tap(find.byIcon(Icons.add));
23+
await tester.pump();
24+
25+
// Verify that our counter has incremented.
26+
expect(find.text('0'), findsNothing);
27+
expect(find.text('1'), findsOneWidget);
28+
});
29+
}

0 commit comments

Comments
 (0)