Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit e52725a

Browse files
Replace path_provider_linux widget tests with simple unit tests (#3812)
1 parent 0892a2d commit e52725a

File tree

2 files changed

+15
-97
lines changed

2 files changed

+15
-97
lines changed

packages/path_provider/path_provider_linux/example/test/widget_test.dart

-97
This file was deleted.

packages/path_provider/path_provider_linux/test/path_provider_linux_test.dart

+15
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,19 @@ void main() {
1717
final PathProviderPlatform plugin = PathProviderPlatform.instance;
1818
expect(await plugin.getTemporaryPath(), '/tmp');
1919
});
20+
21+
test('getApplicationSupportPath', () async {
22+
final PathProviderPlatform plugin = PathProviderPlatform.instance;
23+
expect(await plugin.getApplicationSupportPath(), startsWith('/'));
24+
});
25+
26+
test('getApplicationDocumentsPath', () async {
27+
final PathProviderPlatform plugin = PathProviderPlatform.instance;
28+
expect(await plugin.getApplicationDocumentsPath(), startsWith('/'));
29+
});
30+
31+
test('getDownloadsPath', () async {
32+
final PathProviderPlatform plugin = PathProviderPlatform.instance;
33+
expect(await plugin.getDownloadsPath(), startsWith('/'));
34+
});
2035
}

0 commit comments

Comments
 (0)