Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dev:tnp [2012/03/01 00:24]
tedfelix Added Add and Delete Track Test Plans
dev:tnp [2022/04/14 23:23]
tedfelix [Test Plans]
Line 3: Line 3:
 ===== Goal ===== ===== Goal =====
 To implement a consistent notification mechanism whereby Boundary (User Interface) objects make changes directly to Entity (Document) objects and use a notification (Observer) mechanism within the Entities to inform the rest of the system of changes. To implement a consistent notification mechanism whereby Boundary (User Interface) objects make changes directly to Entity (Document) objects and use a notification (Observer) mechanism within the Entities to inform the rest of the system of changes.
 +
 +We are now moving toward an even simpler approach where a single notification mechanism (documentModified()) is used across all of rg for most things.  See [[dev:update_notifications|Update Notifications]] for more.
  
 ===== Secondary Goal ===== ===== Secondary Goal =====
Line 12: Line 14:
 ===== Test Plans ===== ===== Test Plans =====
  
 +See bug #1625 for another test case that is missing here.  Add it.
 ==== TrackButtons Test Plan ==== ==== TrackButtons Test Plan ====
  
   - Run the Add Track Test Plan (below)   - Run the Add Track Test Plan (below)
 +    * PASS, 4/25/2012, TB::sUT removed from TE::pE 
   - Run the Delete Track Test Plan (below)   - Run the Delete Track Test Plan (below)
 +    * PASS, 4/25/2012, TB::sUT removed from TE::pE 
   - Run the TrackLabel Test Plan (below)   - Run the TrackLabel Test Plan (below)
 +    * PASS, 4/25/2012, TB::sUT removed from TE::pE 
   - Run the Mute Test Plan (below)   - Run the Mute Test Plan (below)
 +    * PASS, 4/25/2012, TB::sUT removed from TE::pE 
   - Run the Arm (Record) Test Plan (below)   - Run the Arm (Record) Test Plan (below)
-  - Move track up/down.  Menu.  KeyboardShift-Up/Down.   +    * PASS, 4/25/2012, TB::sUT removed from TE::pE  
-    * fails with m_trackButtons->slotUpdateTracks() call in TrackEditor::paintEvent() removed+  - Run the Change Track Name Test Plan (below) 
 +    * PASS, 4/27/2012, TB::sUT removed from TE::pE  
 +  Move Track Up/Down Test Plan (below) 
 +    * PASS, 4/29/2012, TB::sUT() removed from TE::pE()
   - Select next track via menu and down arrow.   - Select next track via menu and down arrow.
   - Select previous track via menu and up arrow.   - Select previous track via menu and up arrow.
   - Contemporaneous segments on a track.     - Contemporaneous segments on a track.  
-    * fails with m_trackButtons->slotUpdateTracks() call in TrackEditor::paintEvent() removed+    * FAIL, TrackButtons::slotUpdateTracks() removed from TrackEditor::paintEvent()
   - Right click and switch from MIDI to audio to synth plugin.  The record LED color will change.  Yellow for MIDI, red for audio, and orange for synth.     - Right click and switch from MIDI to audio to synth plugin.  The record LED color will change.  Yellow for MIDI, red for audio, and orange for synth.  
   - ??? more...   - ??? more...
Line 175: Line 185:
     * TranzportClient::trackRecord()     * TranzportClient::trackRecord()
     * Same procedure as with the button.     * Same procedure as with the button.
 +
 +==== Change Track Name Test Plan ====
 +
 +  - Change Track Name Basic
 +    - Bring up rg
 +    - Change a track's name by double-clicking on the label and entering a new name.
 +    - Note that the name has changed on the track.
 +    - Note that the name has changed in the Track Parameters box.
 +    - Undo the name change.
 +    - Note that the name has changed on the track.
 +    - Note that the name has changed in the Track Parameters box.
 +  - Notation View
 +    - Bring up rg.  Drop a segment on the canvas.
 +    - Select the segment and bring up the notation view (press "N").
 +    - Change the track name and switch back to the notation view.
 +    - The name should have changed to the left of the staff.
 +      * FAIL (has always failed)
 +      * Add a new note in the notation view and the name will change.
 +  - Matrix View
 +    - Bring up rg.  Drop a segment on the canvas.
 +    - Select the segment and bring up the matrix view (press "M").
 +    - Change the track name and switch back to the matrix view.
 +    - The name should have changed in the titlebar.
 +  - Percussion Matrix View
 +    - Bring up rg.  Drop a segment on the canvas.
 +    - Select the segment and bring up the percussion matrix view (press "D").
 +    - Change the track name and switch back to the percussion matrix view.
 +    - The name should have changed in the titlebar.
 +  - Pitch Tracker View (PitchTrackerView)
 +    * Derives from NotationView, so will probably fail like NotationView.
 +  - Load .rg File
 +    - Load a .rg file
 +    - Make sure the track names are correct.
 +  - Load MIDI File
 +    - Load a standard MIDI file.
 +    - Make sure the track names are correct.
 +  - Load Music XML
 +    - Import a Music XML file.
 +    - Make sure the track names are correct.
 +  - Tranzport  (TranzportClient::trackChanged())
 +    - Select a track.
 +    - Note that the track's name shows up on the Tranzport
 +    - Change the track's name
 +    - Note that the name changes on the Tranzport
 +
 +==== Move Track Up/Down Test Plan ====
 +
 +  - Move Track Up Via Menu
 +    - Set up track names that will make it easier to see tracks moving (e.g. "Track 1", "Track 2", etc...)
 +    - Select "Track 2"
 +    - Tracks > Move Track Up
 +    - Note that Track 1 and Track 2 have traded places.
 +    - Try selecting Tracks 1 and 2.  Note proper behavior.
 +    - Try right-clicking Tracks 1 and 2.  Note proper behavior.
 +    - Undo
 +    - Note that Track 1 and Track 2 are back to where they were.
 +    - Try selecting Tracks 1 and 2.  Note proper behavior.
 +    - Try right-clicking Tracks 1 and 2.  Note proper behavior.
 +  - Move Track Down Via Menu
 +    - Set up track names that will make it easier to see tracks moving (e.g. "Track 1", "Track 2", etc...)
 +    - Select "Track 2"
 +    - Tracks > Move Track Down
 +    - Note that Track 2 and Track 3 have traded places.
 +    - Try selecting Tracks 2 and 3.  Note proper behavior.
 +    - Try right-clicking Tracks 2 and 3.  Note proper behavior.
 +    - Undo
 +    - Note that Track 2 and Track 3 are back to where they were.
 +    - Try selecting Tracks 2 and 3.  Note proper behavior.
 +    - Try right-clicking Tracks 2 and 3.  Note proper behavior.
 +  - Move Track Up Via Keyboard
 +    - Set up track names that will make it easier to see tracks moving (e.g. "Track 1", "Track 2", etc...)
 +    - Select "Track 2"
 +    - Press Shift + Up Arrow
 +    - Note that Track 1 and Track 2 have traded places.
 +    - Try selecting Tracks 1 and 2.  Note proper behavior.
 +    - Try right-clicking Tracks 1 and 2.  Note proper behavior.
 +    - Undo
 +    - Note that Track 1 and Track 2 are back to where they were.
 +    - Try selecting Tracks 1 and 2.  Note proper behavior.
 +    - Try right-clicking Tracks 1 and 2.  Note proper behavior.
 +  - Move Track Down Via Keyboard
 +    - Set up track names that will make it easier to see tracks moving (e.g. "Track 1", "Track 2", etc...)
 +    - Select "Track 2"
 +    - Press Shift + Down Arrow
 +    - Note that Track 2 and Track 3 have traded places.
 +    - Try selecting Tracks 2 and 3.  Note proper behavior.
 +    - Try right-clicking Tracks 2 and 3.  Note proper behavior.
 +    - Undo
 +    - Note that Track 2 and Track 3 are back to where they were.
 +    - Try selecting Tracks 2 and 3.  Note proper behavior.
 +    - Try right-clicking Tracks 2 and 3.  Note proper behavior.
 +
  
 
 
dev/tnp.txt · Last modified: 2022/06/16 08:04 (external edit)
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki