flex_layout_test.dart 486 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';
Ian Hickson's avatar
Ian Hickson committed
6 7 8 9 10 11
import 'package:test/test.dart';

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

void main() {
  test('layers smoketest for rendering/flex_layout.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();
  });
}