Commit 4d2ea01a authored by rockypzhang's avatar rockypzhang

format dart code

parent 818543a1
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"bugly_crash","path":"/Users/zhhp1121/zhp/project/as/flutter/Bugly-Flutter-Plugin/","dependencies":[]}],"android":[{"name":"bugly_crash","path":"/Users/zhhp1121/zhp/project/as/flutter/Bugly-Flutter-Plugin/","dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"bugly_crash","dependencies":[]}],"date_created":"2021-06-07 21:05:46.506448","version":"2.2.1"}
\ No newline at end of file
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"bugly_crash","path":"/Users/zhhp1121/zhp/project/as/flutter/Bugly-Flutter-Plugin/","dependencies":[]}],"android":[{"name":"bugly_crash","path":"/Users/zhhp1121/zhp/project/as/flutter/Bugly-Flutter-Plugin/","dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"bugly_crash","dependencies":[]}],"date_created":"2021-06-08 19:51:27.937438","version":"2.2.1"}
\ No newline at end of file
......@@ -21,7 +21,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.0.1"
version: "0.0.3"
characters:
dependency: transitive
description:
......
......@@ -11,17 +11,21 @@ import 'package:flutter_test/flutter_test.dart';
import 'package:bugly_crash_example/main.dart';
void main() {
testWidgets('Verify Platform version', (WidgetTester tester) async {
testWidgets('Counter increments smoke test', (WidgetTester tester) async {
// Build our app and trigger a frame.
await tester.pumpWidget(MyApp());
// Verify that platform version is retrieved.
expect(
find.byWidgetPredicate(
(Widget widget) => widget is Text &&
widget.data.startsWith('Running on:'),
),
findsOneWidget,
);
// 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);
});
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment