Adds book editing tests and parameterizes the shared test fixtures

This commit is contained in:
BinaryAlley committed 2026-09-06 09:37:55 -07:00
1 parent 1bfa07ba5d
commit 145185d715
354 files changed
+7118 -1743

No files matched your search

@@ -20,9 +20,11 @@ public class GetDirectoriesRequestFixture
/// Creates a <see cref="GetDirectoriesRequest"/> with default or random values.
/// </summary>
/// <param name="path">Optional. The file system path for which to get the directories.</param>
/// <param name="includeHiddenElements">Optional. Whether to include hidden file system elements.</param>
/// <param name="includeHiddenElements">Whether to include hidden file system elements or not.</param>
/// <returns>The created <see cref="GetDirectoriesRequest"/>.</returns>
public GetDirectoriesRequest Create(string? path = null, bool? includeHiddenElements = null)
public GetDirectoriesRequest Create(
string? path = null,
bool? includeHiddenElements = null)
{
return new GetDirectoriesRequest(
Path: path ?? _faker.System.FilePath(),
@@ -20,9 +20,11 @@ public class GetFilesRequestFixture
/// Creates a <see cref="GetFilesRequest"/> with default or random values.
/// </summary>
/// <param name="path">Optional. The file system path for which to get the files.</param>
/// <param name="includeHiddenElements">Optional. Whether to include hidden file system elements.</param>
/// <param name="includeHiddenElements">Whether to include hidden file system elements or not.</param>
/// <returns>The created <see cref="GetFilesRequest"/>.</returns>
public GetFilesRequest Create(string? path = null, bool? includeHiddenElements = null)
public GetFilesRequest Create(
string? path = null,
bool? includeHiddenElements = null)
{
return new GetFilesRequest(
Path: path ?? _faker.System.FilePath(),
@@ -20,9 +20,11 @@ public class GetTreeFilesRequestFixture
/// Creates a <see cref="GetTreeFilesRequest"/> with default or random values.
/// </summary>
/// <param name="path">Optional. The file system path for which to get the tree files.</param>
/// <param name="includeHiddenElements">Optional. Whether to include hidden file system elements.</param>
/// <param name="includeHiddenElements">Whether to include hidden file system elements or not.</param>
/// <returns>The created <see cref="GetTreeFilesRequest"/>.</returns>
public GetTreeFilesRequest Create(string? path = null, bool? includeHiddenElements = null)
public GetTreeFilesRequest Create(
string? path = null,
bool? includeHiddenElements = null)
{
return new GetTreeFilesRequest(
Path: path ?? _faker.System.FilePath(),
@@ -20,9 +20,11 @@ public class CheckPathExistsRequestFixture
/// Creates a <see cref="CheckPathExistsRequest"/> with default or random values.
/// </summary>
/// <param name="path">Optional. The path to check.</param>
/// <param name="includeHiddenElements">Optional. Whether to include hidden elements.</param>
/// <param name="includeHiddenElements">Whether to include hidden file system elements or not.</param>
/// <returns>The created <see cref="CheckPathExistsRequest"/>.</returns>
public CheckPathExistsRequest Create(string? path = null, bool? includeHiddenElements = null)
public CheckPathExistsRequest Create(
string? path = null,
bool? includeHiddenElements = null)
{
return new CheckPathExistsRequest(
Path: path ?? _faker.System.FilePath(),