├── .github ├── FUNDING.yml └── workflows │ └── ci.yml ├── .gitignore ├── CHANGELOG.md ├── Cargo.toml ├── README.md ├── mry ├── Cargo.toml ├── src │ ├── lib.rs │ ├── mock │ │ ├── log.rs │ │ └── mod.rs │ ├── mock_locator.rs │ ├── mock_locator │ │ └── times.rs │ ├── mockable.rs │ ├── mocks.rs │ ├── mry.rs │ ├── rule │ │ ├── behavior.rs │ │ ├── matcher.rs │ │ └── mod.rs │ └── static_mocks.rs └── tests │ ├── crate_bound │ ├── Cargo.toml │ └── src │ │ └── lib.rs │ ├── crate_bound_consumer │ ├── Cargo.toml │ └── src │ │ └── lib.rs │ ├── integration │ ├── async_fn_in_trait.rs │ ├── async_fn_trait_variant.rs │ ├── async_method.rs │ ├── async_trait.rs │ ├── bounds.rs │ ├── complex_clone.rs │ ├── function_style_macro.rs │ ├── generics.rs │ ├── impl_trait.rs │ ├── iterator.rs │ ├── main.rs │ ├── many_arguments.rs │ ├── mock_trait.rs │ ├── mut_param.rs │ ├── nested_mock.rs │ ├── non_send.rs │ ├── not_clone.rs │ ├── partial_mock.rs │ ├── raw_pointer.rs │ ├── reference_and_pattern.rs │ ├── returns_with_recursive_call.rs │ ├── simple_case.rs │ ├── skip_arg.rs │ ├── skip_fns.rs │ ├── static_function.rs │ └── track_caller.rs │ └── serde │ ├── Cargo.toml │ └── src │ └── lib.rs ├── mry_macros ├── Cargo.toml └── src │ ├── attrs.rs │ ├── create_behaviors.rs │ ├── create_matchers.rs │ ├── item_fn.rs │ ├── item_impl.rs │ ├── item_struct.rs │ ├── item_trait.rs │ ├── lib.rs │ ├── lock.rs │ ├── method.rs │ └── new.rs └── tools └── check-ci.sh /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: ryo33 2 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/Cargo.toml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/README.md -------------------------------------------------------------------------------- /mry/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/Cargo.toml -------------------------------------------------------------------------------- /mry/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/src/lib.rs -------------------------------------------------------------------------------- /mry/src/mock/log.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/src/mock/log.rs -------------------------------------------------------------------------------- /mry/src/mock/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/src/mock/mod.rs -------------------------------------------------------------------------------- /mry/src/mock_locator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/src/mock_locator.rs -------------------------------------------------------------------------------- /mry/src/mock_locator/times.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/src/mock_locator/times.rs -------------------------------------------------------------------------------- /mry/src/mockable.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/src/mockable.rs -------------------------------------------------------------------------------- /mry/src/mocks.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/src/mocks.rs -------------------------------------------------------------------------------- /mry/src/mry.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/src/mry.rs -------------------------------------------------------------------------------- /mry/src/rule/behavior.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/src/rule/behavior.rs -------------------------------------------------------------------------------- /mry/src/rule/matcher.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/src/rule/matcher.rs -------------------------------------------------------------------------------- /mry/src/rule/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/src/rule/mod.rs -------------------------------------------------------------------------------- /mry/src/static_mocks.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/src/static_mocks.rs -------------------------------------------------------------------------------- /mry/tests/crate_bound/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/tests/crate_bound/Cargo.toml -------------------------------------------------------------------------------- /mry/tests/crate_bound/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/tests/crate_bound/src/lib.rs -------------------------------------------------------------------------------- /mry/tests/crate_bound_consumer/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/tests/crate_bound_consumer/Cargo.toml -------------------------------------------------------------------------------- /mry/tests/crate_bound_consumer/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/tests/crate_bound_consumer/src/lib.rs -------------------------------------------------------------------------------- /mry/tests/integration/async_fn_in_trait.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/tests/integration/async_fn_in_trait.rs -------------------------------------------------------------------------------- /mry/tests/integration/async_fn_trait_variant.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/tests/integration/async_fn_trait_variant.rs -------------------------------------------------------------------------------- /mry/tests/integration/async_method.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/tests/integration/async_method.rs -------------------------------------------------------------------------------- /mry/tests/integration/async_trait.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/tests/integration/async_trait.rs -------------------------------------------------------------------------------- /mry/tests/integration/bounds.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/tests/integration/bounds.rs -------------------------------------------------------------------------------- /mry/tests/integration/complex_clone.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/tests/integration/complex_clone.rs -------------------------------------------------------------------------------- /mry/tests/integration/function_style_macro.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/tests/integration/function_style_macro.rs -------------------------------------------------------------------------------- /mry/tests/integration/generics.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/tests/integration/generics.rs -------------------------------------------------------------------------------- /mry/tests/integration/impl_trait.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/tests/integration/impl_trait.rs -------------------------------------------------------------------------------- /mry/tests/integration/iterator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/tests/integration/iterator.rs -------------------------------------------------------------------------------- /mry/tests/integration/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/tests/integration/main.rs -------------------------------------------------------------------------------- /mry/tests/integration/many_arguments.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/tests/integration/many_arguments.rs -------------------------------------------------------------------------------- /mry/tests/integration/mock_trait.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/tests/integration/mock_trait.rs -------------------------------------------------------------------------------- /mry/tests/integration/mut_param.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/tests/integration/mut_param.rs -------------------------------------------------------------------------------- /mry/tests/integration/nested_mock.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/tests/integration/nested_mock.rs -------------------------------------------------------------------------------- /mry/tests/integration/non_send.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/tests/integration/non_send.rs -------------------------------------------------------------------------------- /mry/tests/integration/not_clone.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/tests/integration/not_clone.rs -------------------------------------------------------------------------------- /mry/tests/integration/partial_mock.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/tests/integration/partial_mock.rs -------------------------------------------------------------------------------- /mry/tests/integration/raw_pointer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/tests/integration/raw_pointer.rs -------------------------------------------------------------------------------- /mry/tests/integration/reference_and_pattern.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/tests/integration/reference_and_pattern.rs -------------------------------------------------------------------------------- /mry/tests/integration/returns_with_recursive_call.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/tests/integration/returns_with_recursive_call.rs -------------------------------------------------------------------------------- /mry/tests/integration/simple_case.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/tests/integration/simple_case.rs -------------------------------------------------------------------------------- /mry/tests/integration/skip_arg.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/tests/integration/skip_arg.rs -------------------------------------------------------------------------------- /mry/tests/integration/skip_fns.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/tests/integration/skip_fns.rs -------------------------------------------------------------------------------- /mry/tests/integration/static_function.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/tests/integration/static_function.rs -------------------------------------------------------------------------------- /mry/tests/integration/track_caller.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/tests/integration/track_caller.rs -------------------------------------------------------------------------------- /mry/tests/serde/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/tests/serde/Cargo.toml -------------------------------------------------------------------------------- /mry/tests/serde/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry/tests/serde/src/lib.rs -------------------------------------------------------------------------------- /mry_macros/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry_macros/Cargo.toml -------------------------------------------------------------------------------- /mry_macros/src/attrs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry_macros/src/attrs.rs -------------------------------------------------------------------------------- /mry_macros/src/create_behaviors.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry_macros/src/create_behaviors.rs -------------------------------------------------------------------------------- /mry_macros/src/create_matchers.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry_macros/src/create_matchers.rs -------------------------------------------------------------------------------- /mry_macros/src/item_fn.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry_macros/src/item_fn.rs -------------------------------------------------------------------------------- /mry_macros/src/item_impl.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry_macros/src/item_impl.rs -------------------------------------------------------------------------------- /mry_macros/src/item_struct.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry_macros/src/item_struct.rs -------------------------------------------------------------------------------- /mry_macros/src/item_trait.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry_macros/src/item_trait.rs -------------------------------------------------------------------------------- /mry_macros/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry_macros/src/lib.rs -------------------------------------------------------------------------------- /mry_macros/src/lock.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry_macros/src/lock.rs -------------------------------------------------------------------------------- /mry_macros/src/method.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry_macros/src/method.rs -------------------------------------------------------------------------------- /mry_macros/src/new.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/mry_macros/src/new.rs -------------------------------------------------------------------------------- /tools/check-ci.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryo33/mry/HEAD/tools/check-ci.sh --------------------------------------------------------------------------------