Standardizes the remaining boolean names across the stack

This commit is contained in:
BinaryAlley committed 2026-09-13 16:48:42 +03:00
1 parent 3e0c3b624f
commit 39f4a04459
40 files changed
+1062 -448

No files matched your search

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