FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    FerroTestAssembly

    struct · ferroui-headless · v0.5.0

    struct FerroTestAssembly
    

    A test assembly as the session sees it: its name, by which HeadlessUnitTestSession::get_or_start_for_assembly keeps one session per assembly, and the two assembly attributes of the original. A test crate declares one as a static.

    View source

    Members

    name

    name: &'static str
    

    The name of the assembly: the name of the test crate, or of a part of it that has an application and an isolation level of its own.

    Source

    test_application

    test_application: Option<crate::FerroTestApplicationAttribute>
    

    The application of the tests; an empty application when None.

    Source

    test_isolation

    test_isolation: Option<crate::FerroTestIsolationAttribute>
    

    The isolation of the tests; FerroTestIsolationLevel::PerTest when None.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ClassDefaults
    • Debug
    • ErasedDestructor
    • IntoEither

    Availability

    Extracted for x86_64-unknown-linux-gnu, aarch64-apple-darwin. Cargo features are listed in the crate index.