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:
@@ -44,50 +44,18 @@ namespace Aaru.Tests.Filesystems.COHERENT
|
||||
public override IFilesystem _plugin => new SysVfs();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"coherentunix_4.2.10.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
1024000
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
510048
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
1024
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "coherentunix_4.2.10.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 1024000,
|
||||
SectorSize = 512,
|
||||
Clusters = 510048,
|
||||
ClusterSize = 1024,
|
||||
VolumeName = "Volume label"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user