build splash
initState _ContainerPageState
build _ContainerPageState
build HomePage
build FlutterTabBarView
_ShopPageWidgetState initState
build widget.url=https://flutterchina.club/
build PersonCenterPage
preferredSize
preferredSize
init state推荐
getContentSliver
initState movie_page
build movie_page
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following TestFailure object was thrown running a test:
Expected: exactly one matching node in the widget tree
Actual: ?:<zero widgets with text "0" (ignoring offstage widgets)>
Which: means none were found but one was expected
When the exception was thrown, this was the stack:
#5 testWidgets.. (package:flutter_test/src/widget_tester.dart:119:25)
#6 TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:648:19)
#9 TestWidgetsFlutterBinding._runTest (package:flutter_test/src/binding.dart:631:14)
#10 AutomatedTestWidgetsFlutterBinding.runTest. (package:flutter_test/src/binding.dart:1016:24)
#16 AutomatedTestWidgetsFlutterBinding.runTest (package:flutter_test/src/binding.dart:1013:15)
#17 testWidgets. (package:flutter_test/src/widget_tester.dart:116:22)
#18 Declarer.test... (package:test_api/src/backend/declarer.dart:168:27)
#19 Invoker.waitForOutstandingCallbacks. (package:test_api/src/backend/invoker.dart:250:15)
#24 Invoker.waitForOutstandingCallbacks (package:test_api/src/backend/invoker.dart:247:5)
#25 Declarer.test.. (package:test_api/src/backend/declarer.dart:166:33)
#30 Declarer.test. (package:test_api/src/backend/declarer.dart:165:13)
#31 Invoker._onRun.... (package:test_api/src/backend/invoker.dart:400:25)
#45 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:382:19)
#46 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5)
#47 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)
(elided 28 frames from class _FakeAsync, package dart:async, package dart:async-patch, and package stack_trace)
This was caught by the test expectation on the following line:
file:///D:/AndroidStudioProjects/FlutterDouBan-master-new/test/widget_test.dart line 19
The test description was:
Counter increments smoke test
════════════════════════════════════════════════════════════════════════════════════════════════════
Test failed. See exception logs above.
The test description was: Counter increments smoke test
然后我就不会搞了
build splash initState _ContainerPageState build _ContainerPageState build HomePage build FlutterTabBarView _ShopPageWidgetState initState build widget.url=https://flutterchina.club/ build PersonCenterPage preferredSize preferredSize init state推荐 getContentSliver initState movie_page build movie_page ══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════ The following TestFailure object was thrown running a test: Expected: exactly one matching node in the widget tree Actual: ?:<zero widgets with text "0" (ignoring offstage widgets)> Which: means none were found but one was expected
When the exception was thrown, this was the stack:
4 main. (file:///D:/AndroidStudioProjects/FlutterDouBan-master-new/test/widget_test.dart:19:5)