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,39 +40,21 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class NTFS_GPT
|
||||
{
|
||||
readonly string[] testfiles = {
|
||||
"haiku_hrev51259.vdi.lz",
|
||||
readonly string[] testfiles = {"haiku_hrev51259.vdi.lz",};
|
||||
|
||||
};
|
||||
readonly ulong[] sectors = {2097152,};
|
||||
|
||||
readonly ulong[] sectors = {
|
||||
2097152,
|
||||
};
|
||||
readonly uint[] sectorsize = {512,};
|
||||
|
||||
readonly uint[] sectorsize = {
|
||||
512,
|
||||
};
|
||||
readonly long[] clusters = {261887,};
|
||||
|
||||
readonly long[] clusters = {
|
||||
261887,
|
||||
};
|
||||
readonly int[] clustersize = {4096,};
|
||||
|
||||
readonly int[] clustersize = {
|
||||
4096,
|
||||
};
|
||||
readonly string[] volumename = {null, null, null, null, null, null, null, null,};
|
||||
|
||||
readonly string[] volumename = {
|
||||
null, null, null, null,
|
||||
null, null, null, null,
|
||||
};
|
||||
readonly string[] volumeserial = {"106DA7693F7F6B3F",};
|
||||
|
||||
readonly string[] volumeserial = {
|
||||
"106DA7693F7F6B3F",
|
||||
};
|
||||
|
||||
readonly string[] oemid = {
|
||||
null,
|
||||
};
|
||||
readonly string[] oemid = {null,};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
@@ -97,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);
|
||||
@@ -109,4 +92,4 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user