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,37 +40,21 @@ namespace DiscImageChef.Tests.Filesystems
[TestFixture]
public class BeFS_APM
{
readonly string[] testfiles = {
"beos_r3.1.vdi.lz", "beos_r4.5.vdi.lz",
};
readonly string[] testfiles = {"beos_r3.1.vdi.lz", "beos_r4.5.vdi.lz",};
readonly ulong[] sectors = {
1572864, 1572864,
};
readonly ulong[] sectors = {1572864, 1572864,};
readonly uint[] sectorsize = {
512, 512,
};
readonly uint[] sectorsize = {512, 512,};
readonly long[] clusters = {
786336, 786336,
};
readonly long[] clusters = {786336, 786336,};
readonly int[] clustersize = {
1024, 1024,
};
readonly int[] clustersize = {1024, 1024,};
readonly string[] volumename = {
"Volume label","Volume label",
};
readonly string[] volumename = {"Volume label", "Volume label",};
readonly string[] volumeserial = {
null,null,
};
readonly string[] volumeserial = {null, null,};
readonly string[] oemid = {
null,null,
};
readonly string[] oemid = {null, null,};
[Test]
public void Test()
@@ -95,6 +79,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);
@@ -107,4 +92,4 @@ namespace DiscImageChef.Tests.Filesystems
}
}
}
}
}