Fixed another copy paste bug, changed speaker icon to button
This commit is contained in:
@@ -55,6 +55,10 @@
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Filtration.Common\Filtration.Common.csproj">
|
||||
<Project>{8cb44f28-2956-4c2a-9314-72727262edd4}</Project>
|
||||
<Name>Filtration.Common</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Filtration.ObjectModel\Filtration.ObjectModel.csproj">
|
||||
<Project>{4aac3beb-1dc1-483e-9d11-0e9334e80227}</Project>
|
||||
<Name>Filtration.ObjectModel</Name>
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
using System.Windows.Media;
|
||||
using Filtration.Common.Services;
|
||||
using Filtration.ObjectModel;
|
||||
using Filtration.ObjectModel.BlockItemTypes;
|
||||
using Filtration.ObjectModel.Enums;
|
||||
using Filtration.ObjectModel.ThemeEditor;
|
||||
using Filtration.ThemeEditor.Services;
|
||||
using Moq;
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace Filtration.ThemeEditor.Tests.Services
|
||||
@@ -27,8 +29,9 @@ namespace Filtration.ThemeEditor.Tests.Services
|
||||
var testInputThemeComponent = new ThemeComponent(ThemeComponentType.TextColor, "Test Component 1", testInputThemeComponentColor);
|
||||
testInputTheme.Components.Add(testInputThemeComponent);
|
||||
testInputBlockItem.ThemeComponent = testInputThemeComponent;
|
||||
var mockMessageBoxService = new Mock<IMessageBoxService>();
|
||||
|
||||
var service = new ThemeService();
|
||||
var service = new ThemeService(mockMessageBoxService.Object);
|
||||
|
||||
// Act
|
||||
service.ApplyThemeToScript(testInputTheme, testInputScript);
|
||||
@@ -54,8 +57,10 @@ namespace Filtration.ThemeEditor.Tests.Services
|
||||
var testInputBlockItemThemeComponent = new ThemeComponent(ThemeComponentType.TextColor, "Different Component", testInputThemeComponentColor);
|
||||
testInputTheme.Components.Add(testInputThemeComponent);
|
||||
testInputBlockItem.ThemeComponent = testInputBlockItemThemeComponent;
|
||||
|
||||
var mockMessageBoxService = new Mock<IMessageBoxService>();
|
||||
|
||||
var service = new ThemeService();
|
||||
var service = new ThemeService(mockMessageBoxService.Object);
|
||||
|
||||
// Act
|
||||
service.ApplyThemeToScript(testInputTheme, testInputScript);
|
||||
|
||||
Reference in New Issue
Block a user