path_provider: update for official packages/path_provider 2.2.0 (#68)

Signed-off-by: Hidenori Matsubayashi <[email protected]>
This commit is contained in:
Hidenori Matsubayashi
2023-08-06 00:04:11 +00:00
committed by GitHub
parent 1f6a66c618
commit a34cc52248
12 changed files with 277 additions and 69 deletions
@@ -36,6 +36,12 @@ void main() {
final String? result = await provider.getApplicationSupportPath();
_verifySampleFile(result, 'applicationSupport');
});
testWidgets('getApplicationCacheDirectory', (WidgetTester tester) async {
final PathProviderELinux provider = PathProviderELinux();
final String? result = await provider.getApplicationCachePath();
_verifySampleFile(result, 'applicationCache');
});
}
/// Verify a file called [name] in [directoryPath] by recreating it with test