Commit Graph

18 Commits

Author SHA1 Message Date
DreamPiggy a94221fba0 Update the API of AnimatedImage as well
1. Change the placeholder into Web URL init method (placeholder not works for data/bundle init method)
2. Add convenient .progress/.activity syntax for AnimatedImage indicator
2023-09-21 21:43:47 +08:00
DreamPiggy 5a5690e2dc Fix the test case project 2022-09-22 16:09:46 +08:00
DreamPiggy 087eac626e Update the test case about API changes 2021-02-23 16:20:22 +08:00
DreamPiggy 7f8a06588f Update the test case 2021-02-22 19:41:54 +08:00
DreamPiggy f36440f508 Update the test case about the new image data arg 2020-05-06 23:19:28 +08:00
DreamPiggy 1e1ddccc1a Update the test cases and readme about AnimatedImage 2020-04-05 14:25:27 +08:00
DreamPiggy 531286abde Disable the isAnimating check on Travis-CI test, because of bugs 2020-02-05 14:15:55 +08:00
DreamPiggy ae478b695f Fix test again by trying to use the large frame animated image, avoid animation stopped before changing binding value 2020-02-05 11:33:01 +08:00
DreamPiggy 7ae9429dc5 Update the test case which fix the compatible on macOS 10.14's simulator 2020-02-05 10:59:07 +08:00
DreamPiggy f193c612b1 Update the unit test to use the latest version of ViewInspector, which allows UIView/NSView inspection 2020-02-04 11:04:55 +08:00
DreamPiggy 53de385099 Update the test case `testAnimatedImageBinding` to correctly unit test the AniamtedImage's @Binding update, this time it works 2020-02-02 12:41:23 +08:00
DreamPiggy 4345bd4b5d Change to use the empty Image as static variable 2020-02-02 10:56:27 +08:00
DreamPiggy 3363162b03 Added the test case `testWebImageOnSuccessWhenMemoryCacheHit` 2020-02-01 17:53:28 +08:00
DreamPiggy 433698519a Mock the test case for AnimatedImage binding value update 2020-01-31 13:28:27 +08:00
DreamPiggy 3ccd9968fe Update the test case about onViewCreate/onViewUpdate/onViewDestroy 2020-01-28 18:58:58 +08:00
DreamPiggy b94f3a514e Added Indicator and Transition test case 2020-01-28 18:49:41 +08:00
DreamPiggy 65c48938c1 Fix the macOS support issue, using the folked Introspect for AppKit support 2020-01-27 16:54:39 +08:00
DreamPiggy 1bf9417ab6 Add the Unit Test for AnimatedImage and WebImage, by using ViewInspector and Introspect 2020-01-27 14:55:58 +08:00