2022-03-07 07:36:44 +00:00
|
|
|
namespace Aaru.Tests.Issues;
|
|
|
|
|
|
2021-08-03 04:36:38 +01:00
|
|
|
using System.IO;
|
|
|
|
|
using Aaru.CommonTypes;
|
|
|
|
|
using Aaru.CommonTypes.Interfaces;
|
|
|
|
|
using Aaru.DiscImages;
|
|
|
|
|
using Aaru.Tests.WritableImages;
|
|
|
|
|
|
2022-03-06 13:29:38 +00:00
|
|
|
public class _625 : WritableOpticalMediaImageTest
|
2021-08-03 04:36:38 +01:00
|
|
|
{
|
2022-11-13 05:48:58 +00:00
|
|
|
public override string DataFolder => Path.Combine(Consts.TestFilesRoot, "Issues", "Fixed", "issue625");
|
2022-03-06 13:29:38 +00:00
|
|
|
public override IMediaImage InputPlugin => new Cdrdao();
|
|
|
|
|
public override IWritableImage OutputPlugin => new CloneCd();
|
|
|
|
|
public override string OutputExtension => "mds";
|
|
|
|
|
public override OpticalImageTestExpected[] Tests => new[]
|
2021-08-03 04:36:38 +01:00
|
|
|
{
|
2022-03-06 13:29:38 +00:00
|
|
|
new OpticalImageTestExpected
|
2021-08-03 04:36:38 +01:00
|
|
|
{
|
2022-03-06 13:29:38 +00:00
|
|
|
TestFile = "alice.toc",
|
|
|
|
|
MediaType = MediaType.CDROM,
|
|
|
|
|
Sectors = 255,
|
|
|
|
|
SectorSize = 2048,
|
2022-03-15 01:37:37 +00:00
|
|
|
LongMd5 = "1bea7f781be0fb3b878de96e965c53a0",
|
|
|
|
|
SubchannelMd5 = "01fef9f42fe53e6256ba713ad237dc8c",
|
2022-03-06 13:29:38 +00:00
|
|
|
Tracks = new[]
|
2021-08-03 04:36:38 +01:00
|
|
|
{
|
2022-03-06 13:29:38 +00:00
|
|
|
new TrackInfoTestExpected
|
2021-08-03 04:36:38 +01:00
|
|
|
{
|
2022-03-06 13:29:38 +00:00
|
|
|
Session = 1,
|
|
|
|
|
Start = 0,
|
|
|
|
|
End = 254,
|
|
|
|
|
Pregap = 150,
|
|
|
|
|
Flags = 4
|
2021-08-03 04:36:38 +01:00
|
|
|
}
|
|
|
|
|
}
|
2022-03-06 13:29:38 +00:00
|
|
|
}
|
|
|
|
|
};
|
2021-08-03 04:36:38 +01:00
|
|
|
}
|