using Aaru.CommonTypes;
namespace Aaru.Tests
{
/// Class to define expected data when testing media info
public class MediaInfoTest
{
/// Expected media type
public MediaType MediaType;
/// Expected number of sectors in media
public ulong Sectors;
/// Expected media sector size
public uint SectorSize;
/// File that contains the image to test
public string TestFile;
public override string ToString() => TestFile;
}
/// Class to define expected data when testing filesystem info
public class FileSystemTest : MediaInfoTest
{
/// Application ID
public string ApplicationId;
/// Can the volume boot?
public bool Bootable;
/// Clusters in volume
public long Clusters;
/// Bytes per cluster
public uint ClusterSize;
/// System or OEM ID
public string SystemId;
/// Filesystem type. null if always the same, as defined in test class
public string Type;
/// Volume name
public string VolumeName;
/// Volume serial number or set identifier
public string VolumeSerial;
}
}