Add unit tests to pallet-xcm (#3539)
* init * reserve transfer asset unit test * happy path tests for all dispatchables and can teleport assets to self surprisingly enough * better tests * minimize mock * clean * test send xcm failure when router blocks * rm numbers to prefer variables * clean * test execute with local effects * rm local env stuff * copyrights * fix merge conflict * appease spellcheck * fmt * address review comments * clean constants * fmt
Showing
- polkadot/Cargo.lock 6 additions, 0 deletionspolkadot/Cargo.lock
- polkadot/xcm/pallet-xcm/Cargo.toml 8 additions, 0 deletionspolkadot/xcm/pallet-xcm/Cargo.toml
- polkadot/xcm/pallet-xcm/src/lib.rs 5 additions, 1 deletionpolkadot/xcm/pallet-xcm/src/lib.rs
- polkadot/xcm/pallet-xcm/src/mock.rs 214 additions, 0 deletionspolkadot/xcm/pallet-xcm/src/mock.rs
- polkadot/xcm/pallet-xcm/src/tests.rs 199 additions, 0 deletionspolkadot/xcm/pallet-xcm/src/tests.rs
Please register or sign in to comment