// /*************************************************************************** // Aaru Data Preservation Suite // ---------------------------------------------------------------------------- // // Filename : FAT16.cs // Author(s) : Natalia Portillo // // Component : Aaru unit testing. // // --[ License ] -------------------------------------------------------------- // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as // published by the Free Software Foundation, either version 3 of the // License, or (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program. If not, see . // // ---------------------------------------------------------------------------- // Copyright © 2011-2021 Natalia Portillo // ****************************************************************************/ using System.IO; using Aaru.CommonTypes; using Aaru.CommonTypes.Interfaces; using Aaru.Filesystems; using NUnit.Framework; namespace Aaru.Tests.Filesystems.FAT32 { [TestFixture] public class Whole : ReadOnlyFilesystemTest { public Whole() : base("FAT32") {} public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Filesystems", "FAT32"); public override IFilesystem Plugin => new FAT(); public override bool Partitions => false; public override FileSystemTest[] Tests => new[] { /* new FileSystemTest { TestFile = "beos_r4.5_mf2hd.img.lz", MediaType = MediaType.DOS_35_HD, Sectors = 2880, SectorSize = 512, Bootable = true, Clusters = 2880, ClusterSize = 512, SystemId = "BeOS ", VolumeName = "VOLUME LABE", VolumeSerial = "00000000" }, new FileSystemTest { TestFile = "beos_r5_mf2hd.img.lz", MediaType = MediaType.DOS_35_HD, Sectors = 2880, SectorSize = 512, Bootable = true, Clusters = 2880, ClusterSize = 512, SystemId = "BeOS ", VolumeName = "VOLUMELABEL", VolumeSerial = "00000000" },*/ new FileSystemTest { TestFile = "linux_2.0.37_mf2hd.img.lz", MediaType = MediaType.DOS_35_HD, Sectors = 2880, SectorSize = 512, Clusters = 2880, ClusterSize = 512, SystemId = "mkdosfs", VolumeName = "VOLUMELABEL", VolumeSerial = "609D1892" }, new FileSystemTest { TestFile = "linux_2.2.17_mf2hd.img.lz", MediaType = MediaType.DOS_35_HD, Sectors = 2880, SectorSize = 512, Bootable = true, Clusters = 2880, ClusterSize = 512, SystemId = "mkdosfs", VolumeName = "VolumeLabel", VolumeSerial = "609C5215" }, new FileSystemTest { TestFile = "linux_2.2.20_mf2hd.img.lz", MediaType = MediaType.DOS_35_HD, Sectors = 2880, SectorSize = 512, Bootable = true, Clusters = 2880, ClusterSize = 512, SystemId = "mkdosfs", VolumeName = "VolumeLabel", VolumeSerial = "609C81A9" }, new FileSystemTest { TestFile = "linux_2.4.18_mf2hd.img.lz", MediaType = MediaType.DOS_35_HD, Sectors = 2880, SectorSize = 512, Bootable = true, Clusters = 2880, ClusterSize = 512, SystemId = "mkdosfs", VolumeName = "VolumeLabel", VolumeSerial = "609CA5D8" }, new FileSystemTest { TestFile = "linux_2.0.37_mf2hd_umsdos.img.lz", MediaType = MediaType.DOS_35_HD, Sectors = 2880, SectorSize = 512, Clusters = 2880, ClusterSize = 512, SystemId = "mkdosfs", VolumeName = "VOLUMELABEL", VolumeSerial = "609D1912" }, new FileSystemTest { TestFile = "linux_2.2.17_mf2hd_umsdos.img.lz", MediaType = MediaType.DOS_35_HD, Sectors = 2880, SectorSize = 512, Bootable = true, Clusters = 2880, ClusterSize = 512, SystemId = "mkdosfs", VolumeName = "VolumeLabel", VolumeSerial = "609C5425" } }; } }