4 changed files with 25 additions and 3 deletions
@ -0,0 +1,21 @@ |
|||||
|
using System; |
||||
|
using Moq; |
||||
|
using Perspex.Platform; |
||||
|
|
||||
|
namespace Perspex.Controls.UnitTests.Primitives |
||||
|
{ |
||||
|
class WindowingPlatformMock : IWindowingPlatform |
||||
|
{ |
||||
|
public IWindowImpl CreateWindow() |
||||
|
{ |
||||
|
return new Mock<IWindowImpl>().Object; |
||||
|
} |
||||
|
|
||||
|
public IWindowImpl CreateDesignerFriendlyWindow() |
||||
|
{ |
||||
|
throw new NotImplementedException(); |
||||
|
} |
||||
|
|
||||
|
public IPopupImpl CreatePopup() => new Mock<IPopupImpl>().Object; |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue