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,51 +44,18 @@ namespace Aaru.Tests.Filesystems.UNIXBFS
|
||||
public override IFilesystem _plugin => new BFS();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"linux.aif"
|
||||
};
|
||||
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD
|
||||
};
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
262144
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
260096
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
512
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Label"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new string[]
|
||||
{
|
||||
null
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "linux.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 262144,
|
||||
SectorSize = 512,
|
||||
Clusters = 260096,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Label"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user