touch_input_test.dart 557 Bytes
Newer Older
Ian Hickson's avatar
Ian Hickson committed
1
// Copyright 2014 The Flutter Authors. All rights reserved.
Ian Hickson's avatar
Ian Hickson committed
2 3 4
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

Ian Hickson's avatar
Ian Hickson committed
5
import 'package:flutter/foundation.dart';
6
// ignore: deprecated_member_use
7
import 'package:test_api/test_api.dart' hide TypeMatcher, isInstanceOf;
Ian Hickson's avatar
Ian Hickson committed
8 9 10 11 12

import '../../../rendering/touch_input.dart' as demo;

void main() {
  test('layers smoketest for rendering/touch_input.dart', () {
Ian Hickson's avatar
Ian Hickson committed
13
    FlutterError.onError = (FlutterErrorDetails details) { throw details.exception; };
Ian Hickson's avatar
Ian Hickson committed
14 15 16
    demo.main();
  });
}