mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Code cleanup.
This commit is contained in:
@@ -81,8 +81,8 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
Assert.AreEqual(mediatypes[i], image.Info.MediaType, testfiles[i]);
|
||||
Assert.AreEqual(sectors[i], image.Info.Sectors, testfiles[i]);
|
||||
Assert.AreEqual(sectorsize[i], image.Info.SectorSize, testfiles[i]);
|
||||
IFilesystem fs = new AppleHFS();
|
||||
Partition wholePart = new Partition
|
||||
IFilesystem fs = new AppleHFS();
|
||||
Partition wholePart = new Partition
|
||||
{
|
||||
Name = "Whole device",
|
||||
Length = image.Info.Sectors,
|
||||
@@ -172,7 +172,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
List<Partition> partitions = Core.Partitions.GetAll(image);
|
||||
IFilesystem fs = new AppleHFS();
|
||||
int part = -1;
|
||||
for(int j = 0; j < partitions.Count; j++)
|
||||
for(int j = 0; j < partitions.Count; j++)
|
||||
if(partitions[j].Type == "Apple_HFS")
|
||||
{
|
||||
part = j;
|
||||
@@ -229,7 +229,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
List<Partition> partitions = Core.Partitions.GetAll(image);
|
||||
IFilesystem fs = new AppleHFS();
|
||||
int part = -1;
|
||||
for(int j = 0; j < partitions.Count; j++)
|
||||
for(int j = 0; j < partitions.Count; j++)
|
||||
if(partitions[j].Type == "Apple_HFS")
|
||||
{
|
||||
part = j;
|
||||
@@ -283,7 +283,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
List<Partition> partitions = Core.Partitions.GetAll(image);
|
||||
IFilesystem fs = new AppleHFS();
|
||||
int part = -1;
|
||||
for(int j = 0; j < partitions.Count; j++)
|
||||
for(int j = 0; j < partitions.Count; j++)
|
||||
if(partitions[j].Type == "0xAF")
|
||||
{
|
||||
part = j;
|
||||
@@ -334,7 +334,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
List<Partition> partitions = Core.Partitions.GetAll(image);
|
||||
IFilesystem fs = new AppleHFS();
|
||||
int part = -1;
|
||||
for(int j = 0; j < partitions.Count; j++)
|
||||
for(int j = 0; j < partitions.Count; j++)
|
||||
if(partitions[j].Type == "\"RES\\86\"")
|
||||
{
|
||||
part = j;
|
||||
|
||||
Reference in New Issue
Block a user