REFACTOR: Reformat code.

This commit is contained in:
2017-12-19 20:33:03 +00:00
parent 77edc7c91c
commit e6f6ace80b
704 changed files with 82627 additions and 83641 deletions

View File

@@ -40,33 +40,20 @@ namespace DiscImageChef.Tests.Filesystems
[TestFixture]
public class AOFS_RDB
{
readonly string[] testfiles = {
"amigaos_3.9.vdi.lz","amigaos_3.9_intl.vdi.lz","aros.vdi.lz","aros_intl.vdi.lz",
};
readonly string[] testfiles =
{"amigaos_3.9.vdi.lz", "amigaos_3.9_intl.vdi.lz", "aros.vdi.lz", "aros_intl.vdi.lz",};
readonly ulong[] sectors = {
1024128,1024128,409600,409600,
};
readonly ulong[] sectors = {1024128, 1024128, 409600, 409600,};
readonly uint[] sectorsize = {
512,512,512,512,
};
readonly uint[] sectorsize = {512, 512, 512, 512,};
readonly long[] clusters = {
510032,510032,407232,407232,
};
readonly long[] clusters = {510032, 510032, 407232, 407232,};
readonly int[] clustersize = {
1024,1024,512,512,
};
readonly int[] clustersize = {1024, 1024, 512, 512,};
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 = {
"A56D13BB","A56D0415","A582F3A0","A5830B06",
};
readonly string[] volumeserial = {"A56D13BB", "A56D0415", "A582F3A0", "A5830B06",};
[Test]
public void Test()
@@ -85,12 +72,14 @@ namespace DiscImageChef.Tests.Filesystems
int part = -1;
for(int j = 0; j < partitions.Count; j++)
{
if(partitions[j].Type == "\"DOS\\0\"" || partitions[j].Type == "\"DOS\\2\"" || partitions[j].Type == "\"DOS\\4\"")
if(partitions[j].Type == "\"DOS\\0\"" || partitions[j].Type == "\"DOS\\2\"" ||
partitions[j].Type == "\"DOS\\4\"")
{
part = j;
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 +91,4 @@ namespace DiscImageChef.Tests.Filesystems
}
}
}
}
}