mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 04:37:30 +02:00
[Settings.UI.UnitTests][FancyZones] Uncomment test in CI (#14230)
* uncomment test * fix typo
This commit is contained in:
@@ -230,10 +230,7 @@ namespace ViewModelTests
|
|||||||
Assert.AreEqual(expected, actual);
|
Assert.AreEqual(expected, actual);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
[TestMethod]
|
||||||
* Temporarily commented out
|
|
||||||
*
|
|
||||||
[TestMethod]
|
|
||||||
public void MakeDraggedWindowsTransparentShouldSetValue2TrueWhenSuccessful()
|
public void MakeDraggedWindowsTransparentShouldSetValue2TrueWhenSuccessful()
|
||||||
{
|
{
|
||||||
Mock<SettingsUtils> mockSettingsUtils = new Mock<SettingsUtils>();
|
Mock<SettingsUtils> mockSettingsUtils = new Mock<SettingsUtils>();
|
||||||
@@ -247,9 +244,9 @@ namespace ViewModelTests
|
|||||||
|
|
||||||
// assert
|
// assert
|
||||||
var expected = viewModel.MakeDraggedWindowsTransparent;
|
var expected = viewModel.MakeDraggedWindowsTransparent;
|
||||||
var actual = SettingsRepository<FancyZonesSettings>.GetInstance(mockFancyZonesSettingsUtils.Object).SettingsConfig.Properties.FancyzonesShiftDrag.Value;
|
var actual = SettingsRepository<FancyZonesSettings>.GetInstance(mockFancyZonesSettingsUtils.Object).SettingsConfig.Properties.FancyzonesMakeDraggedWindowTransparent.Value;
|
||||||
Assert.AreEqual(expected, actual);
|
Assert.AreEqual(expected, actual);
|
||||||
}*/
|
}
|
||||||
|
|
||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void MouseSwitchShouldSetValue2TrueWhenSuccessful()
|
public void MouseSwitchShouldSetValue2TrueWhenSuccessful()
|
||||||
|
|||||||
Reference in New Issue
Block a user