This reverts commit 53e6876226.
This commit is contained in:
@@ -41,12 +41,12 @@ Future<ComparisonResult> compareLists(List<int> test, List<int> master) async {
|
||||
/// * [matchesGoldenFile], the function from [flutter_test] that invokes the
|
||||
/// comparator.
|
||||
class DefaultWebGoldenComparator extends WebGoldenComparator {
|
||||
/// Creates a new [DefaultWebGoldenComparator] for the specified [testUri].
|
||||
/// Creates a new [DefaultWebGoldenComparator] for the specified [testFile].
|
||||
///
|
||||
/// Golden file keys will be interpreted as file paths relative to the
|
||||
/// directory in which [testUri] resides.
|
||||
/// directory in which [testFile] resides.
|
||||
///
|
||||
/// The [testUri] URL must represent a file.
|
||||
/// The [testFile] URL must represent a file.
|
||||
DefaultWebGoldenComparator(this.testUri);
|
||||
|
||||
/// The test file currently being executed.
|
||||
|
||||
@@ -238,14 +238,6 @@ set webGoldenComparator(WebGoldenComparator value) {
|
||||
_webGoldenComparator = value;
|
||||
}
|
||||
|
||||
/// The URI of the test file currently being executed.
|
||||
///
|
||||
/// This variable is populated by the Flutter Tool automatically.
|
||||
///
|
||||
/// Golden file keys will be interpreted as file paths relative to the directory
|
||||
/// in which this file resides.
|
||||
late Uri webTestUri;
|
||||
|
||||
/// Whether golden files should be automatically updated during tests rather
|
||||
/// than compared to the image bytes recorded by the tests.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user