ruffle/tests/framework/src
Kamil Jarosz 8e6e71b2f7 web: Download the file on FileReference.save
This patch adds support for saving files on web using FileReference.
When writing data, a download is triggered with the default file name.
Currently, there's no dialog that lets the user select save destination.

This patch also ensures that all implementations of FileDialogResult
behave the same way: desktop, web, and tests.
The methods `write` and `refresh` have been merged into one:
`write_and_refresh`, which allows the tests and web implementations
behave the same way as desktop.
2024-05-07 22:26:30 +02:00
..
backends web: Download the file on FileReference.save 2024-05-07 22:26:30 +02:00
backends.rs tests: Move TestUiBackend to backends/ui.rs 2023-11-10 22:02:18 +01:00
environment.rs tests: Make Environment::create_renderer only make one renderer, not N amount 2024-01-26 18:59:06 +01:00
fs_commands.rs tests: Move test framework into its own crate 2023-11-10 22:02:18 +01:00
image_trigger.rs tests: Move test framework into its own crate 2023-11-10 22:02:18 +01:00
lib.rs tests: Don't set logger in test framework, it's the responsibility of the caller 2024-01-18 16:07:24 +01:00
options.rs chore: Bump `image` to `v0.25`, without the `dxt` feature 2024-03-19 00:14:48 +01:00
runner.rs tests: Add missing text control codes 2024-05-06 22:17:41 +02:00
test.rs tests: Turn Test::run() into Test::create_test_runner() - handle running externally 2024-01-26 18:59:06 +01:00
util.rs chore: Bump `image` to `v0.25`, without the `dxt` feature 2024-03-19 00:14:48 +01:00