mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
REFACTOR: Reformat code.
This commit is contained in:
@@ -40,37 +40,21 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class UFS_Suni86
|
||||
{
|
||||
readonly string[] testfiles = {
|
||||
"solaris_7.vdi.lz",
|
||||
};
|
||||
readonly string[] testfiles = {"solaris_7.vdi.lz",};
|
||||
|
||||
readonly ulong[] sectors = {
|
||||
4194304,
|
||||
};
|
||||
readonly ulong[] sectors = {4194304,};
|
||||
|
||||
readonly uint[] sectorsize = {
|
||||
512,
|
||||
};
|
||||
readonly uint[] sectorsize = {512,};
|
||||
|
||||
readonly long[] clusters = {
|
||||
2063376,
|
||||
};
|
||||
readonly long[] clusters = {2063376,};
|
||||
|
||||
readonly int[] clustersize = {
|
||||
1024,
|
||||
};
|
||||
readonly int[] clustersize = {1024,};
|
||||
|
||||
readonly string[] volumename = {
|
||||
null,
|
||||
};
|
||||
readonly string[] volumename = {null,};
|
||||
|
||||
readonly string[] volumeserial = {
|
||||
null,
|
||||
};
|
||||
readonly string[] volumeserial = {null,};
|
||||
|
||||
readonly string[] type = {
|
||||
"UFS",
|
||||
};
|
||||
readonly string[] type = {"UFS",};
|
||||
|
||||
[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);
|
||||
@@ -106,4 +91,4 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user