docimports for flutter_goldens, flutter_localizations, flutter_web_plugins, fuchsia_remote_debug_protocol, integration_test (#151271)
Part of https://github.com/flutter/flutter/issues/150800
This commit is contained in:
committed by
GitHub
parent
17584ab790
commit
fb290b3121
@@ -2,6 +2,12 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
/// @docImport 'package:flutter_driver/flutter_driver.dart';
|
||||
///
|
||||
/// @docImport 'integration_test.dart';
|
||||
/// @docImport 'integration_test_driver_extended.dart';
|
||||
library;
|
||||
|
||||
import 'dart:async';
|
||||
import 'dart:convert';
|
||||
|
||||
|
||||
@@ -2,6 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
/// @docImport 'package:flutter_driver/flutter_driver.dart';
|
||||
///
|
||||
/// @docImport 'integration_test_driver_extended.dart';
|
||||
library;
|
||||
|
||||
import 'dart:async';
|
||||
import 'dart:developer' as developer;
|
||||
import 'dart:io' show HttpClient, SocketException, WebSocket;
|
||||
@@ -312,8 +317,8 @@ https://docs.flutter.dev/testing/integration-tests
|
||||
/// [reportData] with `reportKey`. The [reportData] contains extra information
|
||||
/// from the test other than test success/fail. It will be passed back to the
|
||||
/// host and be processed by the [ResponseDataCallback] defined in
|
||||
/// [integration_test_driver.integrationDriver]. By default it will be written
|
||||
/// to `build/integration_response_data.json` with the key `timeline`.
|
||||
/// [integrationDriver]. By default it will be written to
|
||||
/// `build/integration_response_data.json` with the key `timeline`.
|
||||
///
|
||||
/// For tests with multiple calls of this method, `reportKey` needs to be a
|
||||
/// unique key, otherwise the later result will override earlier one. Tests
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
/// @docImport 'package:integration_test/integration_test.dart';
|
||||
library;
|
||||
|
||||
import 'dart:convert';
|
||||
import 'dart:io';
|
||||
|
||||
@@ -52,7 +55,7 @@ Future<void> main() async {
|
||||
});
|
||||
}
|
||||
|
||||
/// Runs a test script and returns the [IntegrationTestWidgetsFlutterBinding.result].
|
||||
/// Runs a test script and returns the [IntegrationTestWidgetsFlutterBinding.results].
|
||||
///
|
||||
/// [scriptPath] is relative to the package root.
|
||||
Future<Map<String, dynamic>?> _runTest(String scriptPath) async {
|
||||
|
||||
Reference in New Issue
Block a user