Skip to content

Commit 1f72221

Browse files
mateussiqueiramartijn00
authored andcommitted
move const values to the setup
1 parent 472c8e1 commit 1f72221

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"path_provider_ios","path":"/Users/mateussiqueira/.pub-cache/hosted/pub.dartlang.org/path_provider_ios-2.0.10/","native_build":true,"dependencies":[]},{"name":"sqflite","path":"/Users/mateussiqueira/.pub-cache/hosted/pub.dartlang.org/sqflite-2.0.3/","native_build":true,"dependencies":[]}],"android":[{"name":"path_provider_android","path":"/Users/mateussiqueira/.pub-cache/hosted/pub.dartlang.org/path_provider_android-2.0.16/","native_build":true,"dependencies":[]},{"name":"sqflite","path":"/Users/mateussiqueira/.pub-cache/hosted/pub.dartlang.org/sqflite-2.0.3/","native_build":true,"dependencies":[]}],"macos":[{"name":"path_provider_macos","path":"/Users/mateussiqueira/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.6/","native_build":true,"dependencies":[]},{"name":"sqflite","path":"/Users/mateussiqueira/.pub-cache/hosted/pub.dartlang.org/sqflite-2.0.3/","native_build":true,"dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"/Users/mateussiqueira/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.7/","native_build":false,"dependencies":[]}],"windows":[{"name":"path_provider_windows","path":"/Users/mateussiqueira/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.1.0/","native_build":false,"dependencies":[]}],"web":[]},"dependencyGraph":[{"name":"path_provider","dependencies":["path_provider_android","path_provider_ios","path_provider_linux","path_provider_macos","path_provider_windows"]},{"name":"path_provider_android","dependencies":[]},{"name":"path_provider_ios","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_macos","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"sqflite","dependencies":[]}],"date_created":"2022-07-26 10:05:46.413539","version":"3.0.4"}
1+
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"path_provider_ios","path":"/Users/mateussiqueira/.pub-cache/hosted/pub.dartlang.org/path_provider_ios-2.0.10/","native_build":true,"dependencies":[]},{"name":"sqflite","path":"/Users/mateussiqueira/.pub-cache/hosted/pub.dartlang.org/sqflite-2.0.3/","native_build":true,"dependencies":[]}],"android":[{"name":"path_provider_android","path":"/Users/mateussiqueira/.pub-cache/hosted/pub.dartlang.org/path_provider_android-2.0.16/","native_build":true,"dependencies":[]},{"name":"sqflite","path":"/Users/mateussiqueira/.pub-cache/hosted/pub.dartlang.org/sqflite-2.0.3/","native_build":true,"dependencies":[]}],"macos":[{"name":"path_provider_macos","path":"/Users/mateussiqueira/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.6/","native_build":true,"dependencies":[]},{"name":"sqflite","path":"/Users/mateussiqueira/.pub-cache/hosted/pub.dartlang.org/sqflite-2.0.3/","native_build":true,"dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"/Users/mateussiqueira/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.7/","native_build":false,"dependencies":[]}],"windows":[{"name":"path_provider_windows","path":"/Users/mateussiqueira/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.1.0/","native_build":false,"dependencies":[]}],"web":[]},"dependencyGraph":[{"name":"path_provider","dependencies":["path_provider_android","path_provider_ios","path_provider_linux","path_provider_macos","path_provider_windows"]},{"name":"path_provider_android","dependencies":[]},{"name":"path_provider_ios","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_macos","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"sqflite","dependencies":[]}],"date_created":"2022-07-26 10:06:23.183472","version":"3.0.4"}

flutter_cache_manager/test/cache_store_test.dart

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ void main() {
4242
});
4343

4444
test('Store should return FileInfo when file is cached', () async {
45-
var fileName = 'testimage.png';
46-
var fileUrl = 'baseflow.com/test.png';
47-
4845
var config = createTestConfig();
4946
await config.returnsFile(fileName);
5047
config.returnsCacheObject(fileUrl, fileName, DateTime.now());
@@ -102,9 +99,6 @@ void main() {
10299
});
103100

104101
test('Store should return CacheInfo when file is cached', () async {
105-
var fileName = 'testimage.png';
106-
var fileUrl = 'baseflow.com/test.png';
107-
108102
var config = createTestConfig();
109103
await config.returnsFile(fileName);
110104
config.returnsCacheObject(fileUrl, fileName, DateTime.now(), id: 1);
@@ -117,8 +111,6 @@ void main() {
117111

118112
test('Store should return CacheInfo from memory when asked twice',
119113
() async {
120-
var fileName = 'testimage.png';
121-
var fileUrl = 'baseflow.com/test.png';
122114
var validTill = DateTime.now();
123115
var config = createTestConfig();
124116

@@ -139,8 +131,6 @@ void main() {
139131
test(
140132
'Store should return File from memcache only when file is retrieved before',
141133
() async {
142-
var fileName = 'testimage.png';
143-
var fileUrl = 'baseflow.com/test.png';
144134
var validTill = DateTime.now();
145135
var config = createTestConfig();
146136

@@ -215,8 +205,6 @@ void main() {
215205

216206
group('Removing files in store', () {
217207
test('Store should remove fileinfo from repo on delete', () async {
218-
var fileName = 'testimage.png';
219-
var fileUrl = 'baseflow.com/test.png';
220208
var validTill = DateTime.now();
221209
var config = createTestConfig();
222210

0 commit comments

Comments
 (0)