Add a debug feature to the gestures library to dump hit test results (#11346)

This commit is contained in:
Ian Hickson
2017-07-24 10:10:19 -07:00
committed by GitHub
parent 94ed7dce41
commit f0dec6e305
4 changed files with 42 additions and 0 deletions

View File

@@ -474,6 +474,9 @@ abstract class TestWidgetsFlutterBinding extends BindingBase
'The value of a foundation debug variable was changed by the test.',
debugPrintOverride: debugPrintOverride,
));
assert(debugAssertAllGesturesVarsUnset(
'The value of a gestures debug variable was changed by the test.',
));
assert(debugAssertAllRenderVarsUnset(
'The value of a rendering debug variable was changed by the test.',
debugCheckIntrinsicSizesOverride: checkIntrinsicSizes,