Revert "Fix and enable painting tests on the Web (#42546)" (#42687)

This reverts commit 13a1b1e3b9. It broke the build.
This commit is contained in:
Yegor
2019-10-14 15:14:16 -07:00
committed by GitHub
parent 13a1b1e3b9
commit 163be41d80
6 changed files with 5 additions and 14 deletions

View File

@@ -5,16 +5,12 @@
@TestOn('chrome') // Uses web-only Flutter SDK
import 'dart:async';
import 'dart:ui' as ui;
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:flutter_web_plugins/flutter_web_plugins.dart';
void main() {
// Disabling tester emulation because this test relies on real message channel communication.
ui.debugEmulateFlutterTesterEnvironment = false; // ignore: undefined_prefixed_name
group('Plugin Event Channel', () {
setUp(() {
TestWidgetsFlutterBinding.ensureInitialized();

View File

@@ -4,8 +4,6 @@
@TestOn('chrome') // Uses web-only Flutter SDK
import 'dart:ui' as ui;
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:flutter_web_plugins/flutter_web_plugins.dart';
@@ -29,9 +27,6 @@ class TestPlugin {
}
void main() {
// Disabling tester emulation because this test relies on real message channel communication.
ui.debugEmulateFlutterTesterEnvironment = false; // ignore: undefined_prefixed_name
group('Plugin Registry', () {
setUp(() {
TestWidgetsFlutterBinding.ensureInitialized();