Skip to content

Commit 1042b44

Browse files
committed
only keep needed function in fake path provider
1 parent 4f480f1 commit 1042b44

File tree

1 file changed

+0
-37
lines changed

1 file changed

+0
-37
lines changed

tests/languages/flutter/tests.dart

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -7,47 +7,10 @@ import '../lib/models.dart';
77
import 'dart:io';
88

99
class FakePathProvider extends PathProviderPlatform {
10-
@override
11-
Future<String?> getTemporaryPath() async {
12-
return '.';
13-
}
14-
15-
@override
16-
Future<String?> getApplicationSupportPath() async {
17-
return '.';
18-
}
19-
20-
@override
21-
Future<String?> getLibraryPath() async {
22-
return '.';
23-
}
24-
2510
@override
2611
Future<String?> getApplicationDocumentsPath() async {
2712
return '.';
2813
}
29-
30-
@override
31-
Future<String?> getExternalStoragePath() async {
32-
return '.';
33-
}
34-
35-
@override
36-
Future<List<String>?> getExternalCachePaths() async {
37-
return <String>['.'];
38-
}
39-
40-
@override
41-
Future<List<String>?> getExternalStoragePaths({
42-
StorageDirectory? type,
43-
}) async {
44-
return <String>['.'];
45-
}
46-
47-
@override
48-
Future<String?> getDownloadsPath() async {
49-
return '.';
50-
}
5114
}
5215

5316

0 commit comments

Comments
 (0)