mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
REFACTOR: Reformat code.
This commit is contained in:
@@ -40,33 +40,19 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class exFAT_GPT
|
||||
{
|
||||
readonly string[] testfiles = {
|
||||
"macosx_10.11.vdi.lz",
|
||||
};
|
||||
readonly string[] testfiles = {"macosx_10.11.vdi.lz",};
|
||||
|
||||
readonly ulong[] sectors = {
|
||||
262144,
|
||||
};
|
||||
readonly ulong[] sectors = {262144,};
|
||||
|
||||
readonly uint[] sectorsize = {
|
||||
512,
|
||||
};
|
||||
readonly uint[] sectorsize = {512,};
|
||||
|
||||
readonly long[] clusters = {
|
||||
32208,
|
||||
};
|
||||
readonly long[] clusters = {32208,};
|
||||
|
||||
readonly int[] clustersize = {
|
||||
4096,
|
||||
};
|
||||
readonly int[] clustersize = {4096,};
|
||||
|
||||
readonly string[] volumename = {
|
||||
null,
|
||||
};
|
||||
readonly string[] volumename = {null,};
|
||||
|
||||
readonly string[] volumeserial = {
|
||||
"595ACC39",
|
||||
};
|
||||
readonly string[] volumeserial = {"595ACC39",};
|
||||
|
||||
[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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user