|
@@ -23,7 +23,7 @@ namespace Avalonia.UnitTests
|
|
assetLoader: new AssetLoader(),
|
|
assetLoader: new AssetLoader(),
|
|
platform: new AppBuilder().RuntimePlatform,
|
|
platform: new AppBuilder().RuntimePlatform,
|
|
renderInterface: new MockPlatformRenderInterface(),
|
|
renderInterface: new MockPlatformRenderInterface(),
|
|
- standardCursorFactory: Mock.Of<IStandardCursorFactory>(),
|
|
|
|
|
|
+ standardCursorFactory: Mock.Of<ICursorFactory>(),
|
|
styler: new Styler(),
|
|
styler: new Styler(),
|
|
theme: () => CreateDefaultTheme(),
|
|
theme: () => CreateDefaultTheme(),
|
|
threadingInterface: Mock.Of<IPlatformThreadingInterface>(x => x.CurrentThreadIsLoopThread == true),
|
|
threadingInterface: Mock.Of<IPlatformThreadingInterface>(x => x.CurrentThreadIsLoopThread == true),
|
|
@@ -70,7 +70,7 @@ namespace Avalonia.UnitTests
|
|
IPlatformRenderInterface renderInterface = null,
|
|
IPlatformRenderInterface renderInterface = null,
|
|
IRenderTimer renderLoop = null,
|
|
IRenderTimer renderLoop = null,
|
|
IScheduler scheduler = null,
|
|
IScheduler scheduler = null,
|
|
- IStandardCursorFactory standardCursorFactory = null,
|
|
|
|
|
|
+ ICursorFactory standardCursorFactory = null,
|
|
IStyler styler = null,
|
|
IStyler styler = null,
|
|
Func<Styles> theme = null,
|
|
Func<Styles> theme = null,
|
|
IPlatformThreadingInterface threadingInterface = null,
|
|
IPlatformThreadingInterface threadingInterface = null,
|
|
@@ -111,7 +111,7 @@ namespace Avalonia.UnitTests
|
|
public IFontManagerImpl FontManagerImpl { get; }
|
|
public IFontManagerImpl FontManagerImpl { get; }
|
|
public ITextShaperImpl TextShaperImpl { get; }
|
|
public ITextShaperImpl TextShaperImpl { get; }
|
|
public IScheduler Scheduler { get; }
|
|
public IScheduler Scheduler { get; }
|
|
- public IStandardCursorFactory StandardCursorFactory { get; }
|
|
|
|
|
|
+ public ICursorFactory StandardCursorFactory { get; }
|
|
public IStyler Styler { get; }
|
|
public IStyler Styler { get; }
|
|
public Func<Styles> Theme { get; }
|
|
public Func<Styles> Theme { get; }
|
|
public IPlatformThreadingInterface ThreadingInterface { get; }
|
|
public IPlatformThreadingInterface ThreadingInterface { get; }
|
|
@@ -130,7 +130,7 @@ namespace Avalonia.UnitTests
|
|
IPlatformRenderInterface renderInterface = null,
|
|
IPlatformRenderInterface renderInterface = null,
|
|
IRenderTimer renderLoop = null,
|
|
IRenderTimer renderLoop = null,
|
|
IScheduler scheduler = null,
|
|
IScheduler scheduler = null,
|
|
- IStandardCursorFactory standardCursorFactory = null,
|
|
|
|
|
|
+ ICursorFactory standardCursorFactory = null,
|
|
IStyler styler = null,
|
|
IStyler styler = null,
|
|
Func<Styles> theme = null,
|
|
Func<Styles> theme = null,
|
|
IPlatformThreadingInterface threadingInterface = null,
|
|
IPlatformThreadingInterface threadingInterface = null,
|