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 XFS_MBR
{
readonly string[] testfiles = {
"linux.vdi.lz",
};
readonly string[] testfiles = {"linux.vdi.lz",};
readonly ulong[] sectors = {
1048576,
};
readonly ulong[] sectors = {1048576,};
readonly uint[] sectorsize = {
512,
};
readonly uint[] sectorsize = {512,};
readonly long[] clusters = {
130816,
};
readonly long[] clusters = {130816,};
readonly int[] clustersize = {
4096,
};
readonly int[] clustersize = {4096,};
readonly string[] volumename = {
"Volume label",
};
readonly string[] volumename = {"Volume label",};
readonly string[] volumeserial = {
"230075b7-9834-b44e-a257-982a058311d8",
};
readonly string[] volumeserial = {"230075b7-9834-b44e-a257-982a058311d8",};
[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
}
}
}
}
}