Refactor framework + test harness tests (#146213)

Refactor the framework + test harness test suites in order to reduce testing logic in test.dart and allow for later implementing package:test onto the existing tests

The refactor of both suites included in this PR because they both depended on util functions and variables that also needed to be refactored.

Part of https://github.com/flutter/flutter/issues/145482
This commit is contained in:
Jesse
2024-04-23 15:29:04 -04:00
committed by GitHub
parent e34a9e3f39
commit 9689f7f89c
6 changed files with 504 additions and 490 deletions

View File

@@ -9,9 +9,8 @@ import 'package:file/memory.dart';
import 'package:path/path.dart' as path;
import 'package:process/process.dart';
import '../analyze.dart';
import '../suite_runners/run_flutter_packages_tests.dart';
import '../test.dart';
import '../utils.dart';
import 'common.dart';
/// Fails a test if the exit code of `result` is not the expected value. This