Add unit tests from Haiku hrev51259 generated with fssetter.

This commit is contained in:
2021-05-01 20:25:23 +01:00
parent 97436e9992
commit 0151b6a416
4 changed files with 21 additions and 11 deletions

View File

@@ -49,9 +49,9 @@ namespace Aaru.Tests.Filesystems.BeFS
{
TestFile = "haiku_hrev51259.aif",
MediaType = MediaType.GENERIC_HDD,
Sectors = 8388608,
Sectors = 262144,
SectorSize = 512,
Clusters = 2096640,
Clusters = 65024,
ClusterSize = 2048,
VolumeName = "Volume label"
}

View File

@@ -69,13 +69,23 @@ namespace Aaru.Tests.Filesystems.BeFS
{
TestFile = "haiku_hrev51259.aif",
MediaType = MediaType.GENERIC_HDD,
Sectors = 8388608,
Sectors = 262144,
SectorSize = 512,
Clusters = 2096640,
Clusters = 65024,
ClusterSize = 2048,
VolumeName = "Volume label"
},
new FileSystemTest
{
TestFile = "haiku_hrev51259_8k.aif",
MediaType = MediaType.GENERIC_HDD,
Sectors = 262144,
SectorSize = 512,
Clusters = 16256,
ClusterSize = 8192,
VolumeName = "Volume label"
},
new FileSystemTest
{
TestFile = "syllable_0.6.7.aif",
MediaType = MediaType.GENERIC_HDD,
@@ -114,7 +124,7 @@ namespace Aaru.Tests.Filesystems.BeFS
Clusters = 32634,
ClusterSize = 4096,
VolumeName = "Volume label 4K"
},
}
};
}
}

View File

@@ -49,12 +49,12 @@ namespace Aaru.Tests.Filesystems.NTFS
{
TestFile = "haiku_hrev51259.aif",
MediaType = MediaType.GENERIC_HDD,
Sectors = 2097152,
Sectors = 262144,
SectorSize = 512,
Bootable = true,
Clusters = 261887,
Clusters = 32511,
ClusterSize = 4096,
VolumeSerial = "106DA7693F7F6B3F"
VolumeSerial = "2A1DF87732D3285C"
}
};
}

View File

@@ -138,12 +138,12 @@ namespace Aaru.Tests.Filesystems.NTFS
{
TestFile = "haiku_hrev51259.aif",
MediaType = MediaType.GENERIC_HDD,
Sectors = 2097152,
Sectors = 262144,
SectorSize = 512,
Bootable = true,
Clusters = 261887,
Clusters = 32511,
ClusterSize = 4096,
VolumeSerial = "46EC796749C6FA66"
VolumeSerial = "323BED1E2A2FF4D5"
},
new FileSystemTest
{