Refactor the unit test directory structure
Changes
- Moved some common Cargo dependencies used by unit tests to the workspace root.
- Deleted unused features and dependencies in examples and unit tests.
- Moved UniFFI unit tests from
teststotests/uniffi. - Created crate
uniffi-kmm-fixture-build-commonintests/build-commoncontaining the scaffolding generation logic used by all unit tests. - Moved Rust files from
uniffito other directories in each unit test, using the same structure inexamples/.-
tests/uniffi/<test name>/uniffi/*->tests/uniffi/<test name>/* -
tests/uniffi/<test name>/uniffi/src/<test name>.udl->tests/uniffi/<test name>/src/<test name>.udl -
tests/uniffi/<test name>/uniffi/src/*.rs->tests/uniffi/<test name>/src/commonMain/rust/*.rs
-
Edited by Chanjung Kim