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"} {"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 \ No newline at end of file
...@@ -21,7 +21,7 @@ packages: ...@@ -21,7 +21,7 @@ packages:
path: ".." path: ".."
relative: true relative: true
source: path source: path
version: "0.0.1" version: "0.0.3"
characters: characters:
dependency: transitive dependency: transitive
description: description:
......
...@@ -11,17 +11,21 @@ import 'package:flutter_test/flutter_test.dart'; ...@@ -11,17 +11,21 @@ import 'package:flutter_test/flutter_test.dart';
import 'package:bugly_crash_example/main.dart'; import 'package:bugly_crash_example/main.dart';
void main() { void main() {
testWidgets('Verify Platform version', (WidgetTester tester) async { testWidgets('Counter increments smoke test', (WidgetTester tester) async {
// Build our app and trigger a frame. // Build our app and trigger a frame.
await tester.pumpWidget(MyApp()); await tester.pumpWidget(MyApp());
// Verify that platform version is retrieved. // Verify that our counter starts at 0.
expect( expect(find.text('0'), findsOneWidget);
find.byWidgetPredicate( expect(find.text('1'), findsNothing);
(Widget widget) => widget is Text &&
widget.data.startsWith('Running on:'), // Tap the '+' icon and trigger a frame.
), await tester.tap(find.byIcon(Icons.add));
findsOneWidget, 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