mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[Refactor] Use collection expressions.
This commit is contained in:
@@ -41,8 +41,8 @@ public class Alcohol : OpticalMediaImageTest
|
||||
|
||||
public override IMediaImage Plugin => new Aaru.Images.Alcohol120();
|
||||
|
||||
public override OpticalImageTestExpected[] Tests => new[]
|
||||
{
|
||||
public override OpticalImageTestExpected[] Tests =>
|
||||
[
|
||||
new OpticalImageTestExpected
|
||||
{
|
||||
TestFile = "cdiready_the_apprentice.mds",
|
||||
@@ -50,8 +50,8 @@ public class Alcohol : OpticalMediaImageTest
|
||||
Sectors = 279300,
|
||||
Md5 = "556d7d32e3c01c2087cc56b25fe5f66d",
|
||||
LongMd5 = "556d7d32e3c01c2087cc56b25fe5f66d",
|
||||
Tracks = new[]
|
||||
{
|
||||
Tracks =
|
||||
[
|
||||
new TrackInfoTestExpected
|
||||
{
|
||||
Session = 1,
|
||||
@@ -228,7 +228,7 @@ public class Alcohol : OpticalMediaImageTest
|
||||
Pregap = 0,
|
||||
Flags = 0
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
new OpticalImageTestExpected
|
||||
{
|
||||
@@ -237,8 +237,8 @@ public class Alcohol : OpticalMediaImageTest
|
||||
Sectors = 247073,
|
||||
Md5 = "c96a7bf12427078bab252d941716cc32",
|
||||
LongMd5 = "c96a7bf12427078bab252d941716cc32",
|
||||
Tracks = new[]
|
||||
{
|
||||
Tracks =
|
||||
[
|
||||
new TrackInfoTestExpected
|
||||
{
|
||||
Session = 1,
|
||||
@@ -351,7 +351,7 @@ public class Alcohol : OpticalMediaImageTest
|
||||
Pregap = 0,
|
||||
Flags = 0
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
new OpticalImageTestExpected
|
||||
{
|
||||
@@ -360,8 +360,8 @@ public class Alcohol : OpticalMediaImageTest
|
||||
Sectors = 254265,
|
||||
Md5 = "bf4bbec517101d0d6f45d2e4d50cb875",
|
||||
LongMd5 = "3d3f9cf7d1ba2249b1e7960071e5af46",
|
||||
Tracks = new[]
|
||||
{
|
||||
Tracks =
|
||||
[
|
||||
new TrackInfoTestExpected
|
||||
{
|
||||
Session = 1,
|
||||
@@ -370,8 +370,8 @@ public class Alcohol : OpticalMediaImageTest
|
||||
Pregap = 150,
|
||||
Flags = 4,
|
||||
Number = 1,
|
||||
FileSystems = new[]
|
||||
{
|
||||
FileSystems =
|
||||
[
|
||||
new FileSystemTest
|
||||
{
|
||||
Clusters = 63562,
|
||||
@@ -386,9 +386,9 @@ public class Alcohol : OpticalMediaImageTest
|
||||
Type = "iso9660",
|
||||
VolumeName = "Winpower"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
new OpticalImageTestExpected
|
||||
{
|
||||
@@ -397,8 +397,8 @@ public class Alcohol : OpticalMediaImageTest
|
||||
Sectors = 308224,
|
||||
Md5 = "1e55aa420ca8f8ea77d5b597c9cfc19b",
|
||||
LongMd5 = "3af5f943ddb9427d9c63a4ce3b704db9",
|
||||
Tracks = new[]
|
||||
{
|
||||
Tracks =
|
||||
[
|
||||
new TrackInfoTestExpected
|
||||
{
|
||||
Session = 1,
|
||||
@@ -407,8 +407,8 @@ public class Alcohol : OpticalMediaImageTest
|
||||
Pregap = 150,
|
||||
Flags = 4,
|
||||
Number = 1,
|
||||
FileSystems = new[]
|
||||
{
|
||||
FileSystems =
|
||||
[
|
||||
new FileSystemTest
|
||||
{
|
||||
Bootable = true,
|
||||
@@ -417,9 +417,9 @@ public class Alcohol : OpticalMediaImageTest
|
||||
Type = "iso9660",
|
||||
VolumeName = "ARCH_201901"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
new OpticalImageTestExpected
|
||||
{
|
||||
@@ -428,8 +428,8 @@ public class Alcohol : OpticalMediaImageTest
|
||||
Sectors = 471090,
|
||||
Md5 = "35cb08dd5fedfb8e9ad2918292e51791",
|
||||
LongMd5 = "35cb08dd5fedfb8e9ad2918292e51791",
|
||||
Tracks = new[]
|
||||
{
|
||||
Tracks =
|
||||
[
|
||||
new TrackInfoTestExpected
|
||||
{
|
||||
Session = 1,
|
||||
@@ -437,8 +437,8 @@ public class Alcohol : OpticalMediaImageTest
|
||||
End = 471089,
|
||||
Pregap = 0,
|
||||
Number = 1,
|
||||
FileSystems = new[]
|
||||
{
|
||||
FileSystems =
|
||||
[
|
||||
new FileSystemTest
|
||||
{
|
||||
Bootable = true,
|
||||
@@ -447,9 +447,9 @@ public class Alcohol : OpticalMediaImageTest
|
||||
Type = "iso9660",
|
||||
VolumeName = "12_2_RELEASE_AMD64_CD"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
new OpticalImageTestExpected
|
||||
{
|
||||
@@ -458,8 +458,8 @@ public class Alcohol : OpticalMediaImageTest
|
||||
Sectors = 3455920,
|
||||
Md5 = "1cd9b9be5c5e337c5e6576156b84b726",
|
||||
LongMd5 = "1cd9b9be5c5e337c5e6576156b84b726",
|
||||
Tracks = new[]
|
||||
{
|
||||
Tracks =
|
||||
[
|
||||
new TrackInfoTestExpected
|
||||
{
|
||||
Session = 1,
|
||||
@@ -467,8 +467,8 @@ public class Alcohol : OpticalMediaImageTest
|
||||
End = 3455919,
|
||||
Pregap = 0,
|
||||
Number = 1,
|
||||
FileSystems = new[]
|
||||
{
|
||||
FileSystems =
|
||||
[
|
||||
new FileSystemTest
|
||||
{
|
||||
Clusters = 3455920,
|
||||
@@ -477,9 +477,9 @@ public class Alcohol : OpticalMediaImageTest
|
||||
VolumeName = "Test DVD",
|
||||
VolumeSerial = "483E25D50034BBB0"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
new OpticalImageTestExpected
|
||||
{
|
||||
@@ -488,8 +488,8 @@ public class Alcohol : OpticalMediaImageTest
|
||||
Sectors = 2146357,
|
||||
Md5 = "5e1841b7cd6ac0a95b8ae6f110fd89f2",
|
||||
LongMd5 = "5e1841b7cd6ac0a95b8ae6f110fd89f2",
|
||||
Tracks = new[]
|
||||
{
|
||||
Tracks =
|
||||
[
|
||||
new TrackInfoTestExpected
|
||||
{
|
||||
Session = 1,
|
||||
@@ -497,8 +497,8 @@ public class Alcohol : OpticalMediaImageTest
|
||||
End = 2146356,
|
||||
Pregap = 0,
|
||||
Number = 1,
|
||||
FileSystems = new[]
|
||||
{
|
||||
FileSystems =
|
||||
[
|
||||
new FileSystemTest
|
||||
{
|
||||
Bootable = true,
|
||||
@@ -507,9 +507,9 @@ public class Alcohol : OpticalMediaImageTest
|
||||
Type = "iso9660",
|
||||
VolumeName = "SU1100.001"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
new OpticalImageTestExpected
|
||||
{
|
||||
@@ -518,8 +518,8 @@ public class Alcohol : OpticalMediaImageTest
|
||||
Sectors = 303316,
|
||||
Md5 = "97e5bf1caf3998e818d40cd845c6ecc9",
|
||||
LongMd5 = "07b4d88c8f38cc0168a2f5725b31c52e",
|
||||
Tracks = new[]
|
||||
{
|
||||
Tracks =
|
||||
[
|
||||
new TrackInfoTestExpected
|
||||
{
|
||||
Session = 1,
|
||||
@@ -632,8 +632,8 @@ public class Alcohol : OpticalMediaImageTest
|
||||
Pregap = 150,
|
||||
Flags = 0,
|
||||
Number = 14,
|
||||
FileSystems = new[]
|
||||
{
|
||||
FileSystems =
|
||||
[
|
||||
new FileSystemTest
|
||||
{
|
||||
Clusters = 69136,
|
||||
@@ -641,9 +641,9 @@ public class Alcohol : OpticalMediaImageTest
|
||||
Type = "iso9660",
|
||||
VolumeName = "Melanie C"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
new OpticalImageTestExpected
|
||||
{
|
||||
@@ -652,8 +652,8 @@ public class Alcohol : OpticalMediaImageTest
|
||||
Sectors = 329158,
|
||||
Md5 = "9a19aa0df066732a8ec34025e8160248",
|
||||
LongMd5 = "e981f7dfdb522ba937fe75474e23a446",
|
||||
Tracks = new[]
|
||||
{
|
||||
Tracks =
|
||||
[
|
||||
new TrackInfoTestExpected
|
||||
{
|
||||
Session = 1,
|
||||
@@ -662,8 +662,8 @@ public class Alcohol : OpticalMediaImageTest
|
||||
Pregap = 150,
|
||||
Flags = 4,
|
||||
Number = 1,
|
||||
FileSystems = new[]
|
||||
{
|
||||
FileSystems =
|
||||
[
|
||||
new FileSystemTest
|
||||
{
|
||||
Clusters = 1587,
|
||||
@@ -671,7 +671,7 @@ public class Alcohol : OpticalMediaImageTest
|
||||
Type = "iso9660",
|
||||
VolumeName = ""
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
new TrackInfoTestExpected
|
||||
{
|
||||
@@ -793,7 +793,7 @@ public class Alcohol : OpticalMediaImageTest
|
||||
Pregap = 0,
|
||||
Flags = 0
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
};
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user