Skip to content

Instantly share code, notes, and snippets.

@tvolkert
Created June 22, 2016 18:05
Show Gist options
  • Save tvolkert/7ec937a89ed5434eafad89495218e723 to your computer and use it in GitHub Desktop.
Save tvolkert/7ec937a89ed5434eafad89495218e723 to your computer and use it in GitHub Desktop.
tooltip_test output
> flutter test test/material/tooltip_test.dart
00:00 +0: loading /Users/tvolkert/project/flutter/flutter/packages/flutter/test/material/tooltip_test.dart
444444444444444444444444444444444444444444444
00:01 +0: - Does tooltip end up in the right place - center
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following TestFailure object was thrown running a test:
Expected: Point:<Point(284.0, 20.0)>
Actual: Point:<Point(284.5, 20.0)>
When the exception was thrown, this was the stack:
#3 main.<anonymous closure>.<<anonymous closure>_async_body> (///Users/tvolkert/project/flutter/flutter/packages/flutter/test/material/tooltip_test.dart:73:5)
#17 AutomatedTestWidgetsFlutterBinding.asyncBarrier (package:flutter_test/src/binding.dart:499:16)
#18 TestWidgetsFlutterBinding._runTest (package:flutter_test/src/binding.dart:351:5)
#19 AutomatedTestWidgetsFlutterBinding.runTest.<anonymous closure> (package:flutter_test/src/binding.dart:485:24)
#25 AutomatedTestWidgetsFlutterBinding.runTest (package:flutter_test/src/binding.dart:483:16)
#26 testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:52:50)
#27 Declarer.test.<anonymous closure>.<<anonymous closure>_async_body>.<anonymous closure>.<<anonymous closure>_async_body> (package:test/src/backend/declarer.dart:88:19)
#39 Declarer._runSetUps.<_runSetUps_async_body> (package:test/src/backend/declarer.dart:167:3)
(elided 65 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:
///Users/tvolkert/project/flutter/flutter/packages/flutter/test/material/tooltip_test.dart line 73
════════════════════════════════════════════════════════════════════════════════════════════════════
00:01 +0 -1: - Does tooltip end up in the right place - center
Test failed. See exception logs above.
00:01 +7 -1: Some tests failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment