mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Refactor filesystem unit tests.
This commit is contained in:
@@ -39,11 +39,11 @@ namespace Aaru.Tests.Filesystems
|
||||
{
|
||||
public Adfs() : base("Acorn Advanced Disc Filing System") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems",
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems",
|
||||
"Acorn Advanced Disc Filing System");
|
||||
|
||||
public override IFilesystem _plugin => new AcornADFS();
|
||||
public override bool _partitions => false;
|
||||
public override IFilesystem Plugin => new AcornADFS();
|
||||
public override bool Partitions => false;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,10 +39,10 @@ namespace Aaru.Tests.Filesystems.AFFS
|
||||
{
|
||||
public MBR_RDB() : base("Amiga FFS") {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Amiga Fast File System (MBR+RDB)");
|
||||
public override IFilesystem _plugin => new AmigaDOSPlugin();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new AmigaDOSPlugin();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,10 +39,10 @@ namespace Aaru.Tests.Filesystems.AFFS
|
||||
{
|
||||
public MBR() : base("Amiga FFS") {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Amiga Fast File System (MBR)");
|
||||
public override IFilesystem _plugin => new AmigaDOSPlugin();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new AmigaDOSPlugin();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,10 +39,10 @@ namespace Aaru.Tests.Filesystems.AFFS
|
||||
{
|
||||
public RDB() : base("Amiga FFS") {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Amiga Fast File System (RDB)");
|
||||
public override IFilesystem _plugin => new AmigaDOSPlugin();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new AmigaDOSPlugin();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,11 +39,11 @@ namespace Aaru.Tests.Filesystems.AFFS
|
||||
{
|
||||
public Whole() : base("Amiga FFS") {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Amiga Fast File System");
|
||||
|
||||
public override IFilesystem _plugin => new AmigaDOSPlugin();
|
||||
public override bool _partitions => false;
|
||||
public override IFilesystem Plugin => new AmigaDOSPlugin();
|
||||
public override bool Partitions => false;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,11 +39,11 @@ namespace Aaru.Tests.Filesystems.AFFS2
|
||||
{
|
||||
public RDB() : base("Amiga FFS2") {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Amiga Fast File System 2 (RDB)");
|
||||
|
||||
public override IFilesystem _plugin => new AmigaDOSPlugin();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new AmigaDOSPlugin();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,10 +39,10 @@ namespace Aaru.Tests.Filesystems.AFS
|
||||
{
|
||||
public MBR() : base("Acer Fast Filesystem") {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Acer File System (MBR)");
|
||||
public override IFilesystem _plugin => new SysVfs();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new SysVfs();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,10 +39,10 @@ namespace Aaru.Tests.Filesystems.AFS
|
||||
{
|
||||
public Whole() : base("Acer Fast Filesystem") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Acer File System");
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Acer File System");
|
||||
|
||||
public override IFilesystem _plugin => new SysVfs();
|
||||
public override bool _partitions => false;
|
||||
public override IFilesystem Plugin => new SysVfs();
|
||||
public override bool Partitions => false;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,10 +39,10 @@ namespace Aaru.Tests.Filesystems.AOFS
|
||||
{
|
||||
public MBR_RDB() : base("Amiga OFS") {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Amiga Old File System (MBR+RDB)");
|
||||
public override IFilesystem _plugin => new AmigaDOSPlugin();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new AmigaDOSPlugin();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,10 +39,10 @@ namespace Aaru.Tests.Filesystems.AOFS
|
||||
{
|
||||
public MBR() : base("Amiga OFS") {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Amiga Old File System (MBR)");
|
||||
public override IFilesystem _plugin => new AmigaDOSPlugin();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new AmigaDOSPlugin();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,10 +39,10 @@ namespace Aaru.Tests.Filesystems.AOFS
|
||||
{
|
||||
public RDB() : base("Amiga OFS") {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Amiga Old File System (RDB)");
|
||||
public override IFilesystem _plugin => new AmigaDOSPlugin();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new AmigaDOSPlugin();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,11 +39,11 @@ namespace Aaru.Tests.Filesystems.AOFS
|
||||
{
|
||||
public Whole() : base("Amiga OFS") {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Amiga Old File System");
|
||||
|
||||
public override IFilesystem _plugin => new AmigaDOSPlugin();
|
||||
public override bool _partitions => false;
|
||||
public override IFilesystem Plugin => new AmigaDOSPlugin();
|
||||
public override bool Partitions => false;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,9 +39,9 @@ namespace Aaru.Tests.Filesystems
|
||||
{
|
||||
public Atheos() : base("AtheOS filesystem") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "AtheOS (MBR)");
|
||||
public override IFilesystem _plugin => new AtheOS();
|
||||
public override bool _partitions => true;
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "AtheOS (MBR)");
|
||||
public override IFilesystem Plugin => new AtheOS();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -38,10 +38,10 @@ namespace Aaru.Tests.Filesystems.BeFS
|
||||
{
|
||||
public APM() : base("BeFS") {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Be File System (APM)");
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.BeFS();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new Aaru.Filesystems.BeFS();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -38,10 +38,10 @@ namespace Aaru.Tests.Filesystems.BeFS
|
||||
{
|
||||
public GPT() : base("BeFS") {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Be File System (GPT)");
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.BeFS();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new Aaru.Filesystems.BeFS();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -38,10 +38,10 @@ namespace Aaru.Tests.Filesystems.BeFS
|
||||
{
|
||||
public MBR() : base("BeFS") {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Be File System (MBR)");
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.BeFS();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new Aaru.Filesystems.BeFS();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -38,10 +38,10 @@ namespace Aaru.Tests.Filesystems.BeFS
|
||||
{
|
||||
public Whole() : base("BeFS") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Be File System");
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Be File System");
|
||||
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.BeFS();
|
||||
public override bool _partitions => false;
|
||||
public override IFilesystem Plugin => new Aaru.Filesystems.BeFS();
|
||||
public override bool Partitions => false;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,10 +39,10 @@ namespace Aaru.Tests.Filesystems.COHERENT
|
||||
{
|
||||
public MBR() : base("Coherent fs") {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "COHERENT filesystem (MBR)");
|
||||
public override IFilesystem _plugin => new SysVfs();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new SysVfs();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,11 +39,10 @@ namespace Aaru.Tests.Filesystems.COHERENT
|
||||
{
|
||||
public Whole() : base("Coherent fs") {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "COHERENT filesystem");
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "COHERENT filesystem");
|
||||
|
||||
public override IFilesystem _plugin => new SysVfs();
|
||||
public override bool _partitions => false;
|
||||
public override IFilesystem Plugin => new SysVfs();
|
||||
public override bool Partitions => false;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,9 +39,9 @@ namespace Aaru.Tests.Filesystems.DTFS
|
||||
{
|
||||
public MBR() : base("DTFS") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "DTFS (MBR)");
|
||||
public override IFilesystem _plugin => new SysVfs();
|
||||
public override bool _partitions => true;
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "DTFS (MBR)");
|
||||
public override IFilesystem Plugin => new SysVfs();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,10 +39,10 @@ namespace Aaru.Tests.Filesystems.DTFS
|
||||
{
|
||||
public Whole() : base("DTFS") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "DTFS");
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "DTFS");
|
||||
|
||||
public override IFilesystem _plugin => new SysVfs();
|
||||
public override bool _partitions => false;
|
||||
public override IFilesystem Plugin => new SysVfs();
|
||||
public override bool Partitions => false;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,9 +39,9 @@ namespace Aaru.Tests.Filesystems.EAFS
|
||||
{
|
||||
public MBR() : base("Extended Acer Fast Filesystem") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "EAFS (MBR)");
|
||||
public override IFilesystem _plugin => new SysVfs();
|
||||
public override bool _partitions => true;
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "EAFS (MBR)");
|
||||
public override IFilesystem Plugin => new SysVfs();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,10 +39,10 @@ namespace Aaru.Tests.Filesystems.EAFS
|
||||
{
|
||||
public Whole() : base("Extended Acer Fast Filesystem") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "EAFS");
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "EAFS");
|
||||
|
||||
public override IFilesystem _plugin => new SysVfs();
|
||||
public override bool _partitions => false;
|
||||
public override IFilesystem Plugin => new SysVfs();
|
||||
public override bool Partitions => false;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,9 +39,9 @@ namespace Aaru.Tests.Filesystems
|
||||
{
|
||||
public F2Fs() : base("F2FS filesystem") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "F2FS");
|
||||
public override IFilesystem _plugin => new F2FS();
|
||||
public override bool _partitions => true;
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "F2FS");
|
||||
public override IFilesystem Plugin => new F2FS();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,9 +39,9 @@ namespace Aaru.Tests.Filesystems.FAT12
|
||||
{
|
||||
public APM() : base("FAT12") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "FAT12 (APM)");
|
||||
public override IFilesystem _plugin => new FAT();
|
||||
public override bool _partitions => true;
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "FAT12 (APM)");
|
||||
public override IFilesystem Plugin => new FAT();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,9 +39,9 @@ namespace Aaru.Tests.Filesystems.FAT12
|
||||
{
|
||||
public GPT() : base("FAT12") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "FAT12 (GPT)");
|
||||
public override IFilesystem _plugin => new FAT();
|
||||
public override bool _partitions => true;
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "FAT12 (GPT)");
|
||||
public override IFilesystem Plugin => new FAT();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,9 +39,9 @@ namespace Aaru.Tests.Filesystems.FAT12
|
||||
{
|
||||
public Human() : base("FAT12") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "FAT12 (Human68K)");
|
||||
public override IFilesystem _plugin => new FAT();
|
||||
public override bool _partitions => false;
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "FAT12 (Human68K)");
|
||||
public override IFilesystem Plugin => new FAT();
|
||||
public override bool Partitions => false;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,9 +39,9 @@ namespace Aaru.Tests.Filesystems.FAT12
|
||||
{
|
||||
public MBR() : base("FAT12") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "FAT12 (MBR)");
|
||||
public override IFilesystem _plugin => new FAT();
|
||||
public override bool _partitions => true;
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "FAT12 (MBR)");
|
||||
public override IFilesystem Plugin => new FAT();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,10 +39,10 @@ namespace Aaru.Tests.Filesystems.FAT12
|
||||
{
|
||||
public Whole() : base("FAT12") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "FAT12");
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "FAT12");
|
||||
|
||||
public override IFilesystem _plugin => new FAT();
|
||||
public override bool _partitions => false;
|
||||
public override IFilesystem Plugin => new FAT();
|
||||
public override bool Partitions => false;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,9 +39,9 @@ namespace Aaru.Tests.Filesystems.FAT16
|
||||
{
|
||||
public APM() : base("FAT16") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "FAT16 (APM)");
|
||||
public override IFilesystem _plugin => new FAT();
|
||||
public override bool _partitions => true;
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "FAT16 (APM)");
|
||||
public override IFilesystem Plugin => new FAT();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,9 +39,9 @@ namespace Aaru.Tests.Filesystems.FAT16
|
||||
{
|
||||
public Atari() : base("FAT16") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "FAT16 (Atari)");
|
||||
public override IFilesystem _plugin => new FAT();
|
||||
public override bool _partitions => true;
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "FAT16 (Atari)");
|
||||
public override IFilesystem Plugin => new FAT();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,9 +39,9 @@ namespace Aaru.Tests.Filesystems.FAT16
|
||||
{
|
||||
public GPT() : base("FAT16") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "FAT16 (GPT)");
|
||||
public override IFilesystem _plugin => new FAT();
|
||||
public override bool _partitions => true;
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "FAT16 (GPT)");
|
||||
public override IFilesystem Plugin => new FAT();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,9 +39,9 @@ namespace Aaru.Tests.Filesystems.FAT16
|
||||
{
|
||||
public Human() : base("FAT16") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "FAT16 (Human68K)");
|
||||
public override IFilesystem _plugin => new FAT();
|
||||
public override bool _partitions => true;
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "FAT16 (Human68K)");
|
||||
public override IFilesystem Plugin => new FAT();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,9 +39,9 @@ namespace Aaru.Tests.Filesystems.FAT16
|
||||
{
|
||||
public MBR() : base("FAT16") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "FAT16 (MBR)");
|
||||
public override IFilesystem _plugin => new FAT();
|
||||
public override bool _partitions => true;
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "FAT16 (MBR)");
|
||||
public override IFilesystem Plugin => new FAT();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,9 +39,9 @@ namespace Aaru.Tests.Filesystems.FAT16
|
||||
{
|
||||
public RDB() : base("FAT16") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "FAT16 (RDB)");
|
||||
public override IFilesystem _plugin => new FAT();
|
||||
public override bool _partitions => true;
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "FAT16 (RDB)");
|
||||
public override IFilesystem Plugin => new FAT();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,10 +39,10 @@ namespace Aaru.Tests.Filesystems.FAT16
|
||||
{
|
||||
public Whole() : base("FAT16") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "FAT16");
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "FAT16");
|
||||
|
||||
public override IFilesystem _plugin => new FAT();
|
||||
public override bool _partitions => false;
|
||||
public override IFilesystem Plugin => new FAT();
|
||||
public override bool Partitions => false;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,9 +39,9 @@ namespace Aaru.Tests.Filesystems.FAT32
|
||||
{
|
||||
public APM() : base("FAT32") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "FAT32 (APM)");
|
||||
public override IFilesystem _plugin => new FAT();
|
||||
public override bool _partitions => true;
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "FAT32 (APM)");
|
||||
public override IFilesystem Plugin => new FAT();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,9 +39,9 @@ namespace Aaru.Tests.Filesystems.FAT32
|
||||
{
|
||||
public GPT() : base("FAT32") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "FAT32 (GPT)");
|
||||
public override IFilesystem _plugin => new FAT();
|
||||
public override bool _partitions => true;
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "FAT32 (GPT)");
|
||||
public override IFilesystem Plugin => new FAT();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,9 +39,9 @@ namespace Aaru.Tests.Filesystems.FAT32
|
||||
{
|
||||
public MBR() : base("FAT32") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "FAT32 (MBR)");
|
||||
public override IFilesystem _plugin => new FAT();
|
||||
public override bool _partitions => true;
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "FAT32 (MBR)");
|
||||
public override IFilesystem Plugin => new FAT();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -47,9 +47,9 @@ namespace Aaru.Tests.Filesystems.FATX
|
||||
{
|
||||
public Xbox() : base("FATX filesystem") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Xbox FAT16", "le");
|
||||
public override IFilesystem _plugin => new XboxFatPlugin();
|
||||
public override bool _partitions => false;
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Xbox FAT16", "le");
|
||||
public override IFilesystem Plugin => new XboxFatPlugin();
|
||||
public override bool Partitions => false;
|
||||
|
||||
[SetUp]
|
||||
public void Init()
|
||||
|
||||
@@ -47,10 +47,10 @@ namespace Aaru.Tests.Filesystems.FATX
|
||||
{
|
||||
public Xbox360() : base("FATX filesystem") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Xbox FAT16", "be");
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Xbox FAT16", "be");
|
||||
|
||||
public override IFilesystem _plugin => new XboxFatPlugin();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new XboxFatPlugin();
|
||||
public override bool Partitions => true;
|
||||
|
||||
[SetUp]
|
||||
public void Init()
|
||||
|
||||
@@ -11,18 +11,20 @@ namespace Aaru.Tests.Filesystems
|
||||
{
|
||||
readonly string _fileSystemType;
|
||||
|
||||
public FilesystemTest() => _fileSystemType = null;
|
||||
|
||||
public FilesystemTest(string fileSystemType) => _fileSystemType = fileSystemType;
|
||||
|
||||
public abstract string _dataFolder { get; }
|
||||
public abstract IFilesystem _plugin { get; }
|
||||
public abstract bool _partitions { get; }
|
||||
public abstract string DataFolder { get; }
|
||||
public abstract IFilesystem Plugin { get; }
|
||||
public abstract bool Partitions { get; }
|
||||
|
||||
public abstract FileSystemTest[] Tests { get; }
|
||||
|
||||
[Test]
|
||||
public void Detect()
|
||||
{
|
||||
Environment.CurrentDirectory = _dataFolder;
|
||||
Environment.CurrentDirectory = DataFolder;
|
||||
|
||||
Assert.Multiple(() =>
|
||||
{
|
||||
@@ -42,7 +44,7 @@ namespace Aaru.Tests.Filesystems
|
||||
|
||||
List<string> idPlugins;
|
||||
|
||||
if(_partitions)
|
||||
if(Partitions)
|
||||
{
|
||||
List<Partition> partitionsList = Core.Partitions.GetAll(image);
|
||||
|
||||
@@ -57,7 +59,7 @@ namespace Aaru.Tests.Filesystems
|
||||
if(idPlugins.Count == 0)
|
||||
continue;
|
||||
|
||||
if(!idPlugins.Contains(_plugin.Id.ToString()))
|
||||
if(!idPlugins.Contains(Plugin.Id.ToString()))
|
||||
continue;
|
||||
|
||||
found = true;
|
||||
@@ -80,7 +82,7 @@ namespace Aaru.Tests.Filesystems
|
||||
|
||||
Assert.Greater(idPlugins.Count, 0, $"No filesystems found for {testFile}");
|
||||
|
||||
Assert.True(idPlugins.Contains(_plugin.Id.ToString()), $"Not identified for {testFile}");
|
||||
Assert.True(idPlugins.Contains(Plugin.Id.ToString()), $"Not identified for {testFile}");
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -89,7 +91,7 @@ namespace Aaru.Tests.Filesystems
|
||||
[Test]
|
||||
public void ImageInfo()
|
||||
{
|
||||
Environment.CurrentDirectory = _dataFolder;
|
||||
Environment.CurrentDirectory = DataFolder;
|
||||
|
||||
Assert.Multiple(() =>
|
||||
{
|
||||
@@ -117,7 +119,7 @@ namespace Aaru.Tests.Filesystems
|
||||
[Test]
|
||||
public void Info()
|
||||
{
|
||||
Environment.CurrentDirectory = _dataFolder;
|
||||
Environment.CurrentDirectory = DataFolder;
|
||||
|
||||
Assert.Multiple(() =>
|
||||
{
|
||||
@@ -140,7 +142,7 @@ namespace Aaru.Tests.Filesystems
|
||||
|
||||
List<string> idPlugins;
|
||||
|
||||
if(_partitions)
|
||||
if(Partitions)
|
||||
{
|
||||
List<Partition> partitionsList = Core.Partitions.GetAll(image);
|
||||
|
||||
@@ -154,7 +156,7 @@ namespace Aaru.Tests.Filesystems
|
||||
if(idPlugins.Count == 0)
|
||||
continue;
|
||||
|
||||
if(!idPlugins.Contains(_plugin.Id.ToString()))
|
||||
if(!idPlugins.Contains(Plugin.Id.ToString()))
|
||||
continue;
|
||||
|
||||
found = true;
|
||||
@@ -176,7 +178,7 @@ namespace Aaru.Tests.Filesystems
|
||||
|
||||
Assert.Greater(idPlugins.Count, 0, $"No filesystems found for {testFile}");
|
||||
|
||||
found = idPlugins.Contains(_plugin.Id.ToString());
|
||||
found = idPlugins.Contains(Plugin.Id.ToString());
|
||||
}
|
||||
|
||||
Assert.True(found, $"Filesystem not identified for {testFile}");
|
||||
@@ -186,7 +188,7 @@ namespace Aaru.Tests.Filesystems
|
||||
if(!found)
|
||||
continue;
|
||||
|
||||
var fs = Activator.CreateInstance(_plugin.GetType()) as IFilesystem;
|
||||
var fs = Activator.CreateInstance(Plugin.GetType()) as IFilesystem;
|
||||
|
||||
Assert.NotNull(fs, $"Could not instantiate filesystem for {testFile}");
|
||||
|
||||
|
||||
@@ -39,9 +39,9 @@ namespace Aaru.Tests.Filesystems
|
||||
{
|
||||
public Hammer() : base("HAMMER") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "HAMMER (MBR)");
|
||||
public override IFilesystem _plugin => new HAMMER();
|
||||
public override bool _partitions => true;
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "HAMMER (MBR)");
|
||||
public override IFilesystem Plugin => new HAMMER();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -41,9 +41,9 @@ namespace Aaru.Tests.Filesystems.HFSPlus
|
||||
{
|
||||
public APM() : base("HFS+") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Apple HFS+ (APM)");
|
||||
public override IFilesystem _plugin => new AppleHFSPlus();
|
||||
public override bool _partitions => true;
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Apple HFS+ (APM)");
|
||||
public override IFilesystem Plugin => new AppleHFSPlus();
|
||||
public override bool Partitions => true;
|
||||
|
||||
// Missing Darwin 1.4.1
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
|
||||
@@ -41,9 +41,9 @@ namespace Aaru.Tests.Filesystems.HFSPlus
|
||||
{
|
||||
public GPT() : base("HFS+") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Apple HFS+ (GPT)");
|
||||
public override IFilesystem _plugin => new AppleHFSPlus();
|
||||
public override bool _partitions => true;
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Apple HFS+ (GPT)");
|
||||
public override IFilesystem Plugin => new AppleHFSPlus();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -42,10 +42,10 @@ namespace Aaru.Tests.Filesystems.HFSPlus
|
||||
{
|
||||
public MBR() : base("HFS+") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Apple HFS+ (MBR)");
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Apple HFS+ (MBR)");
|
||||
|
||||
public override IFilesystem _plugin => new AppleHFSPlus();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new AppleHFSPlus();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,9 +39,9 @@ namespace Aaru.Tests.Filesystems.HFS
|
||||
{
|
||||
public APM() : base("HFS") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Apple HFS (APM)");
|
||||
public override IFilesystem _plugin => new AppleHFS();
|
||||
public override bool _partitions => true;
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Apple HFS (APM)");
|
||||
public override IFilesystem Plugin => new AppleHFS();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,9 +39,9 @@ namespace Aaru.Tests.Filesystems.HFS
|
||||
{
|
||||
public MBR() : base("HFS") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Apple HFS (MBR)");
|
||||
public override IFilesystem _plugin => new AppleHFS();
|
||||
public override bool _partitions => true;
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Apple HFS (MBR)");
|
||||
public override IFilesystem Plugin => new AppleHFS();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,9 +39,9 @@ namespace Aaru.Tests.Filesystems.HFS
|
||||
{
|
||||
public Optical() : base("HFS") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Apple HFS (CD-ROM)");
|
||||
public override IFilesystem _plugin => new AppleHFS();
|
||||
public override bool _partitions => true;
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Apple HFS (CD-ROM)");
|
||||
public override IFilesystem Plugin => new AppleHFS();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,9 +39,9 @@ namespace Aaru.Tests.Filesystems.HFS
|
||||
{
|
||||
public RDB() : base("HFS") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Apple HFS (RDB)");
|
||||
public override IFilesystem _plugin => new AppleHFS();
|
||||
public override bool _partitions => true;
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Apple HFS (RDB)");
|
||||
public override IFilesystem Plugin => new AppleHFS();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,10 +39,10 @@ namespace Aaru.Tests.Filesystems.HFS
|
||||
{
|
||||
public Whole() : base("HFS") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Apple HFS");
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Apple HFS");
|
||||
|
||||
public override IFilesystem _plugin => new AppleHFS();
|
||||
public override bool _partitions => false;
|
||||
public override IFilesystem Plugin => new AppleHFS();
|
||||
public override bool Partitions => false;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,9 +39,9 @@ namespace Aaru.Tests.Filesystems.HFSX
|
||||
{
|
||||
public APM() : base("HFSX") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Apple HFSX (APM)");
|
||||
public override IFilesystem _plugin => new AppleHFSPlus();
|
||||
public override bool _partitions => true;
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Apple HFSX (APM)");
|
||||
public override IFilesystem Plugin => new AppleHFSPlus();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,9 +39,9 @@ namespace Aaru.Tests.Filesystems.HFSX
|
||||
{
|
||||
public GPT() : base("HFSX") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Apple HFSX (GPT)");
|
||||
public override IFilesystem _plugin => new AppleHFSPlus();
|
||||
public override bool _partitions => true;
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Apple HFSX (GPT)");
|
||||
public override IFilesystem Plugin => new AppleHFSPlus();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,10 +39,10 @@ namespace Aaru.Tests.Filesystems.HFSX
|
||||
{
|
||||
public MBR() : base("HFSX") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Apple HFSX (MBR)");
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Apple HFSX (MBR)");
|
||||
|
||||
public override IFilesystem _plugin => new AppleHFSPlus();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new AppleHFSPlus();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,10 +39,10 @@ namespace Aaru.Tests.Filesystems
|
||||
{
|
||||
public Hpfs() : base("HPFS") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems",
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems",
|
||||
"High Performance File System");
|
||||
public override IFilesystem _plugin => new HPFS();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new HPFS();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,10 +39,10 @@ namespace Aaru.Tests.Filesystems
|
||||
{
|
||||
public Hpofs() : base("HPOFS") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems",
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems",
|
||||
"High Performance Optical File System");
|
||||
public override IFilesystem _plugin => new HPOFS();
|
||||
public override bool _partitions => false;
|
||||
public override IFilesystem Plugin => new HPOFS();
|
||||
public override bool Partitions => false;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,10 +39,10 @@ namespace Aaru.Tests.Filesystems.HTFS
|
||||
{
|
||||
public MBR() : base("HTFS") {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "High Throughtput File System (MBR)");
|
||||
public override IFilesystem _plugin => new SysVfs();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new SysVfs();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,11 +39,11 @@ namespace Aaru.Tests.Filesystems.HTFS
|
||||
{
|
||||
public Whole() : base("HTFS") {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "High Throughtput File System");
|
||||
|
||||
public override IFilesystem _plugin => new SysVfs();
|
||||
public override bool _partitions => false;
|
||||
public override IFilesystem Plugin => new SysVfs();
|
||||
public override bool Partitions => false;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,9 +39,9 @@ namespace Aaru.Tests.Filesystems
|
||||
{
|
||||
public Iso9660() : base("ISO9660") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "ISO9660");
|
||||
public override IFilesystem _plugin => new ISO9660();
|
||||
public override bool _partitions => false;
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "ISO9660");
|
||||
public override IFilesystem Plugin => new ISO9660();
|
||||
public override bool Partitions => false;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,9 +39,9 @@ namespace Aaru.Tests.Filesystems
|
||||
{
|
||||
public Jfs2() : base("JFS filesystem") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "JFS2");
|
||||
public override IFilesystem _plugin => new JFS();
|
||||
public override bool _partitions => true;
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "JFS2");
|
||||
public override IFilesystem Plugin => new JFS();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,10 +39,10 @@ namespace Aaru.Tests.Filesystems
|
||||
{
|
||||
public LisaFs() : base("LisaFS") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems",
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems",
|
||||
"Apple Lisa filesystem");
|
||||
public override IFilesystem _plugin => new LisaFS();
|
||||
public override bool _partitions => false;
|
||||
public override IFilesystem Plugin => new LisaFS();
|
||||
public override bool Partitions => false;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -38,9 +38,9 @@ namespace Aaru.Tests.Filesystems
|
||||
{
|
||||
public Locus() : base("Locus filesystem") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Locus filesystem");
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.Locus();
|
||||
public override bool _partitions => false;
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Locus filesystem");
|
||||
public override IFilesystem Plugin => new Aaru.Filesystems.Locus();
|
||||
public override bool Partitions => false;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,10 +39,10 @@ namespace Aaru.Tests.Filesystems
|
||||
{
|
||||
public Mfs() : base("MFS") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems",
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems",
|
||||
"Macintosh File System");
|
||||
public override IFilesystem _plugin => new AppleMFS();
|
||||
public override bool _partitions => false;
|
||||
public override IFilesystem Plugin => new AppleMFS();
|
||||
public override bool Partitions => false;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -37,12 +37,10 @@ namespace Aaru.Tests.Filesystems.MINIX.V1
|
||||
[TestFixture]
|
||||
public class MBR : FilesystemTest
|
||||
{
|
||||
public MBR() : base(null) {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "MINIX v1 filesystem (MBR)");
|
||||
public override IFilesystem _plugin => new MinixFS();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new MinixFS();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -37,12 +37,9 @@ namespace Aaru.Tests.Filesystems.MINIX.V1
|
||||
[TestFixture]
|
||||
public class Whole : FilesystemTest
|
||||
{
|
||||
public Whole() : base(null) {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "MINIX v1 filesystem");
|
||||
public override IFilesystem _plugin => new MinixFS();
|
||||
public override bool _partitions => false;
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "MINIX v1 filesystem");
|
||||
public override IFilesystem Plugin => new MinixFS();
|
||||
public override bool Partitions => false;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -37,12 +37,10 @@ namespace Aaru.Tests.Filesystems.MINIX.V2
|
||||
[TestFixture]
|
||||
public class MBR : FilesystemTest
|
||||
{
|
||||
public MBR() : base(null) {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "MINIX v2 filesystem (MBR)");
|
||||
public override IFilesystem _plugin => new MinixFS();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new MinixFS();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -37,12 +37,9 @@ namespace Aaru.Tests.Filesystems.MINIX.V2
|
||||
[TestFixture]
|
||||
public class Whole : FilesystemTest
|
||||
{
|
||||
public Whole() : base(null) {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "MINIX v2 filesystem");
|
||||
public override IFilesystem _plugin => new MinixFS();
|
||||
public override bool _partitions => false;
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "MINIX v2 filesystem");
|
||||
public override IFilesystem Plugin => new MinixFS();
|
||||
public override bool Partitions => false;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -37,12 +37,10 @@ namespace Aaru.Tests.Filesystems.MINIX.V3
|
||||
[TestFixture]
|
||||
public class MBR : FilesystemTest
|
||||
{
|
||||
public MBR() : base(null) {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "MINIX v3 filesystem (MBR)");
|
||||
public override IFilesystem _plugin => new MinixFS();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new MinixFS();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -37,13 +37,10 @@ namespace Aaru.Tests.Filesystems.MINIX.V3
|
||||
[TestFixture]
|
||||
public class Whole : FilesystemTest
|
||||
{
|
||||
public Whole() : base(null) {}
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "MINIX v3 filesystem");
|
||||
|
||||
public override string _dataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "MINIX v3 filesystem");
|
||||
|
||||
public override IFilesystem _plugin => new MinixFS();
|
||||
public override bool _partitions => false;
|
||||
public override IFilesystem Plugin => new MinixFS();
|
||||
public override bool Partitions => false;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,10 +39,10 @@ namespace Aaru.Tests.Filesystems
|
||||
{
|
||||
public Nilfs2() : base("NILFS2 filesystem") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems",
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems",
|
||||
"New Implementation of a Log-structured File System 2");
|
||||
public override IFilesystem _plugin => new NILFS2();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new NILFS2();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -38,10 +38,10 @@ namespace Aaru.Tests.Filesystems.NTFS
|
||||
{
|
||||
public GPT() : base("NTFS") {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "New Technology File System (GPT)");
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.NTFS();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new Aaru.Filesystems.NTFS();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -38,11 +38,11 @@ namespace Aaru.Tests.Filesystems.NTFS
|
||||
{
|
||||
public MBR() : base("NTFS") {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "New Technology File System (MBR)");
|
||||
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.NTFS();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new Aaru.Filesystems.NTFS();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,10 +39,10 @@ namespace Aaru.Tests.Filesystems
|
||||
{
|
||||
public Pfs3() : base("PFS v3") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems",
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems",
|
||||
"Professional File System 3");
|
||||
public override IFilesystem _plugin => new PFS();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new PFS();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,11 +39,11 @@ namespace Aaru.Tests.Filesystems.ProDOS
|
||||
{
|
||||
public APM() : base("ProDOS") {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "ProDOS filesystem (APM)");
|
||||
|
||||
public override IFilesystem _plugin => new ProDOSPlugin();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new ProDOSPlugin();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -38,10 +38,10 @@ namespace Aaru.Tests.Filesystems.QNX4
|
||||
{
|
||||
public MBR() : base("QNX4 filesystem") {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "QNX 4 filesystem (MBR)");
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.QNX4();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new Aaru.Filesystems.QNX4();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -38,10 +38,10 @@ namespace Aaru.Tests.Filesystems.QNX4
|
||||
{
|
||||
public Whole() : base("QNX4 filesystem") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "QNX 4 filesystem");
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "QNX 4 filesystem");
|
||||
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.QNX4();
|
||||
public override bool _partitions => false;
|
||||
public override IFilesystem Plugin => new Aaru.Filesystems.QNX4();
|
||||
public override bool Partitions => false;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,10 +39,10 @@ namespace Aaru.Tests.Filesystems
|
||||
{
|
||||
public ReFsMbr() : base("Resilient File System") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems",
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems",
|
||||
"Resilient File System (MBR)");
|
||||
public override IFilesystem _plugin => new ReFS();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new ReFS();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -37,12 +37,10 @@ namespace Aaru.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class Reiser3 : FilesystemTest
|
||||
{
|
||||
public Reiser3() : base(null) {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems",
|
||||
"Reiser filesystem v3");
|
||||
public override IFilesystem _plugin => new Reiser();
|
||||
public override bool _partitions => true;
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Reiser filesystem v3");
|
||||
public override IFilesystem Plugin => new Reiser();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -38,10 +38,10 @@ namespace Aaru.Tests.Filesystems
|
||||
{
|
||||
public Reiser4() : base("Reiser 4 filesystem") {}
|
||||
|
||||
public override string _dataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems",
|
||||
"Reiser filesystem v4");
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.Reiser4();
|
||||
public override bool _partitions => true;
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Reiser filesystem v4");
|
||||
public override IFilesystem Plugin => new Aaru.Filesystems.Reiser4();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -38,10 +38,10 @@ namespace Aaru.Tests.Filesystems.SFS
|
||||
{
|
||||
public MBR_RDB() : base("SmartFileSystem") {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Smart File System (MBR+RDB)");
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.SFS();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new Aaru.Filesystems.SFS();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -38,10 +38,10 @@ namespace Aaru.Tests.Filesystems.SFS
|
||||
{
|
||||
public MBR() : base("SmartFileSystem") {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Smart File System (MBR)");
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.SFS();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new Aaru.Filesystems.SFS();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -38,11 +38,11 @@ namespace Aaru.Tests.Filesystems.SFS
|
||||
{
|
||||
public RDB() : base("SmartFileSystem") {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "Smart File System (RDB)");
|
||||
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.SFS();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new Aaru.Filesystems.SFS();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,10 +39,10 @@ namespace Aaru.Tests.Filesystems.SysV
|
||||
{
|
||||
public MBR() : base("SVR4 fs") {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "System V filesystem (MBR)");
|
||||
public override IFilesystem _plugin => new SysVfs();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new SysVfs();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,10 +39,10 @@ namespace Aaru.Tests.Filesystems.SysV
|
||||
{
|
||||
public RDB() : base("SVR4 fs") {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "System V filesystem (RDB)");
|
||||
public override IFilesystem _plugin => new SysVfs();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new SysVfs();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -39,11 +39,10 @@ namespace Aaru.Tests.Filesystems.SysV
|
||||
{
|
||||
public Whole() : base("SVR4 fs") {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "System V filesystem");
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "System V filesystem");
|
||||
|
||||
public override IFilesystem _plugin => new SysVfs();
|
||||
public override bool _partitions => false;
|
||||
public override IFilesystem Plugin => new SysVfs();
|
||||
public override bool Partitions => false;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -36,12 +36,10 @@ namespace Aaru.Tests.Filesystems.UDF._102
|
||||
[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", "1.02");
|
||||
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[]
|
||||
{
|
||||
|
||||
@@ -36,12 +36,10 @@ namespace Aaru.Tests.Filesystems.UDF._150
|
||||
[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", "1.50");
|
||||
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[]
|
||||
{
|
||||
|
||||
@@ -36,12 +36,10 @@ namespace Aaru.Tests.Filesystems.UDF._150
|
||||
[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", "1.50");
|
||||
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[]
|
||||
{
|
||||
|
||||
@@ -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[]
|
||||
{
|
||||
|
||||
@@ -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[]
|
||||
{
|
||||
|
||||
@@ -36,12 +36,10 @@ namespace Aaru.Tests.Filesystems.UDF._201
|
||||
[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.01");
|
||||
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[]
|
||||
{
|
||||
|
||||
@@ -36,12 +36,10 @@ namespace Aaru.Tests.Filesystems.UDF._201
|
||||
[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.01");
|
||||
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[]
|
||||
{
|
||||
|
||||
@@ -36,12 +36,10 @@ namespace Aaru.Tests.Filesystems.UDF._250
|
||||
[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.50");
|
||||
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[]
|
||||
{
|
||||
|
||||
@@ -36,12 +36,10 @@ namespace Aaru.Tests.Filesystems.UDF._260
|
||||
[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.60");
|
||||
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[]
|
||||
{
|
||||
|
||||
@@ -37,12 +37,10 @@ namespace Aaru.Tests.Filesystems.UFS
|
||||
[TestFixture]
|
||||
public class APM : FilesystemTest
|
||||
{
|
||||
public APM() : base(null) {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "UNIX filesystem (APM)");
|
||||
public override IFilesystem _plugin => new FFSPlugin();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new FFSPlugin();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -37,12 +37,10 @@ namespace Aaru.Tests.Filesystems.UFS
|
||||
[TestFixture]
|
||||
public class MBR : FilesystemTest
|
||||
{
|
||||
public MBR() : base(null) {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "UNIX filesystem (MBR)");
|
||||
public override IFilesystem _plugin => new FFSPlugin();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new FFSPlugin();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -37,12 +37,10 @@ namespace Aaru.Tests.Filesystems.UFS
|
||||
[TestFixture]
|
||||
public class NeXT_Floppy : FilesystemTest
|
||||
{
|
||||
public NeXT_Floppy() : base(null) {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "UNIX filesystem (NeXT)");
|
||||
public override IFilesystem _plugin => new FFSPlugin();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new FFSPlugin();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -37,12 +37,10 @@ namespace Aaru.Tests.Filesystems.UFS
|
||||
[TestFixture]
|
||||
public class NeXT : FilesystemTest
|
||||
{
|
||||
public NeXT() : base(null) {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "UNIX filesystem (NeXT)");
|
||||
public override IFilesystem _plugin => new FFSPlugin();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new FFSPlugin();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -37,12 +37,10 @@ namespace Aaru.Tests.Filesystems.UFS
|
||||
[TestFixture]
|
||||
public class RDB : FilesystemTest
|
||||
{
|
||||
public RDB() : base(null) {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "UNIX filesystem (RDB)");
|
||||
public override IFilesystem _plugin => new FFSPlugin();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new FFSPlugin();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
@@ -37,12 +37,10 @@ namespace Aaru.Tests.Filesystems.UFS
|
||||
[TestFixture]
|
||||
public class Sun_i86 : FilesystemTest
|
||||
{
|
||||
public Sun_i86() : base(null) {}
|
||||
|
||||
public override string _dataFolder =>
|
||||
public override string DataFolder =>
|
||||
Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "UNIX filesystem (SunOS x86)");
|
||||
public override IFilesystem _plugin => new FFSPlugin();
|
||||
public override bool _partitions => true;
|
||||
public override IFilesystem Plugin => new FFSPlugin();
|
||||
public override bool Partitions => true;
|
||||
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user