Migrate verify_codesigned. (#139328)

This is part of the migration of adhoc tests to shard tests.

Bug: https://github.com/flutter/flutter/issues/139153
This commit is contained in:
godofredoc
2023-12-21 17:46:11 -08:00
committed by GitHub
parent c02ace6b48
commit c73bffe747
4 changed files with 643 additions and 6 deletions

View File

@@ -21,3 +21,13 @@ void tryToDelete(Directory directory) {
print('Failed to delete ${directory.path}: $error');
}
}
Matcher throwsExceptionWith(String messageSubString) {
return throwsA(
isA<Exception>().having(
(Exception e) => e.toString(),
'description',
contains(messageSubString),
),
);
}