mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Update GameJack 6 disc image tests.
This commit is contained in:
@@ -36,7 +36,7 @@ namespace Aaru.Tests.Images
|
||||
[TestFixture]
|
||||
public class GameJack6 : OpticalMediaImageTest
|
||||
{
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Media image formats", "HD-COPY");
|
||||
public override string DataFolder => Path.Combine(Consts.TEST_FILES_ROOT, "Media image formats", "GameJack 6");
|
||||
public override IMediaImage _plugin => new DiscImages.Alcohol120();
|
||||
|
||||
public override OpticalImageTestExpected[] Tests => new[]
|
||||
@@ -45,19 +45,37 @@ namespace Aaru.Tests.Images
|
||||
{
|
||||
TestFile = "report_cdrom_cooked_nodpm.xmd",
|
||||
MediaType = MediaType.CDROM,
|
||||
Sectors = 0,
|
||||
MD5 = "UNKNOWN",
|
||||
LongMD5 = "UNKNOWN",
|
||||
SubchannelMD5 = "UNKNOWN",
|
||||
Sectors = 254265,
|
||||
MD5 = "bf4bbec517101d0d6f45d2e4d50cb875",
|
||||
LongMD5 = "3d3f9cf7d1ba2249b1e7960071e5af46",
|
||||
SubchannelMD5 = "1994c303674718c74b35f9a4ea1d3515",
|
||||
Tracks = new[]
|
||||
{
|
||||
new TrackInfoTestExpected
|
||||
{
|
||||
Session = 1,
|
||||
Start = 0,
|
||||
End = 0,
|
||||
Pregap = 0,
|
||||
Flags = 0
|
||||
End = 254264,
|
||||
Pregap = 150,
|
||||
Flags = 4,
|
||||
Number = 1,
|
||||
FileSystems = new[]
|
||||
{
|
||||
new FileSystemTest
|
||||
{
|
||||
Clusters = 63562,
|
||||
ClusterSize = 8192,
|
||||
Type = "HFS",
|
||||
VolumeName = "Winpower"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
Clusters = 254265,
|
||||
ClusterSize = 2048,
|
||||
Type = "ISO9660",
|
||||
VolumeName = "Winpower"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -65,19 +83,37 @@ namespace Aaru.Tests.Images
|
||||
{
|
||||
TestFile = "report_cdrom_cooked.xmd",
|
||||
MediaType = MediaType.CDROM,
|
||||
Sectors = 0,
|
||||
MD5 = "UNKNOWN",
|
||||
LongMD5 = "UNKNOWN",
|
||||
SubchannelMD5 = "UNKNOWN",
|
||||
Sectors = 254265,
|
||||
MD5 = "bf4bbec517101d0d6f45d2e4d50cb875",
|
||||
LongMD5 = "3d3f9cf7d1ba2249b1e7960071e5af46",
|
||||
SubchannelMD5 = "1994c303674718c74b35f9a4ea1d3515",
|
||||
Tracks = new[]
|
||||
{
|
||||
new TrackInfoTestExpected
|
||||
{
|
||||
Session = 1,
|
||||
Start = 0,
|
||||
End = 0,
|
||||
Pregap = 0,
|
||||
Flags = 0
|
||||
End = 254264,
|
||||
Pregap = 150,
|
||||
Flags = 4,
|
||||
Number = 1,
|
||||
FileSystems = new[]
|
||||
{
|
||||
new FileSystemTest
|
||||
{
|
||||
Clusters = 63562,
|
||||
ClusterSize = 8192,
|
||||
Type = "HFS",
|
||||
VolumeName = "Winpower"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
Clusters = 254265,
|
||||
ClusterSize = 2048,
|
||||
Type = "ISO9660",
|
||||
VolumeName = "Winpower"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -85,19 +121,37 @@ namespace Aaru.Tests.Images
|
||||
{
|
||||
TestFile = "report_cdrom_nodpm.xmd",
|
||||
MediaType = MediaType.CDROM,
|
||||
Sectors = 0,
|
||||
MD5 = "UNKNOWN",
|
||||
LongMD5 = "UNKNOWN",
|
||||
SubchannelMD5 = "UNKNOWN",
|
||||
Sectors = 254265,
|
||||
MD5 = "bf4bbec517101d0d6f45d2e4d50cb875",
|
||||
LongMD5 = "3d3f9cf7d1ba2249b1e7960071e5af46",
|
||||
SubchannelMD5 = "66518892168f9bd5003e14979573861c",
|
||||
Tracks = new[]
|
||||
{
|
||||
new TrackInfoTestExpected
|
||||
{
|
||||
Session = 1,
|
||||
Start = 0,
|
||||
End = 0,
|
||||
Pregap = 0,
|
||||
Flags = 0
|
||||
End = 254264,
|
||||
Pregap = 150,
|
||||
Flags = 4,
|
||||
Number = 1,
|
||||
FileSystems = new[]
|
||||
{
|
||||
new FileSystemTest
|
||||
{
|
||||
Clusters = 63562,
|
||||
ClusterSize = 8192,
|
||||
Type = "HFS",
|
||||
VolumeName = "Winpower"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
Clusters = 254265,
|
||||
ClusterSize = 2048,
|
||||
Type = "ISO9660",
|
||||
VolumeName = "Winpower"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -105,19 +159,37 @@ namespace Aaru.Tests.Images
|
||||
{
|
||||
TestFile = "report_cdrom.xmd",
|
||||
MediaType = MediaType.CDROM,
|
||||
Sectors = 0,
|
||||
MD5 = "UNKNOWN",
|
||||
LongMD5 = "UNKNOWN",
|
||||
SubchannelMD5 = "UNKNOWN",
|
||||
Sectors = 254265,
|
||||
MD5 = "bf4bbec517101d0d6f45d2e4d50cb875",
|
||||
LongMD5 = "3d3f9cf7d1ba2249b1e7960071e5af46",
|
||||
SubchannelMD5 = "8f0313d7a5f85e23be0d254f3c091004",
|
||||
Tracks = new[]
|
||||
{
|
||||
new TrackInfoTestExpected
|
||||
{
|
||||
Session = 1,
|
||||
Start = 0,
|
||||
End = 0,
|
||||
Pregap = 0,
|
||||
Flags = 0
|
||||
End = 254264,
|
||||
Pregap = 150,
|
||||
Flags = 4,
|
||||
Number = 1,
|
||||
FileSystems = new[]
|
||||
{
|
||||
new FileSystemTest
|
||||
{
|
||||
Clusters = 63562,
|
||||
ClusterSize = 8192,
|
||||
Type = "HFS",
|
||||
VolumeName = "Winpower"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
Clusters = 254265,
|
||||
ClusterSize = 2048,
|
||||
Type = "ISO9660",
|
||||
VolumeName = "Winpower"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -125,39 +197,69 @@ namespace Aaru.Tests.Images
|
||||
{
|
||||
TestFile = "report_cdrw.xmd",
|
||||
MediaType = MediaType.CDRW,
|
||||
Sectors = 0,
|
||||
MD5 = "UNKNOWN",
|
||||
LongMD5 = "UNKNOWN",
|
||||
SubchannelMD5 = "UNKNOWN",
|
||||
Sectors = 308224,
|
||||
MD5 = "1e55aa420ca8f8ea77d5b597c9cfc19b",
|
||||
LongMD5 = "3af5f943ddb9427d9c63a4ce3b704db9",
|
||||
SubchannelMD5 = "124df553ac9337d1b36c611aa1a3e16f",
|
||||
Tracks = new[]
|
||||
{
|
||||
new TrackInfoTestExpected
|
||||
{
|
||||
Session = 1,
|
||||
Start = 0,
|
||||
End = 0,
|
||||
Pregap = 0,
|
||||
Flags = 0
|
||||
End = 308223,
|
||||
Pregap = 150,
|
||||
Flags = 4,
|
||||
Number = 1,
|
||||
FileSystems = new[]
|
||||
{
|
||||
new FileSystemTest
|
||||
{
|
||||
Bootable = true,
|
||||
Clusters = 308224,
|
||||
ClusterSize = 2048,
|
||||
Type = "ISO9660",
|
||||
VolumeName = "ARCH_201901"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
new OpticalImageTestExpected
|
||||
{
|
||||
TestFile = "report_cdr.xmd",
|
||||
MediaType = MediaType.CDR,
|
||||
Sectors = 0,
|
||||
MD5 = "UNKNOWN",
|
||||
LongMD5 = "UNKNOWN",
|
||||
SubchannelMD5 = "UNKNOWN",
|
||||
MediaType = MediaType.CDROM,
|
||||
Sectors = 254265,
|
||||
MD5 = "bf4bbec517101d0d6f45d2e4d50cb875",
|
||||
LongMD5 = "3d3f9cf7d1ba2249b1e7960071e5af46",
|
||||
SubchannelMD5 = "248dd7375479f40267b6d4f9fd889d5b",
|
||||
Tracks = new[]
|
||||
{
|
||||
new TrackInfoTestExpected
|
||||
{
|
||||
Session = 1,
|
||||
Start = 0,
|
||||
End = 0,
|
||||
Pregap = 0,
|
||||
Flags = 0
|
||||
End = 254264,
|
||||
Pregap = 150,
|
||||
Flags = 4,
|
||||
Number = 1,
|
||||
FileSystems = new[]
|
||||
{
|
||||
new FileSystemTest
|
||||
{
|
||||
Clusters = 63562,
|
||||
ClusterSize = 8192,
|
||||
Type = "HFS",
|
||||
VolumeName = "Winpower"
|
||||
},
|
||||
new FileSystemTest
|
||||
{
|
||||
Clusters = 254265,
|
||||
ClusterSize = 2048,
|
||||
Type = "ISO9660",
|
||||
VolumeName = "Winpower"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -165,17 +267,30 @@ namespace Aaru.Tests.Images
|
||||
{
|
||||
TestFile = "report_dvdram_v1.xmd",
|
||||
MediaType = MediaType.DVDRAM,
|
||||
Sectors = 0,
|
||||
MD5 = "UNKNOWN",
|
||||
LongMD5 = "UNKNOWN",
|
||||
Sectors = 471091,
|
||||
MD5 = "b6fe37716c05c1d52ef19c28946f3b76",
|
||||
LongMD5 = "b6fe37716c05c1d52ef19c28946f3b76",
|
||||
|
||||
Tracks = new[]
|
||||
{
|
||||
new TrackInfoTestExpected
|
||||
{
|
||||
Session = 1,
|
||||
Start = 0,
|
||||
End = 0,
|
||||
Pregap = 0
|
||||
End = 471090,
|
||||
Pregap = 0,
|
||||
Number = 1,
|
||||
FileSystems = new[]
|
||||
{
|
||||
new FileSystemTest
|
||||
{
|
||||
Bootable = true,
|
||||
Clusters = 471090,
|
||||
ClusterSize = 2048,
|
||||
Type = "ISO9660",
|
||||
VolumeName = "12_2_RELEASE_AMD64_CD"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -183,35 +298,30 @@ namespace Aaru.Tests.Images
|
||||
{
|
||||
TestFile = "report_dvdram_v2.xmd",
|
||||
MediaType = MediaType.DVDRAM,
|
||||
Sectors = 0,
|
||||
MD5 = "UNKNOWN",
|
||||
LongMD5 = "UNKNOWN",
|
||||
Sectors = 471091,
|
||||
MD5 = "b6fe37716c05c1d52ef19c28946f3b76",
|
||||
LongMD5 = "b6fe37716c05c1d52ef19c28946f3b76",
|
||||
|
||||
Tracks = new[]
|
||||
{
|
||||
new TrackInfoTestExpected
|
||||
{
|
||||
Session = 1,
|
||||
Start = 0,
|
||||
End = 0,
|
||||
Pregap = 0
|
||||
}
|
||||
}
|
||||
},
|
||||
new OpticalImageTestExpected
|
||||
{
|
||||
TestFile = "report_dvd+r-dl.xmd",
|
||||
MediaType = MediaType.DVDPRDL,
|
||||
Sectors = 0,
|
||||
MD5 = "UNKNOWN",
|
||||
LongMD5 = "UNKNOWN",
|
||||
Tracks = new[]
|
||||
{
|
||||
new TrackInfoTestExpected
|
||||
{
|
||||
Session = 1,
|
||||
Start = 0,
|
||||
End = 0,
|
||||
Pregap = 0
|
||||
End = 471090,
|
||||
Pregap = 0,
|
||||
Number = 1,
|
||||
FileSystems = new[]
|
||||
{
|
||||
new FileSystemTest
|
||||
{
|
||||
Bootable = true,
|
||||
Clusters = 471090,
|
||||
ClusterSize = 2048,
|
||||
Type = "ISO9660",
|
||||
VolumeName = "12_2_RELEASE_AMD64_CD"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -219,17 +329,29 @@ namespace Aaru.Tests.Images
|
||||
{
|
||||
TestFile = "report_dvdrom.xmd",
|
||||
MediaType = MediaType.DVDROM,
|
||||
Sectors = 0,
|
||||
MD5 = "UNKNOWN",
|
||||
LongMD5 = "UNKNOWN",
|
||||
Sectors = 2146358,
|
||||
MD5 = "ae08c024d6942e62884abe137f66a80f",
|
||||
LongMD5 = "ae08c024d6942e62884abe137f66a80f",
|
||||
Tracks = new[]
|
||||
{
|
||||
new TrackInfoTestExpected
|
||||
{
|
||||
Session = 1,
|
||||
Start = 0,
|
||||
End = 0,
|
||||
Pregap = 0
|
||||
End = 2146357,
|
||||
Pregap = 0,
|
||||
Number = 1,
|
||||
FileSystems = new[]
|
||||
{
|
||||
new FileSystemTest
|
||||
{
|
||||
Bootable = true,
|
||||
Clusters = 2146357,
|
||||
ClusterSize = 2048,
|
||||
Type = "ISO9660",
|
||||
VolumeName = "SU1100.001"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -237,17 +359,29 @@ namespace Aaru.Tests.Images
|
||||
{
|
||||
TestFile = "report_dvd+rw.xmd",
|
||||
MediaType = MediaType.DVDPRW,
|
||||
Sectors = 0,
|
||||
MD5 = "UNKNOWN",
|
||||
LongMD5 = "UNKNOWN",
|
||||
Sectors = 2146358,
|
||||
MD5 = "cea717c199230bef889ce268a473d2e6",
|
||||
LongMD5 = "cea717c199230bef889ce268a473d2e6",
|
||||
Tracks = new[]
|
||||
{
|
||||
new TrackInfoTestExpected
|
||||
{
|
||||
Session = 1,
|
||||
Start = 0,
|
||||
End = 0,
|
||||
Pregap = 0
|
||||
End = 2146357,
|
||||
Pregap = 0,
|
||||
Number = 1,
|
||||
FileSystems = new[]
|
||||
{
|
||||
new FileSystemTest
|
||||
{
|
||||
Bootable = true,
|
||||
Clusters = 2146357,
|
||||
ClusterSize = 2048,
|
||||
Type = "ISO9660",
|
||||
VolumeName = "SU1100.001"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -255,17 +389,29 @@ namespace Aaru.Tests.Images
|
||||
{
|
||||
TestFile = "report_dvd-rw.xmd",
|
||||
MediaType = MediaType.DVDRW,
|
||||
Sectors = 0,
|
||||
MD5 = "UNKNOWN",
|
||||
LongMD5 = "UNKNOWN",
|
||||
Sectors = 2146369,
|
||||
MD5 = "a60ea0383c5b39e14e09f47e749a3f46",
|
||||
LongMD5 = "a60ea0383c5b39e14e09f47e749a3f46",
|
||||
Tracks = new[]
|
||||
{
|
||||
new TrackInfoTestExpected
|
||||
{
|
||||
Session = 1,
|
||||
Start = 0,
|
||||
End = 0,
|
||||
Pregap = 0
|
||||
End = 2146368,
|
||||
Pregap = 0,
|
||||
Number = 1,
|
||||
FileSystems = new[]
|
||||
{
|
||||
new FileSystemTest
|
||||
{
|
||||
Bootable = true,
|
||||
Clusters = 2146357,
|
||||
ClusterSize = 2048,
|
||||
Type = "ISO9660",
|
||||
VolumeName = "SU1100.001"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -273,17 +419,29 @@ namespace Aaru.Tests.Images
|
||||
{
|
||||
TestFile = "report_dvd+r.xmd",
|
||||
MediaType = MediaType.DVDPR,
|
||||
Sectors = 0,
|
||||
MD5 = "UNKNOWN",
|
||||
LongMD5 = "UNKNOWN",
|
||||
Sectors = 2146358,
|
||||
MD5 = "cea717c199230bef889ce268a473d2e6",
|
||||
LongMD5 = "cea717c199230bef889ce268a473d2e6",
|
||||
Tracks = new[]
|
||||
{
|
||||
new TrackInfoTestExpected
|
||||
{
|
||||
Session = 1,
|
||||
Start = 0,
|
||||
End = 0,
|
||||
Pregap = 0
|
||||
End = 2146357,
|
||||
Pregap = 0,
|
||||
Number = 1,
|
||||
FileSystems = new[]
|
||||
{
|
||||
new FileSystemTest
|
||||
{
|
||||
Bootable = true,
|
||||
Clusters = 2146357,
|
||||
ClusterSize = 2048,
|
||||
Type = "ISO9660",
|
||||
VolumeName = "SU1100.001"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -291,17 +449,29 @@ namespace Aaru.Tests.Images
|
||||
{
|
||||
TestFile = "report_dvd-r.xmd",
|
||||
MediaType = MediaType.DVDR,
|
||||
Sectors = 0,
|
||||
MD5 = "UNKNOWN",
|
||||
LongMD5 = "UNKNOWN",
|
||||
Sectors = 2146358,
|
||||
MD5 = "6ba700d9b40b7ef1a9e4f78e317f124d",
|
||||
LongMD5 = "6ba700d9b40b7ef1a9e4f78e317f124d",
|
||||
Tracks = new[]
|
||||
{
|
||||
new TrackInfoTestExpected
|
||||
{
|
||||
Session = 1,
|
||||
Start = 0,
|
||||
End = 0,
|
||||
Pregap = 0
|
||||
End = 2146357,
|
||||
Pregap = 0,
|
||||
Number = 1,
|
||||
FileSystems = new[]
|
||||
{
|
||||
new FileSystemTest
|
||||
{
|
||||
Bootable = true,
|
||||
Clusters = 2146357,
|
||||
ClusterSize = 2048,
|
||||
Type = "ISO9660",
|
||||
VolumeName = "SU1100.001"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user