mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 04:37:30 +02:00
whitespace only (#5747)
This commit is contained in:
@@ -17,7 +17,7 @@ namespace Wox.Test.Plugins
|
||||
[Test]
|
||||
public void ContextMenuLoader_ReturnContextMenuForFolderWithOpenInConsole_WhenLoadContextMenusIsCalled()
|
||||
{
|
||||
// Arrange
|
||||
// Arrange
|
||||
var mock = new Mock<IPublicAPI>();
|
||||
mock.Setup(api => api.GetTranslation(It.IsAny<string>())).Returns(It.IsAny<string>());
|
||||
var pluginInitContext = new PluginInitContext() { API = mock.Object };
|
||||
@@ -37,7 +37,7 @@ namespace Wox.Test.Plugins
|
||||
[Test]
|
||||
public void ContextMenuLoader_ReturnContextMenuForFileWithOpenInConsole_WhenLoadContextMenusIsCalled()
|
||||
{
|
||||
// Arrange
|
||||
// Arrange
|
||||
var mock = new Mock<IPublicAPI>();
|
||||
mock.Setup(api => api.GetTranslation(It.IsAny<string>())).Returns(It.IsAny<string>());
|
||||
var pluginInitContext = new PluginInitContext() { API = mock.Object };
|
||||
|
||||
@@ -8,7 +8,6 @@ using Wox.Infrastructure.Exception;
|
||||
|
||||
namespace Wox.Test.Plugins
|
||||
{
|
||||
|
||||
[TestFixture]
|
||||
public class PluginInitTest
|
||||
{
|
||||
|
||||
@@ -15,11 +15,9 @@ using Microsoft.Plugin.Indexer.DriveDetection;
|
||||
|
||||
namespace Wox.Test.Plugins
|
||||
{
|
||||
|
||||
[TestFixture]
|
||||
public class WindowsIndexerTest
|
||||
{
|
||||
|
||||
public WindowsSearchAPI GetWindowsSearchAPI()
|
||||
{
|
||||
var mock = new Mock<ISearch>();
|
||||
@@ -306,7 +304,7 @@ namespace Wox.Test.Plugins
|
||||
[TestCase(0, true, ExpectedResult = false)]
|
||||
[TestCase(1, false, ExpectedResult = false)]
|
||||
[TestCase(1, true, ExpectedResult = false)]
|
||||
public bool DriveDetection_MustDisplayWarning_WhenEnhancedModeIsOffAndWhenWarningIsNotDisabled(int enhancedModeStatus, bool disableWarningCheckBoxStatus)
|
||||
public bool DriveDetection_MustDisplayWarning_WhenEnhancedModeIsOffAndWhenWarningIsNotDisabled(int enhancedModeStatus, bool disableWarningCheckBoxStatus)
|
||||
{
|
||||
// Arrange
|
||||
var mockRegistry = new Mock<IRegistryWrapper>();
|
||||
@@ -318,6 +316,5 @@ namespace Wox.Test.Plugins
|
||||
// Act & Assert
|
||||
return _driveDetection.DisplayWarning();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user