iosWebViewFix/example/integration_test/webview_flutter_test.dart

46 lines
2.1 KiB
Dart
Raw Normal View History

import 'package:flutter/foundation.dart';
import 'package:flutter_inappwebview/flutter_inappwebview.dart';
import 'package:integration_test/integration_test.dart';
2022-04-28 01:10:20 +02:00
import 'in_app_webview/main.dart' as in_app_webview_tests;
2022-10-11 16:19:36 +02:00
import 'find_interaction_controller/main.dart'
as find_interaction_controller_tests;
2022-05-02 12:52:10 +02:00
import 'service_worker_controller/main.dart' as service_worker_controller_tests;
import 'proxy_controller/main.dart' as proxy_controller_tests;
2022-04-28 23:23:38 +02:00
import 'headless_in_app_webview/main.dart' as headless_in_app_webview_tests;
import 'cookie_manager/main.dart' as cookie_manager_tests;
import 'in_app_browser/main.dart' as in_app_browser_tests;
import 'chrome_safari_browser/main.dart' as chrome_safari_browser_tests;
import 'in_app_localhost_server/main.dart' as in_app_localhost_server_tests;
void main() {
IntegrationTestWidgetsFlutterBinding.ensureInitialized();
2022-04-28 01:10:20 +02:00
if (defaultTargetPlatform == TargetPlatform.android) {
2022-04-27 02:23:59 +02:00
InAppWebViewController.setWebContentsDebuggingEnabled(true);
}
WebView.debugLoggingSettings.usePrint = true;
2022-10-06 16:43:19 +02:00
WebView.debugLoggingSettings.maxLogMessageLength = 7000;
InAppBrowser.debugLoggingSettings.usePrint = true;
2022-10-06 16:43:19 +02:00
InAppBrowser.debugLoggingSettings.maxLogMessageLength = 7000;
ChromeSafariBrowser.debugLoggingSettings.usePrint = true;
2022-10-06 16:43:19 +02:00
ChromeSafariBrowser.debugLoggingSettings.maxLogMessageLength = 7000;
WebAuthenticationSession.debugLoggingSettings.usePrint = true;
2022-10-06 16:43:19 +02:00
WebAuthenticationSession.debugLoggingSettings.maxLogMessageLength = 7000;
2022-10-08 14:19:35 +02:00
PullToRefreshController.debugLoggingSettings.usePrint = true;
PullToRefreshController.debugLoggingSettings.maxLogMessageLength = 7000;
FindInteractionController.debugLoggingSettings.usePrint = true;
FindInteractionController.debugLoggingSettings.maxLogMessageLength = 7000;
2022-04-28 01:10:20 +02:00
in_app_webview_tests.main();
2022-10-08 14:19:35 +02:00
find_interaction_controller_tests.main();
2022-05-02 12:52:10 +02:00
service_worker_controller_tests.main();
proxy_controller_tests.main();
2022-04-28 23:23:38 +02:00
headless_in_app_webview_tests.main();
cookie_manager_tests.main();
in_app_browser_tests.main();
chrome_safari_browser_tests.main();
in_app_localhost_server_tests.main();
}