Refactor filesystem unit tests.

This commit is contained in:
2021-03-01 21:33:58 +00:00
parent 7f3c0081ff
commit a3e626d9fa
114 changed files with 365 additions and 416 deletions

View File

@@ -36,12 +36,10 @@ namespace Aaru.Tests.Filesystems.UDF._200
[TestFixture]
public class Optical : FilesystemTest
{
public Optical() : base(null) {}
public override string _dataFolder =>
public override string DataFolder =>
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Universal Disc Format", "2.00");
public override IFilesystem _plugin => new Aaru.Filesystems.UDF();
public override bool _partitions => false;
public override IFilesystem Plugin => new Aaru.Filesystems.UDF();
public override bool Partitions => false;
public override FileSystemTest[] Tests => new[]
{

View File

@@ -36,12 +36,10 @@ namespace Aaru.Tests.Filesystems.UDF._200
[TestFixture]
public class Whole : FilesystemTest
{
public Whole() : base(null) {}
public override string _dataFolder =>
public override string DataFolder =>
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Universal Disc Format", "2.00");
public override IFilesystem _plugin => new Aaru.Filesystems.UDF();
public override bool _partitions => false;
public override IFilesystem Plugin => new Aaru.Filesystems.UDF();
public override bool Partitions => false;
public override FileSystemTest[] Tests => new[]
{