blob: 1489cd90dc1b0c915d0d955899aa0e461d1bce41 [file] [log] [blame]
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/cupertino.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:pointer_interceptor_platform_interface/pointer_interceptor_platform_interface.dart';
void main() {
TestWidgetsFlutterBinding.ensureInitialized();
test('Default implementation of PointerInterceptor does not do anything', () {
final PointerInterceptorPlatform defaultPointerInterceptor =
PointerInterceptorPlatform.instance;
final Container testChild = Container();
expect(defaultPointerInterceptor.buildWidget(child: testChild), testChild);
});
}