mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00

* allow marking a golden check as flaky * add matchesFlutterGolden to analyze.dart; no tags for flutter_goldens/lib * Pause * ++ * ++ * Analyzer therapy * Once more with feeling * Nits * Review feedback * Silly oops * Test progress * More tests * Finish * Nits * Analyzer * Review feedback Co-authored-by: Yegor Jbanov <yjbanov@google.com>
14 lines
450 B
Dart
14 lines
450 B
Dart
// Copyright 2014 The Flutter Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
import 'dart:async';
|
|
|
|
|
|
import 'package:flutter_goldens/flutter_goldens.dart' as flutter_goldens;
|
|
|
|
Future<void> testExecutable(FutureOr<void> Function() testMain) {
|
|
// Enable golden file testing using Skia Gold.
|
|
return flutter_goldens.testExecutable(testMain, namePrefix: 'api');
|
|
}
|