mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-07 19:22:14 +09:00
fix: tighten edge cases across services (#3158)
This commit is contained in:
@@ -912,7 +912,7 @@ mod tests {
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn variant_payload_carries_u32_value() {
|
||||
fn variant_payload_holds_u32_value() {
|
||||
let v = MfxVariant {
|
||||
version: MfxStructVersion {
|
||||
minor: MFX_VARIANT_VERSION_MINOR,
|
||||
|
||||
@@ -863,7 +863,7 @@ mod tests {
|
||||
for (sequence, duplicate_count) in by_sequence.iter().take(7) {
|
||||
assert_eq!(*duplicate_count, 0, "sequence {sequence} not duplicated");
|
||||
}
|
||||
assert_eq!(by_sequence[7], (8, 1), "newest carries the lagged frame");
|
||||
assert_eq!(by_sequence[7], (8, 1), "newest holds the lagged frame");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
@@ -310,7 +310,7 @@ mod tests {
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn link_props_carry_per_port_routing() {
|
||||
fn link_props_include_per_port_routing() {
|
||||
let props = build_link_props(101, 7, 202, 13);
|
||||
let dict = props.dict();
|
||||
assert_eq!(dict.get("link.output.node"), Some("101"));
|
||||
|
||||
@@ -579,7 +579,7 @@ mod tests {
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
fn decoded_keydown_carries_keysym_and_name() {
|
||||
fn decoded_keydown_has_keysym_and_name() {
|
||||
let mut event = DecodedEvent::new(EventKind::KeyDown, modifiers::from_state(0));
|
||||
event.keycode = 0x0061;
|
||||
event.key_name = keymap::keysym_to_name(0x0061).unwrap().to_string();
|
||||
|
||||
@@ -1319,7 +1319,7 @@ mod tests {
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn format_pod_with_modifiers_carries_mandatory_dont_fixate_choice() {
|
||||
fn format_pod_with_modifiers_has_mandatory_dont_fixate_choice() {
|
||||
let bytes = serialize_video_format_pod(VideoFormat::BGRA, Some(&DMABUF_MODIFIERS_BASELINE))
|
||||
.expect("modifier pod serializes");
|
||||
let obj = deserialize_format_object(&bytes);
|
||||
|
||||
@@ -2008,7 +2008,7 @@ mod dispatch_queue_tests {
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn audio_frame_payload_into_input_carries_slot_and_metadata() {
|
||||
fn audio_frame_payload_into_input_keeps_slot_and_metadata() {
|
||||
use crate::audio_pool::MacAudioFramePool;
|
||||
let pool = MacAudioFramePool::new(2, 64).expect("pool");
|
||||
let mut slot = pool.try_acquire().expect("slot");
|
||||
@@ -2114,7 +2114,7 @@ mod dispatch_queue_tests {
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn build_capture_config_carries_audio_settings() {
|
||||
fn build_capture_config_includes_audio_settings() {
|
||||
let cfg = super::build_capture_config(
|
||||
30,
|
||||
true,
|
||||
@@ -2129,7 +2129,7 @@ mod dispatch_queue_tests {
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn start_options_carry_cursor_color_and_rect_intent() {
|
||||
fn start_options_include_cursor_color_and_rect_intent() {
|
||||
let options = super::normalize_start_options(Some(super::ScreenCaptureStartOptions {
|
||||
show_cursor_clicks: Some(true),
|
||||
capture_rect: Some(super::ScreenCaptureRect {
|
||||
|
||||
@@ -157,7 +157,7 @@ describe('Windows Start Menu shortcut repair', () => {
|
||||
assert.equal(harness.files.has(AUTHOR_SHORTCUT), false);
|
||||
});
|
||||
|
||||
test('still rewrites the author shortcut carrying the legacy AppUserModelID', async () => {
|
||||
test('still rewrites the author shortcut with the legacy AppUserModelID', async () => {
|
||||
const harness = loadWindowsShortcuts([[AUTHOR_SHORTCUT, lnkBuffer(CURRENT_EXE, LEGACY_APP_USER_MODEL_ID)]]);
|
||||
|
||||
await runRepair(harness);
|
||||
|
||||
Reference in New Issue
Block a user