Add comprehensive tests for EditSection functionality in the Windows application

- Implement tests for picker behavior, including loading sequences, searching, and handling empty libraries.
- Validate sequence opening via Enter key and double-click actions.
- Ensure proper handling of unsaved edits and sequence deletion scenarios.
- Verify accessibility features for picker rows across different languages.
- Introduce a dialog counting mechanism to manage unsaved edit confirmations.
This commit is contained in:
Alby96 committed 2026-10-19 12:10:42 +02:00
1 parent 4ea44bb917
commit 5aeb6aa787
214 files changed
+6547 -826

No files matched your search

+29 -6
View File
@@ -35,7 +35,7 @@
<data name="Tooltips.Archive.DeletePlan" xml:space="preserve"><value>What moves to the archive's trash, and what cannot move</value></data>
<data name="Tooltips.Archive.DeleteUndo" xml:space="preserve"><value>Bring the sequences back from the trash into their folders</value></data>
<data name="Tooltips.Archive.DuplicateFolder" xml:space="preserve"><value>Show the folder of the first copy in Explorer</value></data>
<data name="Tooltips.Archive.DuplicateOpen" xml:space="preserve"><value>Open the sequence of the first copy in the editor</value></data>
<data name="Tooltips.Archive.DuplicateOpen" xml:space="preserve"><value>Open the sequence of the first copy in Edit</value></data>
<data name="Tooltips.Archive.Duplicates" xml:space="preserve"><value>Find identical photos across sequences by hash · reads the index only</value></data>
<data name="Tooltips.Archive.Expand" xml:space="preserve"><value>Show the sequences of this year</value></data>
<data name="Tooltips.Archive.FilterCamera" xml:space="preserve"><value>Keep only the sequences of one camera</value></data>
@@ -105,6 +105,12 @@
<data name="Tooltips.Editor.Analyse" xml:space="preserve"><value>Read every frame again and refresh the analysis · Ctrl+Shift+A</value></data>
<data name="Tooltips.Editor.AnalyseCost" xml:space="preserve"><value>Read every frame again and refresh the analysis · about {0} · Ctrl+Shift+A</value></data>
<data name="Tooltips.Editor.AnalyseQueued" xml:space="preserve"><value>An analysis of this sequence is already queued or running</value></data>
<data name="Tooltips.Editor.Analysis.Flagged" xml:space="preserve"><value>Black, white, duplicate or unreadable frames; Frames excludes them</value></data>
<data name="Tooltips.Editor.Analysis.Flicker" xml:space="preserve"><value>How far brightness strays from its smooth course before correction; Exposure removes it</value></data>
<data name="Tooltips.Editor.Analysis.GoTo" xml:space="preserve"><value>Open {0}, the step that deals with this · Alt+{1}</value><comment>{0} the step's name, {1} its number</comment></data>
<data name="Tooltips.Editor.Analysis.Light" xml:space="preserve"><value>Day, night or a transition between them, from the sun's position at the GPS location and capture time, else from the frames' brightness</value></data>
<data name="Tooltips.Editor.Analysis.Shake" xml:space="preserve"><value>How far the camera wobbles around its smooth path; Motion stabilises it</value></data>
<data name="Tooltips.Editor.Analysis.Steps" xml:space="preserve"><value>Exposure changes in the metadata that the pixels really show; Exposure smooths them</value></data>
<data name="Tooltips.Editor.Auto.Default" xml:space="preserve"><value>Auto: no advice yet, the engine’s default applies; Analyse lets the advisor decide</value></data>
<data name="Tooltips.Editor.Back" xml:space="preserve"><value>Back to Library</value></data>
<data name="Tooltips.Editor.Busy" xml:space="preserve"><value>An analysis or render of this sequence is running; settings wait until it ends</value></data>
@@ -121,6 +127,7 @@
<data name="Tooltips.Editor.Camera.OffsetY" xml:space="preserve"><value>Moves the crop up or down inside the frame</value></data>
<data name="Tooltips.Editor.Camera.RemoveKey" xml:space="preserve"><value>Remove the selected keyframe</value></data>
<data name="Tooltips.Editor.Camera.Zoom" xml:space="preserve"><value>Zoom of the selected keyframe; 1 shows the whole crop, more zooms in and softens</value></data>
<data name="Tooltips.Editor.Change" xml:space="preserve"><value>Choose another sequence to edit; this one is saved first · Ctrl+O</value></data>
<data name="Tooltips.Editor.Chart.Flicker" xml:space="preserve"><value>Frame-to-frame brightness change before and after the correction</value></data>
<data name="Tooltips.Editor.Chart.Luminance" xml:space="preserve"><value>Measured luminance against the target curve, sky region and exposure steps</value></data>
<data name="Tooltips.Editor.Chart.Plan" xml:space="preserve"><value>Video frames each photo is shown for, cuts marked · click shows that frame</value></data>
@@ -198,6 +205,11 @@
<data name="Tooltips.Editor.Outdated" xml:space="preserve"><value>Frames were added or removed on {0} since the proxies were fetched; get them again to edit or render</value></data>
<data name="Tooltips.Editor.Outdated.Fetch" xml:space="preserve"><value>Fetch the proxies again and reopen the sequence; the job bar shows the download</value></data>
<data name="Tooltips.Editor.Pause" xml:space="preserve"><value>Pause · Space</value></data>
<data name="Tooltips.Editor.Picker.Cancel" xml:space="preserve"><value>Keep editing {0} · Esc</value><comment>{0} the open sequence's title</comment></data>
<data name="Tooltips.Editor.Picker.Clear" xml:space="preserve"><value>Show every sequence again</value></data>
<data name="Tooltips.Editor.Picker.Open" xml:space="preserve"><value>Open the selected sequence · Enter</value></data>
<data name="Tooltips.Editor.Picker.Row" xml:space="preserve"><value>Double-click or Enter opens it in Edit</value></data>
<data name="Tooltips.Editor.Picker.Search" xml:space="preserve"><value>Filter by title, camera or tag as you type · ↓ goes to the list · Enter opens · Esc clears</value></data>
<data name="Tooltips.Editor.Play" xml:space="preserve"><value>Play the frames · Space; arrows step one frame</value></data>
<data name="Tooltips.Editor.Preview.Clip" xml:space="preserve"><value>Play ten seconds of the video’s frames with the current settings</value></data>
<data name="Tooltips.Editor.Preview.Compare" xml:space="preserve"><value>Wipe compare: original on the left, corrected on the right; drag the line</value></data>
@@ -221,7 +233,7 @@
<data name="Tooltips.Editor.RemoteReadOnly" xml:space="preserve"><value>Shown from {0}; your account can look at this sequence but not change it</value></data>
<data name="Tooltips.Editor.Render" xml:space="preserve"><value>Render with the selected preset; progress in the job bar · Ctrl+R</value></data>
<data name="Tooltips.Editor.Render.NameError" xml:space="preserve"><value>Fix the file name first: {0}</value></data>
<data name="Tooltips.Editor.Render.NoFrames" xml:space="preserve"><value>Every frame is excluded: include some in the Frames tab</value></data>
<data name="Tooltips.Editor.Render.NoFrames" xml:space="preserve"><value>Every frame is excluded: include some in the Frames step</value></data>
<data name="Tooltips.Editor.Render.NoRight" xml:space="preserve"><value>Your account cannot render on {0}</value></data>
<data name="Tooltips.Editor.Render.NoSource" xml:space="preserve"><value>The frame size is unknown: the frames could not be read</value></data>
<data name="Tooltips.Editor.Render.Planning" xml:space="preserve"><value>Working out the render; ready in a moment</value></data>
@@ -238,10 +250,21 @@
<data name="Tooltips.Editor.ServerJob.Retry" xml:space="preserve"><value>Queue the job on {0} again from its last checkpoint</value></data>
<data name="Tooltips.Editor.Stack.Length" xml:space="preserve"><value>Frames combined into each output frame; trails and smoothing grow with it</value></data>
<data name="Tooltips.Editor.Stack.Mode" xml:space="preserve"><value>Median and mean remove noise and moving things; star trails keep the brightest pixels</value></data>
<data name="Tooltips.Editor.Step" xml:space="preserve"><value>{0} · {1} · {2} · Alt+{3}</value><comment>invariant: {0} the step's name, {1} what it is for, {2} its state, {3} its number</comment></data>
<data name="Tooltips.Editor.Step.AnalysisUnavailable" xml:space="preserve"><value>The saved analysis cannot be used now (archive offline, file moved or damaged): reconnect the archive or press Analyse again</value></data>
<data name="Tooltips.Editor.Step.First" xml:space="preserve"><value>Analysis is the first step</value></data>
<data name="Tooltips.Editor.Step.Flagged.one" xml:space="preserve"><value>{0:N0} black, white, duplicate or unreadable frame is still in the video: Optimise section or Exclude takes it out</value></data>
<data name="Tooltips.Editor.Step.Flagged.other" xml:space="preserve"><value>{0:N0} black, white, duplicate or unreadable frames are still in the video: Optimise section or Exclude takes them out</value></data>
<data name="Tooltips.Editor.Step.FramesChanged" xml:space="preserve"><value>The saved analysis describes frames the sequence no longer has: press Analyse again</value></data>
<data name="Tooltips.Editor.Step.Next" xml:space="preserve"><value>Continue with {0} · Ctrl+PgDn</value><comment>{0} the next step's name</comment></data>
<data name="Tooltips.Editor.Step.NextSequence" xml:space="preserve"><value>Choose the next sequence to edit · Ctrl+O</value></data>
<data name="Tooltips.Editor.Step.Outdated" xml:space="preserve"><value>The settings changed since the last render: render again for a video with them</value></data>
<data name="Tooltips.Editor.Step.Previous" xml:space="preserve"><value>Back to {0} · Ctrl+PgUp</value><comment>{0} the previous step's name</comment></data>
<data name="Tooltips.Editor.Tab.Analysis" xml:space="preserve"><value>What the deep analysis measured and found, and which step deals with each finding</value></data>
<data name="Tooltips.Editor.Tab.Camera" xml:space="preserve"><value>Crop, aspect, virtual camera moves</value></data>
<data name="Tooltips.Editor.Tab.Export" xml:space="preserve"><value>Presets, output, batch, history</value></data>
<data name="Tooltips.Editor.Tab.Exposure" xml:space="preserve"><value>Deflicker, regions, day-night transitions, white balance</value></data>
<data name="Tooltips.Editor.Tab.Frames" xml:space="preserve"><value>Frame table, warnings, exclusions</value></data>
<data name="Tooltips.Editor.Tab.Frames" xml:space="preserve"><value>Frame table, frame warnings, exclusions</value></data>
<data name="Tooltips.Editor.Tab.Motion" xml:space="preserve"><value>Motion blur, optical flow, stabilisation</value></data>
<data name="Tooltips.Editor.Tab.Stack" xml:space="preserve"><value>Median and star-trail stacking</value></data>
<data name="Tooltips.Editor.Tab.Time" xml:space="preserve"><value>Frame rate, timing mode, speed curve</value></data>
@@ -374,7 +397,7 @@
<data name="Tooltips.Library.Mass.Upload.other" xml:space="preserve"><value>Send what the server lacks of {0:N0} sequences (originals and settings, or renders) · runs as transfer jobs</value></data>
<data name="Tooltips.Library.Mass.Verify.one" xml:space="preserve"><value>Re-read {0:N0} sequence and compare every hash with the index · runs as a job</value></data>
<data name="Tooltips.Library.Mass.Verify.other" xml:space="preserve"><value>Re-read {0:N0} sequences and compare every hash with the index · runs as a job per archive</value></data>
<data name="Tooltips.Library.Open" xml:space="preserve"><value>Open in the sequence editor · Enter</value></data>
<data name="Tooltips.Library.Open" xml:space="preserve"><value>Open in Edit · Enter</value></data>
<data name="Tooltips.Library.OpenArchive" xml:space="preserve"><value>Use an existing archive folder on this PC or the network</value></data>
<data name="Tooltips.Library.Origin" xml:space="preserve"><value>Show the sequences on this PC, only those on the server, or both</value></data>
<data name="Tooltips.Library.Proxies" xml:space="preserve"><value>Build JPEG proxies for fast editing · runs as a job</value></data>
@@ -436,10 +459,10 @@
<data name="Tooltips.Nav.About" xml:space="preserve"><value>Version, diagnostics and links</value></data>
<data name="Tooltips.Nav.Archive" xml:space="preserve"><value>Scan, verify and maintain the archive · Ctrl+4</value></data>
<data name="Tooltips.Nav.Collapsed" xml:space="preserve"><value>{0} · {1}</value><comment>invariant: a section's name, then its tooltip (navigation collapsed to icons)</comment></data>
<data name="Tooltips.Nav.Edit" xml:space="preserve"><value>Analyse, edit and render one sequence, step by step · Ctrl+3</value></data>
<data name="Tooltips.Nav.Import" xml:space="preserve"><value>Import photos from a card or folder · Ctrl+2</value></data>
<data name="Tooltips.Nav.Jobs" xml:space="preserve"><value>Queue and history of long operations · Ctrl+5</value></data>
<data name="Tooltips.Nav.Library" xml:space="preserve"><value>Browse every sequence of the archive · Ctrl+1</value></data>
<data name="Tooltips.Nav.Sequence" xml:space="preserve"><value>Edit and render the open sequence · Ctrl+3</value></data>
<data name="Tooltips.Nav.Server" xml:space="preserve"><value>Connection, sync and render node · Ctrl+6</value></data>
<data name="Tooltips.Nav.Settings" xml:space="preserve"><value>Preferences of this PC · Ctrl+,</value></data>
<data name="Tooltips.Server.Address" xml:space="preserve"><value>Address of the Titano Server; https is assumed · Enter connects</value></data>
@@ -485,7 +508,7 @@
<data name="Tooltips.Server.Sync.KeepMine" xml:space="preserve"><value>Overwrite the server copy with this PC's settings</value></data>
<data name="Tooltips.Server.Sync.LastSync" xml:space="preserve"><value>When this PC last compared every sequence with the server, and how long it took</value></data>
<data name="Tooltips.Server.Sync.OpenAdmin" xml:space="preserve"><value>Open the web admin in your browser (admins only)</value></data>
<data name="Tooltips.Server.Sync.OpenWithProxies" xml:space="preserve"><value>Open the editor on the proxies; the render runs on the server</value></data>
<data name="Tooltips.Server.Sync.OpenWithProxies" xml:space="preserve"><value>Open in Edit on the proxies; the render runs on the server</value></data>
<data name="Tooltips.Server.Sync.Pause" xml:space="preserve"><value>Pause this transfer; it resumes where it stopped</value></data>
<data name="Tooltips.Server.Sync.Resume" xml:space="preserve"><value>Resume this transfer where it stopped</value></data>
<data name="Tooltips.Server.Sync.Retrying" xml:space="preserve"><value>The last comparison failed: {0}. It is retried automatically.</value><comment>{0} reason</comment></data>