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

@@ -34,10 +34,8 @@ using NUnit.Framework;
namespace Aaru.Tests.Filesystems.SFS;
[TestFixture]
public class APM : FilesystemTest
public class APM() : FilesystemTest("sfs")
{
public APM() : base("sfs") {}
public override string DataFolder => Path.Combine(Consts.TestFilesRoot, "Filesystems", "Smart File System (APM)");
public override IFilesystem Plugin => new Aaru.Filesystems.SFS();

View File

@@ -36,10 +36,8 @@ namespace Aaru.Tests.Filesystems.SFS;
[TestFixture]
[SuppressMessage("ReSharper", "InconsistentNaming")]
public class MBR_RDB : FilesystemTest
public class MBR_RDB() : FilesystemTest("sfs")
{
public MBR_RDB() : base("sfs") {}
public override string DataFolder =>
Path.Combine(Consts.TestFilesRoot, "Filesystems", "Smart File System (MBR+RDB)");

View File

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

View File

@@ -34,10 +34,8 @@ using NUnit.Framework;
namespace Aaru.Tests.Filesystems.SFS;
[TestFixture]
public class RDB : FilesystemTest
public class RDB() : FilesystemTest("sfs")
{
public RDB() : base("sfs") {}
public override string DataFolder => Path.Combine(Consts.TestFilesRoot, "Filesystems", "Smart File System (RDB)");
public override IFilesystem Plugin => new Aaru.Filesystems.SFS();