diff --git a/test/AvaloniaEdit.Tests/AvaloniaEdit.Tests.csproj b/test/AvaloniaEdit.Tests/AvaloniaEdit.Tests.csproj
index 1d5d78ca..59ab4818 100644
--- a/test/AvaloniaEdit.Tests/AvaloniaEdit.Tests.csproj
+++ b/test/AvaloniaEdit.Tests/AvaloniaEdit.Tests.csproj
@@ -5,13 +5,14 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
diff --git a/test/AvaloniaEdit.Tests/AvaloniaMocks/MockFontManagerImpl.cs b/test/AvaloniaEdit.Tests/AvaloniaMocks/MockFontManagerImpl.cs
deleted file mode 100644
index 678b1db2..00000000
--- a/test/AvaloniaEdit.Tests/AvaloniaMocks/MockFontManagerImpl.cs
+++ /dev/null
@@ -1,64 +0,0 @@
-using System.Diagnostics.CodeAnalysis;
-using System.Globalization;
-using System.IO;
-
-using Avalonia.Media;
-using Avalonia.Platform;
-
-namespace AvaloniaEdit.AvaloniaMocks
-{
- public class MockFontManagerImpl : IFontManagerImpl
- {
- private readonly string _defaultFamilyName;
-
- public MockFontManagerImpl(string defaultFamilyName = "Default")
- {
- _defaultFamilyName = defaultFamilyName;
- }
-
- public int TryCreateGlyphTypefaceCount { get; private set; }
-
- public string GetDefaultFontFamilyName()
- {
- return _defaultFamilyName;
- }
-
- string[] IFontManagerImpl.GetInstalledFontFamilyNames(bool checkForUpdates)
- {
- return new[] { _defaultFamilyName };
- }
-
- public bool TryMatchCharacter(int codepoint, FontStyle fontStyle, FontWeight fontWeight,
- FontStretch fontStretch,
- CultureInfo culture, out Typeface fontKey)
- {
- fontKey = new Typeface(_defaultFamilyName);
-
- return false;
- }
-
- public virtual bool TryCreateGlyphTypeface(string familyName, FontStyle style, FontWeight weight,
- FontStretch stretch, [NotNullWhen(true)] out IGlyphTypeface glyphTypeface)
- {
- glyphTypeface = null;
-
- TryCreateGlyphTypefaceCount++;
-
- if (familyName == "Unknown")
- {
- return false;
- }
-
- glyphTypeface = new MockGlyphTypeface();
-
- return true;
- }
-
- public virtual bool TryCreateGlyphTypeface(Stream stream, out IGlyphTypeface glyphTypeface)
- {
- glyphTypeface = new MockGlyphTypeface();
-
- return true;
- }
- }
-}
diff --git a/test/AvaloniaEdit.Tests/AvaloniaMocks/MockGlyphRun.cs b/test/AvaloniaEdit.Tests/AvaloniaMocks/MockGlyphRun.cs
deleted file mode 100644
index 377c6e31..00000000
--- a/test/AvaloniaEdit.Tests/AvaloniaMocks/MockGlyphRun.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-using Avalonia;
-using Avalonia.Media.TextFormatting;
-using Avalonia.Platform;
-using System.Collections.Generic;
-
-namespace AvaloniaEdit.AvaloniaMocks
-{
- internal class MockGlyphRun : IGlyphRunImpl
- {
- public MockGlyphRun(IReadOnlyList glyphInfos)
- {
- var width = 0.0;
-
- for (var i = 0; i < glyphInfos.Count; ++i)
- {
- width += glyphInfos[i].GlyphAdvance;
- }
-
- Bounds = new Rect(new Size(width, 10));
- }
-
- public Rect Bounds { get; }
-
- public Point BaselineOrigin => new Point(0, 8);
-
- public void Dispose()
- {
-
- }
-
- public IReadOnlyList GetIntersections(float lowerBound, float upperBound)
- {
- return null;
- }
- }
-}
diff --git a/test/AvaloniaEdit.Tests/AvaloniaMocks/MockGlyphTypeface.cs b/test/AvaloniaEdit.Tests/AvaloniaMocks/MockGlyphTypeface.cs
deleted file mode 100644
index 279aed08..00000000
--- a/test/AvaloniaEdit.Tests/AvaloniaMocks/MockGlyphTypeface.cs
+++ /dev/null
@@ -1,81 +0,0 @@
-using Avalonia.Media;
-
-using System;
-
-namespace AvaloniaEdit.AvaloniaMocks
-{
- public class MockGlyphTypeface : IGlyphTypeface
- {
- public FontMetrics Metrics => new FontMetrics
- {
- DesignEmHeight = 10,
- Ascent = 2,
- Descent = 10,
- IsFixedPitch = true
- };
-
- public FontStretch Stretch { get; }
- public int GlyphCount => 1337;
-
- public FontSimulations FontSimulations => throw new NotImplementedException();
-
- public ushort GetGlyph(uint codepoint)
- {
- return (ushort)codepoint;
- }
-
- public ushort[] GetGlyphs(ReadOnlySpan codepoints)
- {
- return new ushort[codepoints.Length];
- }
-
- public int GetGlyphAdvance(ushort glyph)
- {
- return 8;
- }
-
- public bool TryGetGlyph(uint codepoint, out ushort glyph)
- {
- glyph = 8;
-
- return true;
- }
-
- public static int GlyphAdvance => 8;
-
- public int[] GetGlyphAdvances(ReadOnlySpan glyphs)
- {
- var advances = new int[glyphs.Length];
-
- for (var i = 0; i < advances.Length; i++)
- {
- advances[i] = GlyphAdvance;
- }
-
- return advances;
- }
-
- public void Dispose() { }
-
- public bool TryGetTable(uint tag, out byte[] table)
- {
- table = null;
- return false;
- }
-
- public string FamilyName => "";
- public FontWeight Weight => FontWeight.Normal;
- public FontStyle Style => FontStyle.Normal;
-
- public bool TryGetGlyphMetrics(ushort glyph, out GlyphMetrics metrics)
- {
- metrics = new GlyphMetrics
- {
- Width = 10,
- Height = 10
- };
-
- return true;
- }
- }
-}
diff --git a/test/AvaloniaEdit.Tests/AvaloniaMocks/MockPlatformHotkeyConfiguration.cs b/test/AvaloniaEdit.Tests/AvaloniaMocks/MockPlatformHotkeyConfiguration.cs
deleted file mode 100644
index 31f78549..00000000
--- a/test/AvaloniaEdit.Tests/AvaloniaMocks/MockPlatformHotkeyConfiguration.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using Avalonia.Input.Platform;
-
-namespace AvaloniaEdit.AvaloniaMocks
-{
- public class MockPlatformHotkeyConfiguration : PlatformHotkeyConfiguration
- {
- public MockPlatformHotkeyConfiguration() : base(Avalonia.Input.KeyModifiers.Control)
- {
-
- }
-
- }
-}
diff --git a/test/AvaloniaEdit.Tests/AvaloniaMocks/MockPlatformRenderInterface.cs b/test/AvaloniaEdit.Tests/AvaloniaMocks/MockPlatformRenderInterface.cs
deleted file mode 100644
index 0d004579..00000000
--- a/test/AvaloniaEdit.Tests/AvaloniaMocks/MockPlatformRenderInterface.cs
+++ /dev/null
@@ -1,191 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.IO;
-using Avalonia;
-using Avalonia.Media;
-using Avalonia.Media.Imaging;
-using Avalonia.Media.TextFormatting;
-using Avalonia.Platform;
-using Moq;
-
-namespace AvaloniaEdit.AvaloniaMocks
-{
- public class MockPlatformRenderInterface : IPlatformRenderInterface, IPlatformRenderInterfaceContext
- {
- public IGeometryImpl CreateEllipseGeometry(Rect rect)
- {
- return Moq.Mock.Of();
- }
-
- public IGeometryImpl CreateLineGeometry(Point p1, Point p2)
- {
- return Moq.Mock.Of();
- }
-
- public IGeometryImpl CreateRectangleGeometry(Rect rect)
- {
- return Moq.Mock.Of(x => x.Bounds == rect);
- }
-
- class MockRenderTarget : IRenderTarget
- {
- public void Dispose()
- {
-
- }
-
- public IDrawingContextImpl CreateDrawingContext()
- {
- var m = new Mock();
- m.Setup(c => c.CreateLayer(It.IsAny()))
- .Returns(() =>
- {
- var r = new Mock();
- r.Setup(r => r.CreateDrawingContext())
- .Returns(CreateDrawingContext());
- return r.Object;
- }
- );
- return m.Object;
-
- }
-
- public bool IsCorrupted => false;
- }
-
- public IRenderTarget CreateRenderTarget(IEnumerable