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

@@ -37,10 +37,8 @@ using NUnit.Framework;
namespace Aaru.Tests.Filesystems.FATX;
[TestFixture]
public class Xbox : ReadOnlyFilesystemTest
public class Xbox() : ReadOnlyFilesystemTest("fatx")
{
public Xbox() : base("fatx") {}
public override string DataFolder => Path.Combine(Consts.TestFilesRoot, "Filesystems", "Xbox FAT16", "le");
public override IFilesystem Plugin => new XboxFatPlugin();
public override bool Partitions => false;

View File

@@ -35,10 +35,8 @@ using NUnit.Framework;
namespace Aaru.Tests.Filesystems.FATX;
[TestFixture]
public class Xbox360 : ReadOnlyFilesystemTest
public class Xbox360() : ReadOnlyFilesystemTest("fatx")
{
public Xbox360() : base("fatx") {}
public override string DataFolder => Path.Combine(Consts.TestFilesRoot, "Filesystems", "Xbox FAT16", "be");
public override IFilesystem Plugin => new XboxFatPlugin();