Commit d454629a authored by Edman P. Anjos's avatar Edman P. Anjos Committed by Devon Carew

Add @isTest annotation to testGesture (#18311)

Notifies IDEs this is a test method, and helps e.g. the flutter plugin
recognize test methods and display them in the structure view in intellij.
parent 625ac523
......@@ -4,6 +4,7 @@
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:meta/meta.dart';
import 'package:test/test.dart';
import 'package:quiver/testing/async.dart';
......@@ -32,6 +33,7 @@ class GestureTester {
typedef void GestureTest(GestureTester tester);
@isTest
void testGesture(String description, GestureTest callback) {
test(description, () {
new FakeAsync().run((FakeAsync async) {
......
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