mirror of
https://github.com/flutter/flutter
synced 2024-10-13 11:42:54 +00:00
d5b1cc5b9f
* Disable failing test due to SDK issue * Disable failing debugger and hot reload windows tests
33 lines
1,017 B
Dart
33 lines
1,017 B
Dart
// Copyright 2014 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:file/file.dart';
|
|
import 'package:flutter_tools/src/base/file_system.dart';
|
|
|
|
import '../integration.shard/test_data/basic_project.dart';
|
|
import '../integration.shard/test_driver.dart';
|
|
import '../integration.shard/test_utils.dart';
|
|
import '../src/common.dart';
|
|
|
|
void main() {
|
|
Directory tempDir;
|
|
final BasicProjectWithUnaryMain project = BasicProjectWithUnaryMain();
|
|
FlutterRunTestDriver flutter;
|
|
|
|
setUp(() async {
|
|
tempDir = createResolvedTempDirectorySync('run_test.');
|
|
await project.setUpIn(tempDir);
|
|
flutter = FlutterRunTestDriver(tempDir);
|
|
});
|
|
|
|
tearDown(() async {
|
|
await flutter.stop();
|
|
tryToDelete(tempDir);
|
|
});
|
|
|
|
testWithoutContext('flutter run works on web devices with a unary main function', () async {
|
|
await flutter.run(chrome: true, additionalCommandArgs: <String>['--verbose']);
|
|
});
|
|
}
|