forge
Explore
Log in

Don't you dare go Hollow

Test clip literals learn the transition field

Browse files at this commit

82061a97458744f4748fa4677ee5068e8dc88f0fAhmet Kaan GümüşParent: 1a6b8d1
  • fix
    • test clip literals learn the transition field
Show full message
🐛 fix(app): test clip literals learn the transition field
crates/app/src/tests/editing.rsmodified+3 -0
@@ -617,6 +617,7 @@ fn the_clip_menu_dims_what_the_playhead_is_not_on_and_stays_in_the_window() {
617 let clip = Clip {617 let clip = Clip {
618 fade_in: 0,618 fade_in: 0,
619 fade_out: 0,619 fade_out: 0,
620+ transition_out: 0,
620 start: 30,621 start: 30,
621 in_frame: 0,622 in_frame: 0,
622 out_frame: 60,623 out_frame: 60,
@@ -989,6 +990,7 @@ fn a_menu_offers_only_what_applies_and_is_drawn_inside_the_window() {
989 let clip = Clip {990 let clip = Clip {
990 fade_in: 0,991 fade_in: 0,
991 fade_out: 0,992 fade_out: 0,
993+ transition_out: 0,
992 start: 30,994 start: 30,
993 in_frame: 0,995 in_frame: 0,
994 out_frame: 60,996 out_frame: 60,
@@ -1621,6 +1623,7 @@ fn a_copied_clip_is_renumbered_or_dropped_when_a_row_leaves_the_library() {
1621 let clip = |source: usize| Clip {1623 let clip = |source: usize| Clip {
1622 fade_in: 0,1624 fade_in: 0,
1623 fade_out: 0,1625 fade_out: 0,
1626+ transition_out: 0,
1624 start: 0,1627 start: 0,
1625 in_frame: 0,1628 in_frame: 0,
1626 out_frame: 30,1629 out_frame: 30,
crates/app/src/tests/layout.rsmodified+1 -0
@@ -803,6 +803,7 @@ fn a_drop_moves_the_clip_that_was_picked_up_not_its_old_index() {
803 let at = |start: u32| Clip {803 let at = |start: u32| Clip {
804 fade_in: 0,804 fade_in: 0,
805 fade_out: 0,805 fade_out: 0,
806+ transition_out: 0,
806 start,807 start,
807 in_frame: 0,808 in_frame: 0,
808 out_frame: 30,809 out_frame: 30,
crates/app/src/tests/view.rsmodified+1 -0
@@ -149,6 +149,7 @@ fn the_marks_are_every_lane_the_playhead_and_the_start() {
149 let clip = |start: u32, frames: u32, link| Clip {149 let clip = |start: u32, frames: u32, link| Clip {
150 fade_in: 0,150 fade_in: 0,
151 fade_out: 0,151 fade_out: 0,
152+ transition_out: 0,
152 start,153 start,
153 in_frame: 0,154 in_frame: 0,
154 out_frame: frames,155 out_frame: frames,