Create a minimal [`Backend`] for unit tests. This is the in-crate equivalent of `create_test_backend()` in the integration test helpers (`tests/common/mod.rs`).
()
| 19 | /// This is the in-crate equivalent of `create_test_backend()` in the |
| 20 | /// integration test helpers (`tests/common/mod.rs`). |
| 21 | pub fn make_backend() -> Backend { |
| 22 | Backend::new_test() |
| 23 | } |
| 24 | |
| 25 | // Note: `Visibility` is still needed by `make_class` and `make_constant`. |
| 26 |