pub struct SmokeConfig {
pub max_dom_complete_ms: u64,
pub max_heap_mb: f64,
}Expand description
Configuration for the smoke test suite.
let config = victauri_test::smoke::SmokeConfig::default();
assert_eq!(config.max_dom_complete_ms, 10_000);Fields§
§max_dom_complete_ms: u64Maximum acceptable DOM complete time in milliseconds (default: 10 000).
max_heap_mb: f64Maximum acceptable JS heap usage in megabytes (default: 512).
Trait Implementations§
Source§impl Clone for SmokeConfig
impl Clone for SmokeConfig
Source§fn clone(&self) -> SmokeConfig
fn clone(&self) -> SmokeConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SmokeConfig
impl Debug for SmokeConfig
Auto Trait Implementations§
impl Freeze for SmokeConfig
impl RefUnwindSafe for SmokeConfig
impl Send for SmokeConfig
impl Sync for SmokeConfig
impl Unpin for SmokeConfig
impl UnsafeUnpin for SmokeConfig
impl UnwindSafe for SmokeConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more