Home
last modified time | relevance | path

Searched defs:HardwareConfig (Results 1 – 4 of 4) sorted by relevance

/external/rust/android-crates-io/crates/serialport/tests/
Dtest_baudrate.rs45 fn test_standard_baud_rate(hw_config: HardwareConfig, #[case] baud: u32) { in test_standard_baud_rate()
62 hw_config: HardwareConfig, in test_non_standard_baud_rate_fails_where_not_supported()
80 hw_config: HardwareConfig, in test_non_standard_baud_rate_succeeds_where_supported()
97 fn test_standard_baud_rate(hw_config: HardwareConfig, #[case] baud: u32) { in test_standard_baud_rate()
111 hw_config: HardwareConfig, in test_non_standard_baud_rate_fails_where_not_supported()
126 hw_config: HardwareConfig, in test_non_standard_baud_rate_succeeds_where_supported()
140 fn test_standard_baud_rate(hw_config: HardwareConfig, #[case] baud: u32) { in test_standard_baud_rate()
159 hw_config: HardwareConfig, in test_non_standard_baud_rate_fails_where_not_supported()
180 hw_config: HardwareConfig, in test_non_standard_baud_rate_succeeds_where_supported()
Dtest_serialport.rs20 fn test_opening_found_ports(hw_config: HardwareConfig) { in test_opening_found_ports()
30 fn test_opening_port(hw_config: HardwareConfig) { in test_opening_port()
36 fn test_opening_native_port(hw_config: HardwareConfig) { in test_opening_native_port()
44 fn test_configuring_ports(hw_config: HardwareConfig) { in test_configuring_ports()
57 fn test_duplicating_port_config(hw_config: HardwareConfig) { in test_duplicating_port_config()
Dconfig.rs12 pub struct HardwareConfig { struct
23 pub fn hw_config() -> HardwareConfig { in hw_config() argument
Dtest_timeout.rs18 hw_config: HardwareConfig, in test_read_returns_available_data_before_timeout()
96 fn test_timeout_zero(hw_config: HardwareConfig, #[case] message: &[u8]) { in test_timeout_zero()
146 fn test_timeout_greater_zero(hw_config: HardwareConfig, #[case] timeout: Duration) { in test_timeout_greater_zero()
186 fn test_timeout_max(hw_config: HardwareConfig) { in test_timeout_max()