mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 12:11:10 +00:00
Formats code comments as sentences in the tests.
Capitalizes the first word and adds the terminal period in the unit, integration and security tests. The AAA markers stay bare, the TODO bodies stay lowercase, and no assertion, payload, expected status code or test signature changes.
This commit is contained in:
1 parent
727aa33318
commit
057f557791
540 files changed
+3888
-3888
No files matched your search
+4
-4
@@ -21,8 +21,8 @@ public class DirectoryMappingTests
|
||||
private readonly DirectoryFixture _directoryFixture = new();
|
||||
|
||||
[Theory]
|
||||
[InlineData(true)] // hidden directory
|
||||
[InlineData(false)] // visible directory
|
||||
[InlineData(true)] // Hidden directory.
|
||||
[InlineData(false)] // Visible directory.
|
||||
public void ToFileSystemTreeNodeResponse_WhenMappingDirectory_ShouldMapCorrectly(bool isHidden)
|
||||
{
|
||||
// Arrange
|
||||
@@ -86,8 +86,8 @@ public class DirectoryMappingTests
|
||||
}
|
||||
|
||||
[Theory]
|
||||
[InlineData(true)] // hidden directory
|
||||
[InlineData(false)] // visible directory
|
||||
[InlineData(true)] // Hidden directory.
|
||||
[InlineData(false)] // Visible directory.
|
||||
public void ToResponse_WhenMappingDirectory_ShouldMapCorrectly(bool isHidden)
|
||||
{
|
||||
// Arrange
|
||||
|
||||
+8
-8
@@ -30,8 +30,8 @@ public class FileSystemItemMappingTests
|
||||
private readonly UnixRootItemFixture _unixRootItemFixture = new();
|
||||
|
||||
[Theory]
|
||||
[InlineData(true)] // hidden file system item
|
||||
[InlineData(false)] // visible file system item
|
||||
[InlineData(true)] // Hidden file system item.
|
||||
[InlineData(false)] // Visible file system item.
|
||||
public void ToFileSystemItemModel_WhenMappingFileSystemItem_ShouldMapCorrectly(bool isHidden)
|
||||
{
|
||||
// Arrange
|
||||
@@ -54,8 +54,8 @@ public class FileSystemItemMappingTests
|
||||
}
|
||||
|
||||
[Theory]
|
||||
[InlineData(true)] // hidden directory
|
||||
[InlineData(false)] // visible directory
|
||||
[InlineData(true)] // Hidden directory.
|
||||
[InlineData(false)] // Visible directory.
|
||||
public void ToTreeNodeResponse_WhenMappingDirectory_ShouldMapCorrectly(bool isHidden)
|
||||
{
|
||||
// Arrange
|
||||
@@ -73,8 +73,8 @@ public class FileSystemItemMappingTests
|
||||
}
|
||||
|
||||
[Theory]
|
||||
[InlineData(true)] // hidden file
|
||||
[InlineData(false)] // visible file
|
||||
[InlineData(true)] // Hidden file.
|
||||
[InlineData(false)] // Visible file.
|
||||
public void ToTreeNodeResponse_WhenMappingFile_ShouldMapCorrectly(bool isHidden)
|
||||
{
|
||||
// Arrange
|
||||
@@ -132,8 +132,8 @@ public class FileSystemItemMappingTests
|
||||
}
|
||||
|
||||
[Theory]
|
||||
[InlineData("TestFile.txt", FileSystemItemType.File, true)] // hidden file
|
||||
[InlineData("TestFolder", FileSystemItemType.Directory, false)] // visible directory
|
||||
[InlineData("TestFile.txt", FileSystemItemType.File, true)] // Hidden file.
|
||||
[InlineData("TestFolder", FileSystemItemType.Directory, false)] // Visible directory.
|
||||
public void ToFileSystemItemModel_WhenMappingDifferentFileSystemItems_ShouldMapCorrectly(string name, FileSystemItemType type, bool isHidden)
|
||||
{
|
||||
// Arrange
|
||||
|
||||
+4
-4
@@ -21,8 +21,8 @@ public class FileMappingTests
|
||||
private readonly FileFixture _fileFixture = new();
|
||||
|
||||
[Theory]
|
||||
[InlineData(true)] // hidden file
|
||||
[InlineData(false)] // visible file
|
||||
[InlineData(true)] // Hidden file.
|
||||
[InlineData(false)] // Visible file.
|
||||
public void ToFileSystemTreeNodeResponse_WhenMappingFile_ShouldMapCorrectly(bool isHidden)
|
||||
{
|
||||
// Arrange
|
||||
@@ -73,8 +73,8 @@ public class FileMappingTests
|
||||
}
|
||||
|
||||
[Theory]
|
||||
[InlineData(true)] // hidden file
|
||||
[InlineData(false)] // visible file
|
||||
[InlineData(true)] // Hidden file.
|
||||
[InlineData(false)] // Visible file.
|
||||
public void ToResponse_WhenMappingFile_ShouldMapCorrectly(bool isHidden)
|
||||
{
|
||||
// Arrange
|
||||
|
||||
Reference in new issue
Block a user