@@ -25,12 +25,6 @@ import 'package:yaml/yaml.dart';
2525/// tests using `flutter test` . This should not be called when running a test
2626/// using `flutter run` , as in that environment, the [goldenFileComparator] is a
2727/// [TrivialComparator] .
28- ///
29- /// An [HttpClient] is created when this method is called. That client is used
30- /// to communicate with the Skia Gold servers. Any [HttpOverrides] set in this
31- /// will affect whether this is effective or not. For example, if the current
32- /// override provides a mock client that always fails, then all calls to gold
33- /// comparison functions will fail.
3428Future <void > testExecutable (
3529 FutureOr <void > Function () testMain, {
3630 String ? namePrefix,
@@ -97,11 +91,6 @@ abstract class FlutterGoldenFileComparator extends GoldenFileComparator {
9791 Uri getTestUri (Uri key, int ? version) => key;
9892
9993 /// Calculate the appropriate basedir for the current test context.
100- ///
101- /// The optional [suffix] argument is used by the
102- /// [FlutterPostSubmitFileComparator] and the [FlutterPreSubmitFileComparator] .
103- /// These [FlutterGoldenFileComparator] s randomize their base directories to
104- /// maintain thread safety while using the `goldctl` tool.
10594 @protected
10695 @visibleForTesting
10796 static Directory getBaseDirectory (
@@ -147,20 +136,6 @@ abstract class FlutterGoldenFileComparator extends GoldenFileComparator {
147136
148137/// A [FlutterGoldenFileComparator] for testing conditions that do not execute
149138/// golden file tests.
150- ///
151- /// Currently, this comparator is used on Luci environments when executing tests
152- /// outside of the flutter/flutter repository.
153- ///
154- /// See also:
155- ///
156- /// * [FlutterPostSubmitFileComparator] , another [FlutterGoldenFileComparator]
157- /// that tests golden images through Skia Gold.
158- /// * [FlutterPreSubmitFileComparator] , another
159- /// [FlutterGoldenFileComparator] that tests golden images before changes are
160- /// merged into the master branch.
161- /// * [FlutterLocalFileComparator] , another
162- /// [FlutterGoldenFileComparator] that tests golden images locally on your
163- /// current machine.
164139class FlutterSkippingFileComparator extends FlutterGoldenFileComparator {
165140 /// Creates a [FlutterSkippingFileComparator] that will skip tests that
166141 /// are not in the right environment for golden file testing.
0 commit comments