Convert into primary constructor.

This commit is contained in:
2023-10-04 08:29:56 +01:00
parent ef6be56f5f
commit ac79d1e94e
113 changed files with 181 additions and 429 deletions

View File

@@ -35,10 +35,8 @@ using NUnit.Framework;
namespace Aaru.Tests.Filesystems.UNIXBFS;
[TestFixture]
public class MBR : FilesystemTest
public class MBR() : FilesystemTest("bfs")
{
public MBR() : base("bfs") {}
public override string DataFolder => Path.Combine(Consts.TestFilesRoot, "Filesystems", "Boot File System (MBR)");
public override IFilesystem Plugin => new BFS();
public override bool Partitions => true;

View File

@@ -35,10 +35,8 @@ using NUnit.Framework;
namespace Aaru.Tests.Filesystems.UNIXBFS;
[TestFixture]
public class RDB : FilesystemTest
public class RDB() : FilesystemTest("ufs")
{
public RDB() : base("ufs") {}
public override string DataFolder => Path.Combine(Consts.TestFilesRoot, "Filesystems", "Boot File System (RDB)");
public override IFilesystem Plugin => new BFS();
public override bool Partitions => true;

View File

@@ -35,10 +35,8 @@ using NUnit.Framework;
namespace Aaru.Tests.Filesystems.UNIXBFS;
[TestFixture]
public class Whole : FilesystemTest
public class Whole() : FilesystemTest("bfs")
{
public Whole() : base("bfs") {}
public override string DataFolder => Path.Combine(Consts.TestFilesRoot, "Filesystems", "Boot File System");
public override IFilesystem Plugin => new BFS();