Ted Felix's Rosegarden Test Plan *** SegmentResizer Minimum Limit (commit 11901) Resize Segment Start, Snap - Given a document with a segment. - Grab the start of the segment and resize it. - Make sure the segment snaps and resizes. Resize Segment Start, Continuous - Given a document with a segment. - While holding down shift, grab the start of the segment and resize it. - Make sure the segment resizes smoothly. Resize Segment Start to Minimum, Snap - Given a document with a segment. - Grab the start of the segment and resize it down to the smallest you can. - Try to move the mouse well past the end. - Make sure the segment snaps and resizes to the snap size. Resize Segment Start to Minimum, Continuous - Given a document with a segment. - While holding down shift, grab the start of the segment and resize it down to the smallest you can. - Try to move the mouse well past the end. - Make sure the segment resizes smoothly to the smallest note duration. It should still be visible. Resize Segment End, Snap - Given a document with a segment. - Grab the end of the segment and resize it. - Make sure the segment snaps and resizes. Resize Segment End, Continuous - Given a document with a segment. - While holding down shift, grab the end of the segment and resize it. - Make sure the segment resizes smoothly. Resize Segment End to Minimum, Snap - Given a document with a segment. - Grab the end of the segment and resize it down to the smallest you can. - Try to move the mouse well past the start. - Make sure the segment snaps and resizes to the snap size. Resize Segment End to Minimum, Continuous - Given a document with a segment. - While holding down shift, grab the end of the segment and resize it down to the smallest you can. - Try to move the mouse well past the start. - Make sure the segment resizes smoothly to the smallest note duration. It should still be visible. *** TimeWidget Minimum Limit (commit 11940) Set Segment Duration by Dialog - Given a document with a segment - Select the segment, then from the menu, select Segment > Set Duration - Attempt to make the duration 0 via the "Units" field. - Attempt to make the duration 0 via the Measures/beats/64ths fields. - Attempt to make the duration 0 via the Seconds/msec fields. - In all cases, verify that the "Units" field never goes below 60. Set Durations in Event List Editor - Given a document with a segment - Bring up the Event List Editor. Right-click on segment > Open in EventList Editor - Insert a note event. Go to Edit > Insert Event. Click on the Duration "Edit" button and pick "whole note" (semibreve). Click on Ok then Ok. - Edit the note event by double-clicking on it in the event list. - Click on the Duration "Edit" button and make sure the duration cannot be set less than 1. Click on OK. - Reset the Duration to a whole note (semibreve) again for the next test. See the previous steps. - In the "Notation Properties" group box, uncheck "Lock to changes in performed values". - Click on the Notation duration "Edit" button and make sure the duration cannot be set to less than 1. Click on OK. Insert Range - Given a document with a segment. - Place the playback pointer in the segment (click in the grey ruler just above the tracks). - Edit > Insert Range... - In the "Duration of empty range to insert" dialog, attempt to select zero. Note that Units will never be less than 1. Segment Stretch or Squash (Rescale) - Given a document with a segment. - Segment > Stretch or Squash... - Verify that you cannot set the duration to less than 60 in the Units field. Matrix View Stretch or Squash (Rescale) - Given a document with a segment. - Right-click on the segment and select "Open in Matrix Editor" - Add a note event by clicking in the matrix (pencil tool should be selected with an empty segment). - Note that this event is selected. There's a blue outline. - Adjust > Rescale > Stretch or Squash - Verify that "1" is the minimum duration possible here. Notation View Stretch or Squash (Rescale) - Given a document with a segment. - Right-click on the segment and select "Open in Notation Editor" - Add a note by clicking in the staff (pencil tool should be selected with an empty segment). - Note that this event is selected. It's blue. - Adjust > Rescale > Stretch or Squash - Verify that "1" is the minimum duration possible here. EditViewBase::slotSetSegmentDuration() - Not sure how to get this routine to run. May be dead. - This one should limit duration to 60. TriggerSegmentManager::slotAdd() - Not sure how to get this routine to run. May be dead. - Since I had no idea, I made this one allow a duration of zero. *** Split Split Tool (F7), zero-length segments (commit 11941) - Given a document with a one bar long segment, use the split tool (F7) to split the segment at the beginning. - Go to the Edit menu and note that there is no "undo" for a split. - Switch to the arrow tool (F2) and move the segment left one beat. - Note that the track stays single height indicating there is no zero-length segment. - With the split tool (F7), split the segment at the end. - Go to the Edit menu and note that there is no "undo" for a split. - Switch to the arrow tool (F2) and move the segment right one beat. - Note that the track stays single height indicating there is no zero-length segment. Split Tool (F7), zero-length AUDIO segments (commit 11942) - Given a document with an audio segment, use the split tool (F7) to split the segment at the beginning. - Go to the edit menu and note that there is no "undo" for a split. - Switch to the arrow tool (F2) and move the segment left one beat. - Note that the track stays single height indicating there is no zero-length segment. - Audio segments typically do not end on a beat, so reposition the segment end by grabbing it and moving it to a beat. - With the split tool (F7), split the segment at the end. - Go to the Edit menu and note that there is no "undo" for a split. - Switch to the arrow tool (F2) and move the segment right one beat. - Note that the track stays single height indicating there is no zero-length segment. Split Dialog, split outside selected segments (commit 11943) - Create a document with four segments. 1. A one bar segment at Track 1, Bar 2 2. A one bar segment at Track 1, Bar 4 3. A one bar segment at Track 2, Bar 2, Beat 3 4. A one bar segment at Track 2, Bar 3, Beat 3 - Make sure all the segments are selected (grey). Use Ctrl-A to select all, or shift-click on each of them. - Place the play cursor roughly at Bar 3 Beat 3. - Go to Segment > Split > Split at Time... in the menu. - Make sure the split will be precisely at Bar 3 Beat 3 as follows: 1. Make sure the "Measure" is 3. 2. Make sure the "beat" is 3. 3. Move the "64ths" so that it changes (e.g. if it's at 0, change it to 1), then move it to 0. - Note that the seconds are 5 and msec is 0. - Click on OK. - Check the Edit menu to make sure there is no "undo" for a split. - Note that the segments are not changed in any way. Split Dialog, split outside selected AUDIO segments (commit 11943) - Same as the previous test case, but use audio segments this time. - Grab the right hand edge of an audio segment and resize it to one bar. - Use Ctrl-Click-Drag to make the required four segments as described.