mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
REFACTOR: Reformat code.
This commit is contained in:
@@ -40,33 +40,20 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class BeFS_MBR
|
||||
{
|
||||
readonly string[] testfiles = {
|
||||
"beos_r3.1.vdi.lz", "beos_r4.5.vdi.lz", "haiku_hrev51259.vdi.lz","syllable_0.6.7.vdi.lz"
|
||||
};
|
||||
readonly string[] testfiles =
|
||||
{"beos_r3.1.vdi.lz", "beos_r4.5.vdi.lz", "haiku_hrev51259.vdi.lz", "syllable_0.6.7.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {
|
||||
1572864, 1572864, 8388608, 2097152,
|
||||
};
|
||||
readonly ulong[] sectors = {1572864, 1572864, 8388608, 2097152,};
|
||||
|
||||
readonly uint[] sectorsize = {
|
||||
512, 512, 512, 512,
|
||||
};
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512,};
|
||||
|
||||
readonly long[] clusters = {
|
||||
786400, 785232, 2096640, 524272,
|
||||
};
|
||||
readonly long[] clusters = {786400, 785232, 2096640, 524272,};
|
||||
|
||||
readonly int[] clustersize = {
|
||||
1024, 1024, 2048, 2048,
|
||||
};
|
||||
readonly int[] clustersize = {1024, 1024, 2048, 2048,};
|
||||
|
||||
readonly string[] volumename = {
|
||||
"Volume label","Volume label","Volume label","Volume label",
|
||||
};
|
||||
readonly string[] volumename = {"Volume label", "Volume label", "Volume label", "Volume label",};
|
||||
|
||||
readonly string[] volumeserial = {
|
||||
null,null,null,null,
|
||||
};
|
||||
readonly string[] volumeserial = {null, null, null, null,};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
@@ -91,6 +78,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Assert.AreNotEqual(-1, part, string.Format("Partition not found on {0}", testfiles[i]));
|
||||
Assert.AreEqual(true, fs.Identify(image, partitions[part]), testfiles[i]);
|
||||
fs.GetInformation(image, partitions[part], out string information);
|
||||
@@ -102,4 +90,4 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user