mirror of
https://github.com/rive-app/rive-flutter
synced 2025-07-05 21:55:58 +00:00
Update flutter golden images
Run --update-goldens to regenerate golden images since at least some of these appear to be failing in rive_flutter. Its possible Flutter upgrades is causing slight discrepancies. Did a visual side by side and the images appear identical. Want to get this in before publishing rive_flutter. Diffs= 072f8ffb5 Update flutter golden images (#6768) Co-authored-by: Maxwell Talbot <talbot.maxwell@gmail.com> Co-authored-by: Philip Chung <philterdesign@gmail.com>
This commit is contained in:
@ -1 +1 @@
|
||||
8785b0ff7f57ef2d33c2d4719a7185b8abd3f366
|
||||
072f8ffb55106509e0e9d6b233aef3f5340b2da5
|
||||
|
BIN
test/goldens/batch_tests/images/circle-fui.riv-01.png
(Stored with Git LFS)
BIN
test/goldens/batch_tests/images/circle-fui.riv-01.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/batch_tests/images/circle-fui.riv-02.png
(Stored with Git LFS)
BIN
test/goldens/batch_tests/images/circle-fui.riv-02.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/batch_tests/images/circle-fui.riv-03.png
(Stored with Git LFS)
BIN
test/goldens/batch_tests/images/circle-fui.riv-03.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/batch_tests/images/danger-quarantine.riv-01.png
(Stored with Git LFS)
BIN
test/goldens/batch_tests/images/danger-quarantine.riv-01.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/batch_tests/images/danger-quarantine.riv-02.png
(Stored with Git LFS)
BIN
test/goldens/batch_tests/images/danger-quarantine.riv-02.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/batch_tests/images/danger-quarantine.riv-03.png
(Stored with Git LFS)
BIN
test/goldens/batch_tests/images/danger-quarantine.riv-03.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/batch_tests/images/fire-skull.riv-01.png
(Stored with Git LFS)
BIN
test/goldens/batch_tests/images/fire-skull.riv-01.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/batch_tests/images/fire-skull.riv-02.png
(Stored with Git LFS)
BIN
test/goldens/batch_tests/images/fire-skull.riv-02.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/batch_tests/images/fire-skull.riv-03.png
(Stored with Git LFS)
BIN
test/goldens/batch_tests/images/fire-skull.riv-03.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/batch_tests/images/joystick-demos-fish.riv-01.png
(Stored with Git LFS)
BIN
test/goldens/batch_tests/images/joystick-demos-fish.riv-01.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/batch_tests/images/joystick-demos-fish.riv-02.png
(Stored with Git LFS)
BIN
test/goldens/batch_tests/images/joystick-demos-fish.riv-02.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/batch_tests/images/joystick-demos-fish.riv-03.png
(Stored with Git LFS)
BIN
test/goldens/batch_tests/images/joystick-demos-fish.riv-03.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/batch_tests/images/polito.riv-01.png
(Stored with Git LFS)
BIN
test/goldens/batch_tests/images/polito.riv-01.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/batch_tests/images/polito.riv-02.png
(Stored with Git LFS)
BIN
test/goldens/batch_tests/images/polito.riv-02.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/batch_tests/images/polito.riv-03.png
(Stored with Git LFS)
BIN
test/goldens/batch_tests/images/polito.riv-03.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/follow_path/images/follow_path_over_time_01.png
(Stored with Git LFS)
BIN
test/goldens/follow_path/images/follow_path_over_time_01.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/follow_path/images/follow_path_over_time_02.png
(Stored with Git LFS)
BIN
test/goldens/follow_path/images/follow_path_over_time_02.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/follow_path/images/follow_path_over_time_03.png
(Stored with Git LFS)
BIN
test/goldens/follow_path/images/follow_path_over_time_03.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/follow_path/images/follow_path_over_time_04.png
(Stored with Git LFS)
BIN
test/goldens/follow_path/images/follow_path_over_time_04.png
(Stored with Git LFS)
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:de10247ebbb538316eae7226dc221a20536194bbd35cc9b76e735cd18cec31b8
|
||||
size 110190
|
||||
oid sha256:0d3b7b54b69a740a897da914630555bbce9a9dfabeaa3fdfa4a4ce37774c6270
|
||||
size 150139
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ee9b67581d39a4f72f358c2b5237596309ef582d55653861d4286194ffcf01be
|
||||
size 110509
|
||||
oid sha256:c110b54737e9da7df678f471087814eae637f2fd6e57ce56c7c6d68ced726976
|
||||
size 149757
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5d07e5795cf24a6f7589f01cfeac4ca3fe80bf5e3f8619592684f8698c72fa15
|
||||
size 104064
|
||||
oid sha256:bd0704254d162ce9540e3e1fb738e22a9622b25f64f13a5fa164fece41cd2d00
|
||||
size 141876
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:98788bf2b9fc79e0985d14142c7d4ef004d360a344b3c4cff3a52bd4f1234bad
|
||||
size 37582
|
||||
oid sha256:473577ef768bf7d5546d11b6a6cb82aad14d4eaf2a48d09baab27ac41d55846b
|
||||
size 43844
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8f648286861fe05afc53913aeaff3a1a8801bdae9597176c2eea952031315045
|
||||
size 37222
|
||||
oid sha256:96d5a56012fdd986171c25406924201d9644198fc3a1c79e531f8d39f47377dc
|
||||
size 43486
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c1fac274980b7145a713d5d769abbe8a7329d26c3f2b6348828a17c4c81bd1c3
|
||||
size 38068
|
||||
oid sha256:74c5ccb50884f559a90a1fdc37e36119c1d6a7c3fbceb66357d80241123e537a
|
||||
size 44174
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:eda46f6c72623e182b0432e1ff4774b5772c060c3fd262ae2f4a891f13a1e98b
|
||||
size 37897
|
||||
oid sha256:b236d2a8c3c6e97503e455d40c1e556447d1884eda8d41e844f45e7563d37fab
|
||||
size 44075
|
||||
|
BIN
test/goldens/joysticks/images/joystick_handle_source_01.png
(Stored with Git LFS)
BIN
test/goldens/joysticks/images/joystick_handle_source_01.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/joysticks/images/joystick_handle_source_02.png
(Stored with Git LFS)
BIN
test/goldens/joysticks/images/joystick_handle_source_02.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/joysticks/images/joystick_handle_source_03.png
(Stored with Git LFS)
BIN
test/goldens/joysticks/images/joystick_handle_source_03.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/joysticks/images/joystick_handle_source_04.png
(Stored with Git LFS)
BIN
test/goldens/joysticks/images/joystick_handle_source_04.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/simple_animations/images/mixed_animations_01.png
(Stored with Git LFS)
BIN
test/goldens/simple_animations/images/mixed_animations_01.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/simple_animations/images/mixed_animations_02.png
(Stored with Git LFS)
BIN
test/goldens/simple_animations/images/mixed_animations_02.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/simple_animations/images/play_first_animation_found.png
(Stored with Git LFS)
BIN
test/goldens/simple_animations/images/play_first_animation_found.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/simple_animations/images/play_provided_animation_controller_01.png
(Stored with Git LFS)
BIN
test/goldens/simple_animations/images/play_provided_animation_controller_01.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/simple_animations/images/play_provided_animation_controller_02.png
(Stored with Git LFS)
BIN
test/goldens/simple_animations/images/play_provided_animation_controller_02.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/skins_opacity/images/skins_opacity_01.png
(Stored with Git LFS)
BIN
test/goldens/skins_opacity/images/skins_opacity_01.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/skins_opacity/images/skins_opacity_02.png
(Stored with Git LFS)
BIN
test/goldens/skins_opacity/images/skins_opacity_02.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/skins_opacity/images/skins_opacity_03.png
(Stored with Git LFS)
BIN
test/goldens/skins_opacity/images/skins_opacity_03.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/skins_opacity/images/skins_opacity_04.png
(Stored with Git LFS)
BIN
test/goldens/skins_opacity/images/skins_opacity_04.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/skins_opacity/images/skins_opacity_05.png
(Stored with Git LFS)
BIN
test/goldens/skins_opacity/images/skins_opacity_05.png
(Stored with Git LFS)
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6cc964f811c82a64d03e66ca29ff71d4ad34a4fa09ebd1af00d54fb82b9e6574
|
||||
size 21130
|
||||
oid sha256:232f5484944a4ce2b9002f443800e1ca1e9c04f55790f67f41960434555d007f
|
||||
size 21139
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a370258c3735183bba820a4d428ff0f0d71e4841b719428bc069de854fcc5d1b
|
||||
size 21119
|
||||
oid sha256:27bf6a24a874ed77e25e29b4b294f5207a0489656d6c7caea532b3f23375c212
|
||||
size 21138
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9948cc43485322311275830a9abd3cc4f173e33b71b86718875eacd9a4c2b688
|
||||
size 21118
|
||||
oid sha256:36d8f3786a1ee6206deac0a7fac12fafab69795a7a72b7595b272e8c7c694b5c
|
||||
size 21133
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:65c840582e8a00e77c1a5351dd196237228f4c0b81fc39868cec83c0a87f4fcb
|
||||
size 21125
|
||||
oid sha256:6ae4c6fb4ce0847134e7059d0cb6c259896a26f18c511edf3300f946b841af3d
|
||||
size 21138
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6cc964f811c82a64d03e66ca29ff71d4ad34a4fa09ebd1af00d54fb82b9e6574
|
||||
size 21130
|
||||
oid sha256:232f5484944a4ce2b9002f443800e1ca1e9c04f55790f67f41960434555d007f
|
||||
size 21139
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ff20dd0ae30030acfe2ae5e94c1dc2e30c4400d81a21fdac3730a176c7436159
|
||||
size 21130
|
||||
oid sha256:86d7be8a4e4ac369ba524a278f60a87f8189b0869c3d884a7f1c7d41ecbeb3f1
|
||||
size 21140
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6cc964f811c82a64d03e66ca29ff71d4ad34a4fa09ebd1af00d54fb82b9e6574
|
||||
size 21130
|
||||
oid sha256:232f5484944a4ce2b9002f443800e1ca1e9c04f55790f67f41960434555d007f
|
||||
size 21139
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5e8e70d012f3542db4d1d31cf0184422379486578d275bbb1b8f09f3d64dff4f
|
||||
size 21134
|
||||
oid sha256:64abf4ab9a8fc63dc33f4380642217d5eb5ced4e684ec6989ad0c57a7da4a263
|
||||
size 21140
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6cc964f811c82a64d03e66ca29ff71d4ad34a4fa09ebd1af00d54fb82b9e6574
|
||||
size 21130
|
||||
oid sha256:232f5484944a4ce2b9002f443800e1ca1e9c04f55790f67f41960434555d007f
|
||||
size 21139
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6cc964f811c82a64d03e66ca29ff71d4ad34a4fa09ebd1af00d54fb82b9e6574
|
||||
size 21130
|
||||
oid sha256:232f5484944a4ce2b9002f443800e1ca1e9c04f55790f67f41960434555d007f
|
||||
size 21139
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9948cc43485322311275830a9abd3cc4f173e33b71b86718875eacd9a4c2b688
|
||||
size 21118
|
||||
oid sha256:36d8f3786a1ee6206deac0a7fac12fafab69795a7a72b7595b272e8c7c694b5c
|
||||
size 21133
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6cc964f811c82a64d03e66ca29ff71d4ad34a4fa09ebd1af00d54fb82b9e6574
|
||||
size 21130
|
||||
oid sha256:232f5484944a4ce2b9002f443800e1ca1e9c04f55790f67f41960434555d007f
|
||||
size 21139
|
||||
|
BIN
test/goldens/text/images/text_bones_constraint_01.png
(Stored with Git LFS)
BIN
test/goldens/text/images/text_bones_constraint_01.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/text/images/text_bones_constraint_02.png
(Stored with Git LFS)
BIN
test/goldens/text/images/text_bones_constraint_02.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/text/images/text_bones_constraint_03.png
(Stored with Git LFS)
BIN
test/goldens/text/images/text_bones_constraint_03.png
(Stored with Git LFS)
Binary file not shown.
BIN
test/goldens/text/images/text_bones_constraint_04.png
(Stored with Git LFS)
BIN
test/goldens/text/images/text_bones_constraint_04.png
(Stored with Git LFS)
Binary file not shown.
@ -8,7 +8,11 @@ class MockHttpClient extends Mock implements HttpClient {}
|
||||
|
||||
class MockHttpClientRequest extends Mock implements HttpClientRequest {}
|
||||
|
||||
class MockHttpClientResponse extends Mock implements HttpClientResponse {}
|
||||
// no clue but our tester seems unhappy?
|
||||
class MockHttpClientResponse extends Mock implements HttpClientResponse {
|
||||
@override
|
||||
List<RedirectInfo> get redirects => [];
|
||||
}
|
||||
|
||||
class MockHttpHeaders extends Mock implements HttpHeaders {}
|
||||
|
||||
|
@ -16,19 +16,22 @@ List<FileTesterWrapper> batchRiveFilesToTest() {
|
||||
final directory = Directory('test/assets/batch_rivs');
|
||||
|
||||
final files = directory.listSync();
|
||||
return files.map((e) {
|
||||
try {
|
||||
final file = e as File;
|
||||
return FileTesterWrapper(
|
||||
file: file,
|
||||
fileName: basename(file.path),
|
||||
);
|
||||
// ignore: avoid_catches_without_on_clauses
|
||||
} catch (e, st) {
|
||||
debugPrintStack(stackTrace: st);
|
||||
throw Exception('Not a Rive file');
|
||||
}
|
||||
}).toList();
|
||||
return files
|
||||
.map((e) {
|
||||
try {
|
||||
final file = e as File;
|
||||
return FileTesterWrapper(
|
||||
file: file,
|
||||
fileName: basename(file.path),
|
||||
);
|
||||
// ignore: avoid_catches_without_on_clauses
|
||||
} catch (e, st) {
|
||||
debugPrintStack(stackTrace: st);
|
||||
throw Exception('Not a Rive file');
|
||||
}
|
||||
})
|
||||
.where((element) => extension(element.fileName) == '.riv')
|
||||
.toList();
|
||||
}
|
||||
|
||||
class FileTesterWrapper {
|
||||
|
Reference in New Issue
Block a user