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,19 @@ namespace DiscImageChef.Tests.Filesystems
[TestFixture]
public class exFAT_MBR
{
readonly string[] testfiles = {
"linux.vdi.lz", "macosx_10.11.vdi.lz", "win10.vdi.lz", "winvista.vdi.lz",
};
readonly string[] testfiles = {"linux.vdi.lz", "macosx_10.11.vdi.lz", "win10.vdi.lz", "winvista.vdi.lz",};
readonly ulong[] sectors = {
262144, 262144, 262144, 262144,
};
readonly ulong[] sectors = {262144, 262144, 262144, 262144,};
readonly uint[] sectorsize = {
512, 512, 512, 512,
};
readonly uint[] sectorsize = {512, 512, 512, 512,};
readonly long[] clusters = {
32464, 32712, 32448, 32208,
};
readonly long[] clusters = {32464, 32712, 32448, 32208,};
readonly int[] clustersize = {
4096, 4096, 4096, 4096,
};
readonly int[] clustersize = {4096, 4096, 4096, 4096,};
readonly string[] volumename = {
null, null, null, null,
};
readonly string[] volumename = {null, null, null, null,};
readonly string[] volumeserial = {
"603565AC", "595AC21E", "20126663", "0AC5CA52"
};
readonly string[] volumeserial = {"603565AC", "595AC21E", "20126663", "0AC5CA52"};
[Test]
public void Test()
@@ -91,6 +77,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 +89,4 @@ namespace DiscImageChef.Tests.Filesystems
}
}
}
}
}