mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
REFACTOR: All refactor in DiscImageChef.Tests.
This commit is contained in:
@@ -36,7 +36,7 @@ using NUnit.Framework;
|
||||
namespace DiscImageChef.Tests.Filesystems
|
||||
{
|
||||
[TestFixture]
|
||||
public class ZFS
|
||||
public class Zfs
|
||||
{
|
||||
readonly string[] testfiles = {"netbsd_7.1.vdi.lz"};
|
||||
|
||||
@@ -64,7 +64,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
Assert.AreEqual(true, image.OpenImage(filter), testfiles[i]);
|
||||
Assert.AreEqual(sectors[i], image.ImageInfo.Sectors, testfiles[i]);
|
||||
Assert.AreEqual(sectorsize[i], image.ImageInfo.SectorSize, testfiles[i]);
|
||||
Filesystem fs = new DiscImageChef.Filesystems.ZFS();
|
||||
Filesystem fs = new ZFS();
|
||||
Partition wholePart = new Partition
|
||||
{
|
||||
Name = "Whole device",
|
||||
@@ -72,7 +72,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
Size = image.ImageInfo.Sectors * image.ImageInfo.SectorSize
|
||||
};
|
||||
Assert.AreEqual(true, fs.Identify(image, wholePart), testfiles[i]);
|
||||
fs.GetInformation(image, wholePart, out string information);
|
||||
fs.GetInformation(image, wholePart, out _);
|
||||
Assert.AreEqual(clusters[i], fs.XmlFSType.Clusters, testfiles[i]);
|
||||
Assert.AreEqual(clustersize[i], fs.XmlFSType.ClusterSize, testfiles[i]);
|
||||
Assert.AreEqual("ZFS filesystem", fs.XmlFSType.Type, testfiles[i]);
|
||||
|
||||
Reference in New Issue
Block a user