touch_input_test.dart 525 Bytes
Newer Older
Ian Hickson's avatar
Ian Hickson committed
1 2 3 4
// Copyright 2017 The Chromium Authors. All rights reserved.
// 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
import 'package:test_api/test_api.dart' hide TypeMatcher, isInstanceOf;
Ian Hickson's avatar
Ian Hickson committed
7 8 9 10 11

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

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