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.FAT32;
[TestFixture]
public class APM : ReadOnlyFilesystemTest
public class APM() : ReadOnlyFilesystemTest("fat32")
{
public APM() : base("fat32") {}
public override string DataFolder => Path.Combine(Consts.TestFilesRoot, "Filesystems", "FAT32 (APM)");
public override IFilesystem Plugin => new FAT();
public override bool Partitions => true;

View File

@@ -35,10 +35,8 @@ using NUnit.Framework;
namespace Aaru.Tests.Filesystems.FAT32;
[TestFixture]
public class GPT : ReadOnlyFilesystemTest
public class GPT() : ReadOnlyFilesystemTest("fat32")
{
public GPT() : base("fat32") {}
public override string DataFolder => Path.Combine(Consts.TestFilesRoot, "Filesystems", "FAT32 (GPT)");
public override IFilesystem Plugin => new FAT();
public override bool Partitions => true;

View File

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

View File

@@ -35,10 +35,8 @@ using NUnit.Framework;
namespace Aaru.Tests.Filesystems.FAT32;
[TestFixture]
public class Whole : ReadOnlyFilesystemTest
public class Whole() : ReadOnlyFilesystemTest("fat32")
{
public Whole() : base("fat32") {}
public override string DataFolder => Path.Combine(Consts.TestFilesRoot, "Filesystems", "FAT32");
public override IFilesystem Plugin => new FAT();