whitespace only (#5747)

This commit is contained in:
Clint Rutkas
2020-08-06 16:52:25 -07:00
committed by GitHub
parent d7994ca67d
commit b815718c26
6 changed files with 7 additions and 12 deletions

View File

@@ -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 };

View File

@@ -8,7 +8,6 @@ using Wox.Infrastructure.Exception;
namespace Wox.Test.Plugins
{
[TestFixture]
public class PluginInitTest
{

View File

@@ -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();
}
}
}