mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-29 04:28:20 -06:00
refactor(ui-egui): move open_worker_tests.rs to platform/open_worker/tests.rs
This commit is contained in:
@@ -52,9 +52,6 @@ pub mod i18n;
|
||||
pub mod theme;
|
||||
mod widgets;
|
||||
|
||||
#[cfg(all(test, not(target_arch = "wasm32")))]
|
||||
mod open_worker_tests;
|
||||
|
||||
use pdfcraft_engine::{DocId, Session};
|
||||
|
||||
pub use canvas::{DocView, RasterMemory};
|
||||
|
||||
@@ -206,3 +206,6 @@ pub(crate) fn prepare_gate() -> (Arc<PrepareGate>, Receiver<()>, Sender<()>, Rec
|
||||
let (finished, finished_rx) = mpsc::channel();
|
||||
(Arc::new(PrepareGate { started, release: Mutex::new(release), finished }), started_rx, release_tx, finished_rx)
|
||||
}
|
||||
|
||||
#[cfg(all(test, not(target_arch = "wasm32")))]
|
||||
mod tests;
|
||||
|
||||
Reference in New Issue
Block a user