Skip to main content

Module handlers

Module handlers 

Source
Expand description

Command handlers - extracted from main.rs for testability

Each handler module contains:

  • The execution logic for a CLI command
  • Pure helper functions
  • Comprehensive tests

Re-exports§

pub use comply::check_c001_code_execution;
pub use comply::check_c002_console_errors;
pub use comply::check_c003_custom_elements;
pub use comply::check_c004_threading_modes;
pub use comply::check_c005_low_memory;
pub use comply::check_c006_headers;
pub use comply::check_c007_replay_hash;
pub use comply::check_c008_cache;
pub use comply::check_c009_wasm_size;
pub use comply::check_c010_panic_paths;
pub use comply::check_makefile_cross_origin;
pub use comply::check_probar_cross_origin_config;
pub use comply::run_compliance_checks;
pub use comply::ComplianceResult;
pub use config::execute_config;
pub use coverage::calculate_coverage;
pub use coverage::create_sample_coverage_data;
pub use coverage::execute_coverage;
pub use coverage::generate_coverage_report;
pub use coverage::is_gap_cell;
pub use coverage::load_coverage_from_json;
pub use init::execute_init;
pub use init::generate_probar_config;
pub use init::is_valid_init_path;
pub use report::execute_report;
pub use report::generate_cobertura_report;
pub use report::generate_html_report;
pub use report::generate_json_report;
pub use report::generate_junit_report;
pub use report::generate_lcov_report;
pub use report::open_in_browser;

Modules§

animation
Animation verification command handler.
audio
Audio quality command handler.
av_sync
AV sync command handler.
build
Build command handler - pure functions for build validation
comply
Compliance check command handler
config
Config command handler
coverage
Coverage command handler
init
Init command handler
report
Report command handler
serve
Serve command handler - pure functions for dev server
video
Video quality command handler.