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,30 @@ namespace Aaru.Tests.Filesystems.AOFS
|
||||
public override IFilesystem _plugin => new AmigaDOSPlugin();
|
||||
public override bool _partitions => true;
|
||||
|
||||
public override string[] _testFiles => new[]
|
||||
public override FileSystemTest[] Tests => new[]
|
||||
{
|
||||
"aros.aif", "aros_intl.aif"
|
||||
};
|
||||
public override MediaType[] _mediaTypes => new[]
|
||||
{
|
||||
MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
public override ulong[] _sectors => new ulong[]
|
||||
{
|
||||
409600, 409600
|
||||
};
|
||||
|
||||
public override uint[] _sectorSize => new uint[]
|
||||
{
|
||||
512, 512
|
||||
};
|
||||
public override string[] _appId => null;
|
||||
public override bool[] _bootable => new[]
|
||||
{
|
||||
false, false
|
||||
};
|
||||
|
||||
public override long[] _clusters => new long[]
|
||||
{
|
||||
406224, 406224
|
||||
};
|
||||
|
||||
public override uint[] _clusterSize => new uint[]
|
||||
{
|
||||
512, 512
|
||||
};
|
||||
public override string[] _oemId => null;
|
||||
public override string[] _type => null;
|
||||
|
||||
public override string[] _volumeName => new[]
|
||||
{
|
||||
"Volume label", "Volume label"
|
||||
};
|
||||
|
||||
public override string[] _volumeSerial => new[]
|
||||
{
|
||||
"A5833C5B", "A5833085"
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "aros.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 406224,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "A5833C5B"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
TestFile = "aros_intl.aif",
|
||||
MediaType = MediaType.GENERIC_HDD,
|
||||
Sectors = 409600,
|
||||
SectorSize = 512,
|
||||
Clusters = 406224,
|
||||
ClusterSize = 512,
|
||||
VolumeName = "Volume label",
|
||||
VolumeSerial = "A5833085"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user