mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Use struct to define all expected data for file system tests.
This commit is contained in:
@@ -43,54 +43,19 @@ namespace Aaru.Tests.Filesystems.NTFS
|
||||
public override IFilesystem _plugin => new Aaru.Filesystems.NTFS();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"haiku_hrev51259.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
2097152
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
true
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
261887
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
4096
|
||||
};
|
||||
public override string[] _oemId => new string[]
|
||||
{
|
||||
null
|
||||
};
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new string[]
|
||||
{
|
||||
null, null, null, null, null, null, null, null
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"106DA7693F7F6B3F"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "haiku_hrev51259.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 2097152,
|
||||
SectorSize = 512,
|
||||
Bootable = true,
|
||||
Clusters = 261887,
|
||||
ClusterSize = 4096,
|
||||
VolumeSerial = "106DA7693F7F6B3F"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user