mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 13:11:10 +00:00
Standardizes the remaining boolean names across the stack
This commit is contained in:
1 parent
3e0c3b624f
commit
39f4a04459
40 files changed
+1062
-448
No files matched your search
+4
-4
@@ -76,11 +76,11 @@ public class GetDirectoriesQueryValidatorTests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void Validate_WhenIncludeHiddenElementsIsTrue_ShouldNotHaveValidationError()
|
||||
public void Validate_WhenShouldIncludeHiddenElementsIsTrue_ShouldNotHaveValidationError()
|
||||
{
|
||||
// Arrange
|
||||
GetDirectoriesQuery query = _getDirectoriesQueryFixture.Create();
|
||||
query = query with { IncludeHiddenElements = true };
|
||||
query = query with { ShouldIncludeHiddenElements = true };
|
||||
|
||||
// Act
|
||||
List<Error> result = _validator.TestValidate(query);
|
||||
@@ -90,11 +90,11 @@ public class GetDirectoriesQueryValidatorTests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void Validate_WhenIncludeHiddenElementsIsFalse_ShouldNotHaveValidationError()
|
||||
public void Validate_WhenShouldIncludeHiddenElementsIsFalse_ShouldNotHaveValidationError()
|
||||
{
|
||||
// Arrange
|
||||
GetDirectoriesQuery query = _getDirectoriesQueryFixture.Create();
|
||||
query = query with { IncludeHiddenElements = false };
|
||||
query = query with { ShouldIncludeHiddenElements = false };
|
||||
|
||||
// Act
|
||||
List<Error> result = _validator.TestValidate(query);
|
||||
|
||||
+4
-4
@@ -76,11 +76,11 @@ public class GetFilesQueryValidatorTests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void Validate_WhenIncludeHiddenElementsIsTrue_ShouldNotHaveValidationError()
|
||||
public void Validate_WhenShouldIncludeHiddenElementsIsTrue_ShouldNotHaveValidationError()
|
||||
{
|
||||
// Arrange
|
||||
GetFilesQuery query = _getFilesQueryFixture.Create();
|
||||
query = query with { IncludeHiddenElements = true };
|
||||
query = query with { ShouldIncludeHiddenElements = true };
|
||||
|
||||
// Act
|
||||
List<Error> result = _validator.TestValidate(query);
|
||||
@@ -90,11 +90,11 @@ public class GetFilesQueryValidatorTests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void Validate_WhenIncludeHiddenElementsIsFalse_ShouldNotHaveValidationError()
|
||||
public void Validate_WhenShouldIncludeHiddenElementsIsFalse_ShouldNotHaveValidationError()
|
||||
{
|
||||
// Arrange
|
||||
GetFilesQuery query = _getFilesQueryFixture.Create();
|
||||
query = query with { IncludeHiddenElements = false };
|
||||
query = query with { ShouldIncludeHiddenElements = false };
|
||||
|
||||
// Act
|
||||
List<Error> result = _validator.TestValidate(query);
|
||||
|
||||
+4
-4
@@ -76,11 +76,11 @@ public class GetTreeFilesQueryValidatorTests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void Validate_WhenIncludeHiddenElementsIsTrue_ShouldNotHaveValidationError()
|
||||
public void Validate_WhenShouldIncludeHiddenElementsIsTrue_ShouldNotHaveValidationError()
|
||||
{
|
||||
// Arrange
|
||||
GetTreeFilesQuery query = _getTreeFilesQueryFixture.Create();
|
||||
query = query with { IncludeHiddenElements = true };
|
||||
query = query with { ShouldIncludeHiddenElements = true };
|
||||
|
||||
// Act
|
||||
List<Error> result = _validator.TestValidate(query);
|
||||
@@ -90,11 +90,11 @@ public class GetTreeFilesQueryValidatorTests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void Validate_WhenIncludeHiddenElementsIsFalse_ShouldNotHaveValidationError()
|
||||
public void Validate_WhenShouldIncludeHiddenElementsIsFalse_ShouldNotHaveValidationError()
|
||||
{
|
||||
// Arrange
|
||||
GetTreeFilesQuery query = _getTreeFilesQueryFixture.Create();
|
||||
query = query with { IncludeHiddenElements = false };
|
||||
query = query with { ShouldIncludeHiddenElements = false };
|
||||
|
||||
// Act
|
||||
List<Error> result = _validator.TestValidate(query);
|
||||
|
||||
+4
-4
@@ -52,10 +52,10 @@ public class CheckPathExistsQueryHandlerTests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task HandleAsync_WhenPathExistsAndIsHiddenAndIncludeHiddenElementsIsTrue_ShouldReturnTrueResponse()
|
||||
public async Task HandleAsync_WhenPathExistsAndIsHiddenAndShouldIncludeHiddenElementsIsTrue_ShouldReturnTrueResponse()
|
||||
{
|
||||
// Arrange
|
||||
CheckPathExistsQuery query = _checkPathExistsQueryFixture.Create(includeHiddenElements: true);
|
||||
CheckPathExistsQuery query = _checkPathExistsQueryFixture.Create(shouldIncludeHiddenElements: true);
|
||||
_mockPathService.Exists(query.Path!).Returns(true);
|
||||
|
||||
// Act
|
||||
@@ -68,10 +68,10 @@ public class CheckPathExistsQueryHandlerTests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task HandleAsync_WhenPathExistsAndIsHiddenAndIncludeHiddenElementsIsFalse_ShouldReturnFalseResponse()
|
||||
public async Task HandleAsync_WhenPathExistsAndIsHiddenAndShouldIncludeHiddenElementsIsFalse_ShouldReturnFalseResponse()
|
||||
{
|
||||
// Arrange
|
||||
CheckPathExistsQuery query = _checkPathExistsQueryFixture.Create(includeHiddenElements: false);
|
||||
CheckPathExistsQuery query = _checkPathExistsQueryFixture.Create(shouldIncludeHiddenElements: false);
|
||||
_mockPathService.Exists(query.Path!, false).Returns(false);
|
||||
|
||||
// Act
|
||||
|
||||
Reference in new issue
Block a user