Просмотр исходного кода

Round 190sw tests: the extras list has 75 lines (playlist.routingCables); About's support button now lives in MainComponent::showAboutWindow

Ka1-S 5 дней назад
Родитель
Сommit
0bcdf60822
2 измененных файлов с 5 добавлено и 3 удалено
  1. 4 2
      tests/Donate190fqTests.inc
  2. 1 1
      tests/Extras190amTests.inc

+ 4 - 2
tests/Donate190fqTests.inc

@@ -198,6 +198,8 @@ TEST (donate190fq_help_has_support_next_to_about_in_every_layout)
     const auto blockEnd = ui.find ("menu.addItem (tr (\"Shortcuts\")", simpleOnly);
     CHECK (simpleOnly != std::string::npos && blockEnd != std::string::npos && blockEnd < item);
     CHECK (ui.find ("layoutStyle", blockEnd) > item); // (no layout condition between the common items and it)
-    // the About window's button opens the same window
-    CHECK (ui.find ("if (result == 2) // \"Support LYNX SHARE\"\n                                             support::showSupportWindow();") != std::string::npos);
+    // the About window's button opens the same window (round 190sw: in MainComponent::showAboutWindow, which the Mac
+    // application menu's About uses too)
+    CHECK (ui.find ("if (result == 2) // \"Support LYNX SHARE\"\n                                     support::showSupportWindow();") != std::string::npos);
+    CHECK (ui.find ("menu.addItem (tr (\"About LYNX SHARE\"), [this] { showAboutWindow(); });") != std::string::npos);
 }

+ 1 - 1
tests/Extras190amTests.inc

@@ -23,7 +23,7 @@ TEST (extras190am_extras_list)
         // ... that names the switch's own place (rollup 0.1.32 step 3: round 190qi's lists have no other switch, and say so)
         CHECK (item.note.find ("Also ") != std::string_view::npos || item.note.find ("Its only switch is here.") != std::string_view::npos);
     }
-    CHECK (count == 74); // (round 190sr: mixer.altClickDeletes, issue #320; editing.selectToolResizes, issue #273; PR #344, FKHR26: playlist.alwaysPianoRoll; round 190so: playlist.pinnedTracks, playlist.mixerRows, playlist.wideMeters, toolbar.meterValues, toolbar.secondaryTime, playlist.markerNumberKeys, general.emptyDoubleClick; round 190se: browser.doubleClickAdds, issue #323; round 190rs: playlist.routingHints; round 190ro: editing.zoomKeysLynx; rollup 0.1.32 step 3: theme.tracksFromAccent, plugins.recent, plugins.oneRow, browser.midiPreview, browser.tabCompletes listed; round 190qw: theme.softLook; round 190qu: simple.dropStrip; rollup 0.1.32 step 2: mixer.peakValues, mixer.correlation, audioEditor.wheelScrolls, toolbar.grouped listed; round 190qk: general.stretchedClipsLoop, listed; round 190qr: editing.zoomAtSongPosition, playlist.gainHandleFollowsView, export.doneSound, export.doneWindow; round 190qo: file.alwaysCollect, export.noDialog; round 190qm: playlist.darkenMutedTracks, PR #268, on by default; round 190qj: playlist.dimUnselectedTracks, PR #267, on by default; round 190pm: simple.touchMode; round 190pf: playlist.chordLane, pianoRoll.chordHighlight; round 190pe: playlist.trackVersions; round 190pa: playlist.rangeEdits; round 190oq: editing.muteKeyToggles, general.startPage; round 190op: playlist.trackStates; round 190on: pianoRoll.stackedLanes; round 190ol: playlist.sectionsLane; round 190oo: playlist.shadeFadedAudio, project.clipLaunchStrips, simple.projectName, playlist.clipLanesFolded, controlBar.liveScale; round 190nq: playlist.rulerSeeksAnyTool; round 190ng: general.escCloses; round 190lo: polyEdit.prepareOnOpen; round 190kx: simple.loopDetect; round 190gz: project.linkTracks; round 190ht: playlist.trackInserts; round 190io: mixer.stripInserts; round 190iu: wheel zones, temporary tools, MIDI drop, Track-only; round 190jq: header width, pointer click, clip lanes; round 190jz: transport.wToStart)
+    CHECK (count == 75); // (round 190sw: playlist.routingCables, issue #292; round 190sr: mixer.altClickDeletes, issue #320; editing.selectToolResizes, issue #273; PR #344, FKHR26: playlist.alwaysPianoRoll; round 190so: playlist.pinnedTracks, playlist.mixerRows, playlist.wideMeters, toolbar.meterValues, toolbar.secondaryTime, playlist.markerNumberKeys, general.emptyDoubleClick; round 190se: browser.doubleClickAdds, issue #323; round 190rs: playlist.routingHints; round 190ro: editing.zoomKeysLynx; rollup 0.1.32 step 3: theme.tracksFromAccent, plugins.recent, plugins.oneRow, browser.midiPreview, browser.tabCompletes listed; round 190qw: theme.softLook; round 190qu: simple.dropStrip; rollup 0.1.32 step 2: mixer.peakValues, mixer.correlation, audioEditor.wheelScrolls, toolbar.grouped listed; round 190qk: general.stretchedClipsLoop, listed; round 190qr: editing.zoomAtSongPosition, playlist.gainHandleFollowsView, export.doneSound, export.doneWindow; round 190qo: file.alwaysCollect, export.noDialog; round 190qm: playlist.darkenMutedTracks, PR #268, on by default; round 190qj: playlist.dimUnselectedTracks, PR #267, on by default; round 190pm: simple.touchMode; round 190pf: playlist.chordLane, pianoRoll.chordHighlight; round 190pe: playlist.trackVersions; round 190pa: playlist.rangeEdits; round 190oq: editing.muteKeyToggles, general.startPage; round 190op: playlist.trackStates; round 190on: pianoRoll.stackedLanes; round 190ol: playlist.sectionsLane; round 190oo: playlist.shadeFadedAudio, project.clipLaunchStrips, simple.projectName, playlist.clipLanesFolded, controlBar.liveScale; round 190nq: playlist.rulerSeeksAnyTool; round 190ng: general.escCloses; round 190lo: polyEdit.prepareOnOpen; round 190kx: simple.loopDetect; round 190gz: project.linkTracks; round 190ht: playlist.trackInserts; round 190io: mixer.stripInserts; round 190iu: wheel zones, temporary tools, MIDI drop, Track-only; round 190jq: header width, pointer click, clip lanes; round 190jz: transport.wToStart)
     for (const auto* id : { "mixer.loudness", "mixer.usedOnly", "mixer.keepLostLinks", "mixer.followPlaylist", "playlist.automationLanes",
                             "pianoRoll.songBarsRuler", "general.hoverValues", "playlist.trackInserts", "mixer.stripInserts", "playlist.dimUnselectedTracks" })
         CHECK (ids.count (id) == 1);