Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.
C# audio-converteravaloniabatch-conversionconvertercsharpdocument-converterdocx-to-pdfdotnetdrag-and-dropfile-conversionfile-converterheic-converterhwphwpximage-converterlinuxmacospdf-convertervideo-converterwindows
test: Edit pictures on the images donut front and in the palette's Edit tab; window screenshot
Claudebe5b0b60e3f9
diff --git a/tests/Filee.App.Tests/ImageEditWindowTests.cs b/tests/Filee.App.Tests/ImageEditWindowTests.csindex 490182d8..906c981c 100644--- a/tests/Filee.App.Tests/ImageEditWindowTests.cs+++ b/tests/Filee.App.Tests/ImageEditWindowTests.cs@@ -10,6 +10,7 @@ using Filee.Core.Localization;using Filee.Core.Presets;using Filee.Core.Settings;using ImageMagick;+using static Filee.App.Tests.RenderTests;namespace Filee.App.Tests;@@ -31,6 +32,8 @@ public class ImageEditWindowTestsvm.Rotation = vm.Rotations.Single(r => r.Value == ImageRotation.Right90);Assert.Equal("512 × 256 → 16 × 32", vm.SizeChange);vm.Grayscale = true;+ Pump();+ Save(window, "window-image-edit-en.png");vm.Convert();diff --git a/tests/Filee.App.Tests/RenderTests.cs b/tests/Filee.App.Tests/RenderTests.csindex 5412324c..c0fbf154 100644--- a/tests/Filee.App.Tests/RenderTests.cs+++ b/tests/Filee.App.Tests/RenderTests.cs@@ -918,7 +918,7 @@ public class RenderTestswindow.DonutControl.SetExternalHighlight(1);Pump();- Assert.Equal(10, vm.Items.Count); // with "Trace to SVG" and "Line art to SVG"+ Assert.Equal(11, vm.Items.Count); // with "Trace to SVG", "Line art to SVG" and "Edit pictures"Assert.Equal(title, vm.CenterTitle);Save(window, $"donut-images-{language}.png");window.Close();diff --git a/tests/Filee.App.Tests/ToolbarPaletteViewTests.cs b/tests/Filee.App.Tests/ToolbarPaletteViewTests.csindex 4e60e659..f8838e60 100644--- a/tests/Filee.App.Tests/ToolbarPaletteViewTests.cs+++ b/tests/Filee.App.Tests/ToolbarPaletteViewTests.cs@@ -482,15 +482,18 @@ public class ToolbarPaletteViewTestsAssert.Equal(PaletteTab.All, view.Selected);Assert.Contains("test-jpg", view.Chips);- // Back on JPG: All again. Its only edit preset goes on the donut, the Edit tab empties and All takes over.+ // Back on JPG: All again. Its only edit presets go on the donut, the Edit tab empties and All takes over.profiles.SelectedItem = vm.Profiles.Single(p => p.Profile == jpg);RenderTests.Pump();Assert.Equal(PaletteTab.All, view.Selected);view.ClickTab(PaletteTab.Edit);- Assert.Equal(["pdf-edit", "rotate", "flip", "test-group", "tool-crop"], view.Chips);+ Assert.Equal(["pdf-edit", "rotate", "flip", "test-group", "tool-crop", "tool-image-edit"], view.Chips);DoubleTap(view.Chip("tool-crop"));RenderTests.Pump();Assert.Equal(["tool-crop"], jpg.PresetIds);+ DoubleTap(view.Chip("tool-image-edit"));+ RenderTests.Pump();+ Assert.Equal(["tool-crop", "tool-image-edit"], jpg.PresetIds);Assert.DoesNotContain(PaletteTab.Edit, view.TabIds);Assert.Equal(PaletteTab.All, view.Selected);Assert.Equal(["pdf-edit", "rotate", "flip", "test-group", "extract-motion", "test-motion"], view.Chips);