Skip to main content

lifecycle_conformance_tests

Macro lifecycle_conformance_tests 

macro_rules! lifecycle_conformance_tests {
    ($factory:expr $(,)?) => { ... };
    (@emit $factory:expr, $($check:ident),+ $(,)?) => { ... };
}
Expand description

Generates one test per lifecycle invariant for a backend factory.

Each generated test has a fixed invariant name. Invoke this macro in its own module to prevent name collisions with another expansion or local test.