Compatibility pass on flutter/services tests for JavaScript compilation. (4) (#33354)

This commit is contained in:
Jonah Williams
2019-06-10 15:46:36 -07:00
committed by GitHub
parent f530b809b6
commit c88f64ed50
4 changed files with 6 additions and 0 deletions

View File

@@ -343,6 +343,7 @@ Future<void> _runTests() async {
Future<void> _runWebTests() async {
await _runFlutterWebTest(path.join(flutterRoot, 'packages', 'flutter'), expectFailure: false, tests: <String>[
'test/foundation/',
'test/services/',
'test/painting/',
'test/scheduler/',
]);

View File

@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@TestOn('!chrome')
import 'dart:typed_data';
import 'package:flutter/services.dart';

View File

@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@TestOn('!chrome') // missing web infrastructure for plugins.
import 'dart:typed_data';
import 'package:flutter/services.dart';

View File

@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@TestOn('!chrome') // web does not have keyboard support yet.
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';