Files
craft-libs/crates/ui-contract/tests/it/main.rs
T
Dylan M. Taylor 80ce862b7a fw sync fw-contract-core: resolve ui-contract contract/primitives conflicts with origin/next
Union of both sides: upstream's rewritten code (items_extent, scroll_rows, known rows, HostStep, EditorHandle,
prepare/run text split, drop_spot, roving_group/parts_group, counted tooltip texts, data_quad, add_shapes_in,
texture shown()) with the port's additions re-applied (middle scroll, hover delete, hovered row, menu request,
auto-width run, zoom anchor, report_sense, parts re-report, select_all, window-blur draft, modal-dialog escape,
crossing-axis part groups, WellFill, stacking/drag_to_root, break_anywhere, strikethrough, waited). Test module
lists are the union.
2026-11-22 22:59:25 -05:00

41 lines
1008 B
Rust

//! The integration binary of craft-ui-contract: every test is a registered trial.
// The test files name the library as `craft_ui`, as the crates that use it do.
extern crate craft_ui_contract as craft_ui;
pub(crate) mod access;
pub(crate) mod body;
pub(crate) mod canvas;
pub(crate) mod collection;
pub(crate) mod contract;
pub(crate) mod drag;
pub(crate) mod egui_surface;
pub(crate) mod fonts;
pub(crate) mod icon_ids;
pub(crate) mod keys_consumed;
pub(crate) mod layout;
pub(crate) mod motion;
pub(crate) mod paint;
pub(crate) mod runtime;
pub(crate) mod story_command_subsets;
pub(crate) mod style;
pub(crate) mod text;
pub(crate) mod textures;
craft_ui::registry!();
fn main() {
craft_ui::testing::run(
module_path!(),
env!("CARGO_PKG_NAME"),
&craft_ui::testing::Registry::of(&[
register,
craft_ui::testing::register,
craft_ui_test_kit::testing::register,
contract::visited_type::register_fixture,
]),
);
}