Browse Source

Add mocks for geometry impls.

pull/2375/head
Dariusz Komosinski 8 years ago
parent
commit
12fc28e2d0
  1. 6
      tests/Avalonia.UnitTests/MockPlatformRenderInterface.cs

6
tests/Avalonia.UnitTests/MockPlatformRenderInterface.cs

@ -24,17 +24,17 @@ namespace Avalonia.UnitTests
public IEllipseGeometryImpl CreateEllipseGeometry(Rect rect) public IEllipseGeometryImpl CreateEllipseGeometry(Rect rect)
{ {
throw new NotImplementedException(); return Mock.Of<IEllipseGeometryImpl>();
} }
public ILineGeometryImpl CreateLineGeometry(Point p1, Point p2) public ILineGeometryImpl CreateLineGeometry(Point p1, Point p2)
{ {
throw new NotImplementedException(); return Mock.Of<ILineGeometryImpl>();
} }
public IRectangleGeometryImpl CreateRectangleGeometry(Rect rect) public IRectangleGeometryImpl CreateRectangleGeometry(Rect rect)
{ {
throw new NotImplementedException(); return Mock.Of<IRectangleGeometryImpl>();
} }
public IRenderTarget CreateRenderTarget(IEnumerable<object> surfaces) public IRenderTarget CreateRenderTarget(IEnumerable<object> surfaces)

Loading…
Cancel
Save