mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
REFACTOR: Removed reduntant commas.
This commit is contained in:
@@ -37,13 +37,13 @@ namespace DiscImageChef.Tests.Devices
|
||||
[TestFixture]
|
||||
public class IomegaJaz
|
||||
{
|
||||
readonly string[] testfiles = {"jaz1.bin.lz",};
|
||||
readonly string[] testfiles = {"jaz1.bin.lz"};
|
||||
|
||||
readonly MediaType[] mediatypes = {MediaType.Jaz,};
|
||||
readonly MediaType[] mediatypes = {MediaType.Jaz};
|
||||
|
||||
readonly ulong[] sectors = {2091050,};
|
||||
readonly ulong[] sectors = {2091050};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -37,11 +37,11 @@ namespace DiscImageChef.Tests.Devices
|
||||
[TestFixture]
|
||||
public class LS120
|
||||
{
|
||||
readonly string[] testfiles = {"ls120.bin.lz", "mf2dd.bin.lz", "mf2hd.bin.lz",};
|
||||
readonly string[] testfiles = {"ls120.bin.lz", "mf2dd.bin.lz", "mf2hd.bin.lz"};
|
||||
|
||||
readonly MediaType[] mediatypes = {MediaType.LS120, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_HD,};
|
||||
readonly MediaType[] mediatypes = {MediaType.LS120, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_HD};
|
||||
|
||||
readonly ulong[] sectors = {246528, 1440, 2880,};
|
||||
readonly ulong[] sectors = {246528, 1440, 2880};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512, 512};
|
||||
|
||||
|
||||
@@ -37,13 +37,13 @@ namespace DiscImageChef.Tests.Devices
|
||||
[TestFixture]
|
||||
public class PocketZip
|
||||
{
|
||||
readonly string[] testfiles = {"clik!.bin.lz", "pocketzip.bin.lz",};
|
||||
readonly string[] testfiles = {"clik!.bin.lz", "pocketzip.bin.lz"};
|
||||
|
||||
readonly MediaType[] mediatypes = {MediaType.PocketZip, MediaType.PocketZip,};
|
||||
readonly MediaType[] mediatypes = {MediaType.PocketZip, MediaType.PocketZip};
|
||||
|
||||
readonly ulong[] sectors = {78882, 78882,};
|
||||
readonly ulong[] sectors = {78882, 78882};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -41,14 +41,14 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
readonly string[] testfiles =
|
||||
{
|
||||
"adfs_d.adf.lz", "adfs_e.adf.lz", "adfs_f.adf.lz", "adfs_e+.adf.lz", "adfs_f+.adf.lz", "adfs_s.adf.lz",
|
||||
"adfs_m.adf.lz", "adfs_l.adf.lz", "hdd_old.hdf.lz", "hdd_new.hdf.lz",
|
||||
"adfs_m.adf.lz", "adfs_l.adf.lz", "hdd_old.hdf.lz", "hdd_new.hdf.lz"
|
||||
};
|
||||
|
||||
readonly MediaType[] mediatypes =
|
||||
{
|
||||
MediaType.ACORN_35_DS_DD, MediaType.ACORN_35_DS_DD, MediaType.ACORN_35_DS_HD, MediaType.ACORN_35_DS_DD,
|
||||
MediaType.ACORN_35_DS_HD, MediaType.ACORN_525_SS_DD_40, MediaType.ACORN_525_SS_DD_80,
|
||||
MediaType.ACORN_525_DS_DD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD,
|
||||
MediaType.ACORN_525_DS_DD, MediaType.GENERIC_HDD, MediaType.GENERIC_HDD
|
||||
};
|
||||
|
||||
readonly ulong[] sectors = {800, 800, 1600, 800, 1600, 640, 1280, 2560, 78336, 78336};
|
||||
|
||||
@@ -38,21 +38,21 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class AFFS
|
||||
{
|
||||
readonly string[] testfiles = {"amigaos_3.9.adf.lz", "amigaos_3.9_intl.adf.lz",};
|
||||
readonly string[] testfiles = {"amigaos_3.9.adf.lz", "amigaos_3.9_intl.adf.lz"};
|
||||
|
||||
readonly MediaType[] mediatypes = {MediaType.CBM_AMIGA_35_DD, MediaType.CBM_AMIGA_35_DD,};
|
||||
readonly MediaType[] mediatypes = {MediaType.CBM_AMIGA_35_DD, MediaType.CBM_AMIGA_35_DD};
|
||||
|
||||
readonly ulong[] sectors = {1760, 1760,};
|
||||
readonly ulong[] sectors = {1760, 1760};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512};
|
||||
|
||||
readonly long[] clusters = {1760, 1760,};
|
||||
readonly long[] clusters = {1760, 1760};
|
||||
|
||||
readonly int[] clustersize = {512, 512,};
|
||||
readonly int[] clustersize = {512, 512};
|
||||
|
||||
readonly string[] volumename = {"Volume label", "Volume label",};
|
||||
readonly string[] volumename = {"Volume label", "Volume label"};
|
||||
|
||||
readonly string[] volumeserial = {"A5D9FAE2", "A5DA0CC9",};
|
||||
readonly string[] volumeserial = {"A5D9FAE2", "A5DA0CC9"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -39,19 +39,19 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class AFFS2_RDB
|
||||
{
|
||||
readonly string[] testfiles = {"amigaos_4.0.vdi.lz",};
|
||||
readonly string[] testfiles = {"amigaos_4.0.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {1024128,};
|
||||
readonly ulong[] sectors = {1024128};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {511040,};
|
||||
readonly long[] clusters = {511040};
|
||||
|
||||
readonly int[] clustersize = {1024,};
|
||||
readonly int[] clustersize = {1024};
|
||||
|
||||
readonly string[] volumename = {"Volume label",};
|
||||
readonly string[] volumename = {"Volume label"};
|
||||
|
||||
readonly string[] volumeserial = {"611D85E5",};
|
||||
readonly string[] volumeserial = {"611D85E5"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -39,19 +39,19 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class AFFS_MBR
|
||||
{
|
||||
readonly string[] testfiles = {"aros.vdi.lz", "aros_intl.vdi.lz",};
|
||||
readonly string[] testfiles = {"aros.vdi.lz", "aros_intl.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {409600, 409600,};
|
||||
readonly ulong[] sectors = {409600, 409600};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512};
|
||||
|
||||
readonly long[] clusters = {408240, 408240,};
|
||||
readonly long[] clusters = {408240, 408240};
|
||||
|
||||
readonly int[] clustersize = {512, 512,};
|
||||
readonly int[] clustersize = {512, 512};
|
||||
|
||||
readonly string[] volumename = {"Volume label", "Volume label",};
|
||||
readonly string[] volumename = {"Volume label", "Volume label"};
|
||||
|
||||
readonly string[] volumeserial = {"A582DCA4", "A582BC91",};
|
||||
readonly string[] volumeserial = {"A582DCA4", "A582BC91"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -39,19 +39,19 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class AFFS_MBR_RDB
|
||||
{
|
||||
readonly string[] testfiles = {"aros.vdi.lz", "aros_intl.vdi.lz",};
|
||||
readonly string[] testfiles = {"aros.vdi.lz", "aros_intl.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {409600, 409600,};
|
||||
readonly ulong[] sectors = {409600, 409600};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512};
|
||||
|
||||
readonly long[] clusters = {406224, 406224,};
|
||||
readonly long[] clusters = {406224, 406224};
|
||||
|
||||
readonly int[] clustersize = {512, 512,};
|
||||
readonly int[] clustersize = {512, 512};
|
||||
|
||||
readonly string[] volumename = {"Volume label", "Volume label",};
|
||||
readonly string[] volumename = {"Volume label", "Volume label"};
|
||||
|
||||
readonly string[] volumeserial = {"A58348CE", "A5833CD0",};
|
||||
readonly string[] volumeserial = {"A58348CE", "A5833CD0"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -45,22 +45,22 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
"amigaos_4.0_intl.vdi.lz", "amigaos_4.0_cache.vdi.lz"
|
||||
};
|
||||
|
||||
readonly ulong[] sectors = {1024128, 1024128, 409600, 409600, 1024128, 1024128, 1024128,};
|
||||
readonly ulong[] sectors = {1024128, 1024128, 409600, 409600, 1024128, 1024128, 1024128};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512, 512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512, 512, 512};
|
||||
|
||||
readonly long[] clusters = {510032, 510032, 407232, 407232, 511040, 511040, 511040,};
|
||||
readonly long[] clusters = {510032, 510032, 407232, 407232, 511040, 511040, 511040};
|
||||
|
||||
readonly int[] clustersize = {1024, 1024, 512, 512, 1024, 1024, 1024,};
|
||||
readonly int[] clustersize = {1024, 1024, 512, 512, 1024, 1024, 1024};
|
||||
|
||||
readonly string[] volumename =
|
||||
{
|
||||
"Volume label", "Volume label", "Volume label", "Volume label", "Volume label", "Volume label",
|
||||
"Volume label",
|
||||
"Volume label"
|
||||
};
|
||||
|
||||
readonly string[] volumeserial =
|
||||
{"A56D0F5C", "A56D049C", "A58307A9", "A58304BE", "A56CC7EE", "A56CDDC4", "A56CC133",};
|
||||
{"A56D0F5C", "A56D049C", "A58307A9", "A58304BE", "A56CC7EE", "A56CDDC4", "A56CC133"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -42,28 +42,28 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
{
|
||||
"scoopenserver_5.0.7hw_dmf.img.lz", "scoopenserver_5.0.7hw_dshd.img.lz",
|
||||
"scoopenserver_5.0.7hw_mf2dd.img.lz", "scoopenserver_5.0.7hw_mf2ed.img.lz",
|
||||
"scoopenserver_5.0.7hw_mf2hd.img.lz",
|
||||
"scoopenserver_5.0.7hw_mf2hd.img.lz"
|
||||
};
|
||||
|
||||
readonly MediaType[] mediatypes =
|
||||
{MediaType.DMF, MediaType.DOS_525_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_ED, MediaType.DOS_35_HD,};
|
||||
{MediaType.DMF, MediaType.DOS_525_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_ED, MediaType.DOS_35_HD};
|
||||
|
||||
readonly ulong[] sectors = {3360, 2400, 1440, 5760, 2880,};
|
||||
readonly ulong[] sectors = {3360, 2400, 1440, 5760, 2880};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512};
|
||||
|
||||
readonly long[] clusters = {1680, 1200, 720, 2880, 1440,};
|
||||
readonly long[] clusters = {1680, 1200, 720, 2880, 1440};
|
||||
|
||||
readonly int[] clustersize = {1024, 1024, 1024, 1024, 1024,};
|
||||
readonly int[] clustersize = {1024, 1024, 1024, 1024, 1024};
|
||||
|
||||
readonly string[] volumename = {"", "", "", "", "",};
|
||||
readonly string[] volumename = {"", "", "", "", ""};
|
||||
|
||||
readonly string[] volumeserial = {null, null, null, null, null,};
|
||||
readonly string[] volumeserial = {null, null, null, null, null};
|
||||
|
||||
readonly string[] type =
|
||||
{
|
||||
"Acer Fast Filesystem", "Acer Fast Filesystem", "Acer Fast Filesystem", "Acer Fast Filesystem",
|
||||
"Acer Fast Filesystem",
|
||||
"Acer Fast Filesystem"
|
||||
};
|
||||
|
||||
[Test]
|
||||
|
||||
@@ -41,19 +41,19 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
{
|
||||
readonly string[] testfiles = {"scoopenserver_5.0.7hw.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {1024000,};
|
||||
readonly ulong[] sectors = {1024000};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {510048,};
|
||||
readonly long[] clusters = {510048};
|
||||
|
||||
readonly int[] clustersize = {1024,};
|
||||
readonly int[] clustersize = {1024};
|
||||
|
||||
readonly string[] volumename = {"Volume label",};
|
||||
readonly string[] volumename = {"Volume label"};
|
||||
|
||||
readonly string[] volumeserial = {null, null,};
|
||||
readonly string[] volumeserial = {null, null};
|
||||
|
||||
readonly string[] type = {"Acer Fast Filesystem",};
|
||||
readonly string[] type = {"Acer Fast Filesystem"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -38,21 +38,21 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class AOFS
|
||||
{
|
||||
readonly string[] testfiles = {"amigaos_3.9.adf.lz", "amigaos_3.9_intl.adf.lz",};
|
||||
readonly string[] testfiles = {"amigaos_3.9.adf.lz", "amigaos_3.9_intl.adf.lz"};
|
||||
|
||||
readonly MediaType[] mediatypes = {MediaType.CBM_AMIGA_35_DD, MediaType.CBM_AMIGA_35_DD,};
|
||||
readonly MediaType[] mediatypes = {MediaType.CBM_AMIGA_35_DD, MediaType.CBM_AMIGA_35_DD};
|
||||
|
||||
readonly ulong[] sectors = {1760, 1760,};
|
||||
readonly ulong[] sectors = {1760, 1760};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512};
|
||||
|
||||
readonly long[] clusters = {1760, 1760,};
|
||||
readonly long[] clusters = {1760, 1760};
|
||||
|
||||
readonly int[] clustersize = {512, 512,};
|
||||
readonly int[] clustersize = {512, 512};
|
||||
|
||||
readonly string[] volumename = {"Volume label", "Volume label",};
|
||||
readonly string[] volumename = {"Volume label", "Volume label"};
|
||||
|
||||
readonly string[] volumeserial = {"A5D9FE71", "A5D9F14F",};
|
||||
readonly string[] volumeserial = {"A5D9FE71", "A5D9F14F"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -39,19 +39,19 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class AOFS_MBR
|
||||
{
|
||||
readonly string[] testfiles = {"aros.vdi.lz", "aros_intl.vdi.lz",};
|
||||
readonly string[] testfiles = {"aros.vdi.lz", "aros_intl.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {409600, 409600,};
|
||||
readonly ulong[] sectors = {409600, 409600};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512};
|
||||
|
||||
readonly long[] clusters = {408240, 408240,};
|
||||
readonly long[] clusters = {408240, 408240};
|
||||
|
||||
readonly int[] clustersize = {512, 512,};
|
||||
readonly int[] clustersize = {512, 512};
|
||||
|
||||
readonly string[] volumename = {"Volume label", "Volume label",};
|
||||
readonly string[] volumename = {"Volume label", "Volume label"};
|
||||
|
||||
readonly string[] volumeserial = {"A582C90C", "A582CE0D",};
|
||||
readonly string[] volumeserial = {"A582C90C", "A582CE0D"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -39,19 +39,19 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class AOFS_MBR_RDB
|
||||
{
|
||||
readonly string[] testfiles = {"aros.vdi.lz", "aros_intl.vdi.lz",};
|
||||
readonly string[] testfiles = {"aros.vdi.lz", "aros_intl.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {409600, 409600,};
|
||||
readonly ulong[] sectors = {409600, 409600};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512};
|
||||
|
||||
readonly long[] clusters = {406224, 406224,};
|
||||
readonly long[] clusters = {406224, 406224};
|
||||
|
||||
readonly int[] clustersize = {512, 512,};
|
||||
readonly int[] clustersize = {512, 512};
|
||||
|
||||
readonly string[] volumename = {"Volume label", "Volume label",};
|
||||
readonly string[] volumename = {"Volume label", "Volume label"};
|
||||
|
||||
readonly string[] volumeserial = {"A5833C5B", "A5833085",};
|
||||
readonly string[] volumeserial = {"A5833C5B", "A5833085"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -40,19 +40,19 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
public class AOFS_RDB
|
||||
{
|
||||
readonly string[] testfiles =
|
||||
{"amigaos_3.9.vdi.lz", "amigaos_3.9_intl.vdi.lz", "aros.vdi.lz", "aros_intl.vdi.lz",};
|
||||
{"amigaos_3.9.vdi.lz", "amigaos_3.9_intl.vdi.lz", "aros.vdi.lz", "aros_intl.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {1024128, 1024128, 409600, 409600,};
|
||||
readonly ulong[] sectors = {1024128, 1024128, 409600, 409600};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512};
|
||||
|
||||
readonly long[] clusters = {510032, 510032, 407232, 407232,};
|
||||
readonly long[] clusters = {510032, 510032, 407232, 407232};
|
||||
|
||||
readonly int[] clustersize = {1024, 1024, 512, 512,};
|
||||
readonly int[] clustersize = {1024, 1024, 512, 512};
|
||||
|
||||
readonly string[] volumename = {"Volume label", "Volume label", "Volume label", "Volume label",};
|
||||
readonly string[] volumename = {"Volume label", "Volume label", "Volume label", "Volume label"};
|
||||
|
||||
readonly string[] volumeserial = {"A56D13BB", "A56D0415", "A582F3A0", "A5830B06",};
|
||||
readonly string[] volumeserial = {"A56D13BB", "A56D0415", "A582F3A0", "A5830B06"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -39,19 +39,19 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class Atheos_MBR
|
||||
{
|
||||
readonly string[] testfiles = {"syllable_0.6.7.vdi.lz",};
|
||||
readonly string[] testfiles = {"syllable_0.6.7.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {4194304,};
|
||||
readonly ulong[] sectors = {4194304};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {2097120,};
|
||||
readonly long[] clusters = {2097120};
|
||||
|
||||
readonly int[] clustersize = {1024,};
|
||||
readonly int[] clustersize = {1024};
|
||||
|
||||
readonly string[] volumename = {"Volume label",};
|
||||
readonly string[] volumename = {"Volume label"};
|
||||
|
||||
readonly string[] volumeserial = {null,};
|
||||
readonly string[] volumeserial = {null};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -38,23 +38,23 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class BeFS
|
||||
{
|
||||
readonly string[] testfiles = {"beos_r3.1.img.lz", "beos_r4.5.img.lz",};
|
||||
readonly string[] testfiles = {"beos_r3.1.img.lz", "beos_r4.5.img.lz"};
|
||||
|
||||
readonly MediaType[] mediatypes = {MediaType.DOS_35_HD, MediaType.DOS_35_HD,};
|
||||
readonly MediaType[] mediatypes = {MediaType.DOS_35_HD, MediaType.DOS_35_HD};
|
||||
|
||||
readonly ulong[] sectors = {2880, 2880,};
|
||||
readonly ulong[] sectors = {2880, 2880};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512};
|
||||
|
||||
readonly long[] clusters = {1440, 1440,};
|
||||
readonly long[] clusters = {1440, 1440};
|
||||
|
||||
readonly int[] clustersize = {1024, 1024,};
|
||||
readonly int[] clustersize = {1024, 1024};
|
||||
|
||||
readonly string[] volumename = {"Volume label", "Volume label",};
|
||||
readonly string[] volumename = {"Volume label", "Volume label"};
|
||||
|
||||
readonly string[] volumeserial = {null, null,};
|
||||
readonly string[] volumeserial = {null, null};
|
||||
|
||||
readonly string[] oemid = {null, null,};
|
||||
readonly string[] oemid = {null, null};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -39,21 +39,21 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class BeFS_APM
|
||||
{
|
||||
readonly string[] testfiles = {"beos_r3.1.vdi.lz", "beos_r4.5.vdi.lz",};
|
||||
readonly string[] testfiles = {"beos_r3.1.vdi.lz", "beos_r4.5.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {1572864, 1572864,};
|
||||
readonly ulong[] sectors = {1572864, 1572864};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512};
|
||||
|
||||
readonly long[] clusters = {786336, 786336,};
|
||||
readonly long[] clusters = {786336, 786336};
|
||||
|
||||
readonly int[] clustersize = {1024, 1024,};
|
||||
readonly int[] clustersize = {1024, 1024};
|
||||
|
||||
readonly string[] volumename = {"Volume label", "Volume label",};
|
||||
readonly string[] volumename = {"Volume label", "Volume label"};
|
||||
|
||||
readonly string[] volumeserial = {null, null,};
|
||||
readonly string[] volumeserial = {null, null};
|
||||
|
||||
readonly string[] oemid = {null, null,};
|
||||
readonly string[] oemid = {null, null};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -39,19 +39,19 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class BeFS_GPT
|
||||
{
|
||||
readonly string[] testfiles = {"haiku_hrev51259.vdi.lz",};
|
||||
readonly string[] testfiles = {"haiku_hrev51259.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {8388608,};
|
||||
readonly ulong[] sectors = {8388608};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {2096640,};
|
||||
readonly long[] clusters = {2096640};
|
||||
|
||||
readonly int[] clustersize = {2048};
|
||||
|
||||
readonly string[] volumename = {"Volume label",};
|
||||
readonly string[] volumename = {"Volume label"};
|
||||
|
||||
readonly string[] volumeserial = {null, null,};
|
||||
readonly string[] volumeserial = {null, null};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -42,17 +42,17 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
readonly string[] testfiles =
|
||||
{"beos_r3.1.vdi.lz", "beos_r4.5.vdi.lz", "haiku_hrev51259.vdi.lz", "syllable_0.6.7.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {1572864, 1572864, 8388608, 2097152,};
|
||||
readonly ulong[] sectors = {1572864, 1572864, 8388608, 2097152};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512};
|
||||
|
||||
readonly long[] clusters = {786400, 785232, 2096640, 524272,};
|
||||
readonly long[] clusters = {786400, 785232, 2096640, 524272};
|
||||
|
||||
readonly int[] clustersize = {1024, 1024, 2048, 2048,};
|
||||
readonly int[] clustersize = {1024, 1024, 2048, 2048};
|
||||
|
||||
readonly string[] volumename = {"Volume label", "Volume label", "Volume label", "Volume label",};
|
||||
readonly string[] volumename = {"Volume label", "Volume label", "Volume label", "Volume label"};
|
||||
|
||||
readonly string[] volumeserial = {null, null, null, null,};
|
||||
readonly string[] volumeserial = {null, null, null, null};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -41,25 +41,25 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
readonly string[] testfiles =
|
||||
{
|
||||
"coherentunix_4.2.10_dsdd.img.lz", "coherentunix_4.2.10_dshd.img.lz", "coherentunix_4.2.10_mf2dd.img.lz",
|
||||
"coherentunix_4.2.10_mf2hd.img.lz",
|
||||
"coherentunix_4.2.10_mf2hd.img.lz"
|
||||
};
|
||||
|
||||
readonly MediaType[] mediatypes =
|
||||
{MediaType.DOS_525_DS_DD_9, MediaType.DOS_525_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_HD,};
|
||||
{MediaType.DOS_525_DS_DD_9, MediaType.DOS_525_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_HD};
|
||||
|
||||
readonly ulong[] sectors = {720, 2400, 1440, 2880,};
|
||||
readonly ulong[] sectors = {720, 2400, 1440, 2880};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512};
|
||||
|
||||
readonly long[] clusters = {720, 2400, 1440, 2880,};
|
||||
readonly long[] clusters = {720, 2400, 1440, 2880};
|
||||
|
||||
readonly int[] clustersize = {512, 512, 512, 512,};
|
||||
readonly int[] clustersize = {512, 512, 512, 512};
|
||||
|
||||
readonly string[] volumename = {"noname", "noname", "noname", "noname",};
|
||||
readonly string[] volumename = {"noname", "noname", "noname", "noname"};
|
||||
|
||||
readonly string[] volumeserial = {null, null, null, null, null,};
|
||||
readonly string[] volumeserial = {null, null, null, null, null};
|
||||
|
||||
readonly string[] type = {"Coherent fs", "Coherent fs", "Coherent fs", "Coherent fs",};
|
||||
readonly string[] type = {"Coherent fs", "Coherent fs", "Coherent fs", "Coherent fs"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -41,19 +41,19 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
{
|
||||
readonly string[] testfiles = {"coherentunix_4.2.10.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {1024000,};
|
||||
readonly ulong[] sectors = {1024000};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {510048,};
|
||||
readonly long[] clusters = {510048};
|
||||
|
||||
readonly int[] clustersize = {1024,};
|
||||
readonly int[] clustersize = {1024};
|
||||
|
||||
readonly string[] volumename = {"Volume label",};
|
||||
readonly string[] volumename = {"Volume label"};
|
||||
|
||||
readonly string[] volumeserial = {null,};
|
||||
readonly string[] volumeserial = {null};
|
||||
|
||||
readonly string[] type = {"Coherent fs",};
|
||||
readonly string[] type = {"Coherent fs"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -42,25 +42,25 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
{
|
||||
"scoopenserver_5.0.7hw_dmf.img.lz", "scoopenserver_5.0.7hw_dshd.img.lz",
|
||||
"scoopenserver_5.0.7hw_mf2dd.img.lz", "scoopenserver_5.0.7hw_mf2ed.img.lz",
|
||||
"scoopenserver_5.0.7hw_mf2hd.img.lz",
|
||||
"scoopenserver_5.0.7hw_mf2hd.img.lz"
|
||||
};
|
||||
|
||||
readonly MediaType[] mediatypes =
|
||||
{MediaType.DMF, MediaType.DOS_525_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_ED, MediaType.DOS_35_HD,};
|
||||
{MediaType.DMF, MediaType.DOS_525_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_ED, MediaType.DOS_35_HD};
|
||||
|
||||
readonly ulong[] sectors = {3360, 2400, 1440, 5760, 2880,};
|
||||
readonly ulong[] sectors = {3360, 2400, 1440, 5760, 2880};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512};
|
||||
|
||||
readonly long[] clusters = {1680, 1200, 720, 2880, 1440,};
|
||||
readonly long[] clusters = {1680, 1200, 720, 2880, 1440};
|
||||
|
||||
readonly int[] clustersize = {1024, 1024, 1024, 1024, 1024,};
|
||||
readonly int[] clustersize = {1024, 1024, 1024, 1024, 1024};
|
||||
|
||||
readonly string[] volumename = {"", "", "", "", "",};
|
||||
readonly string[] volumename = {"", "", "", "", ""};
|
||||
|
||||
readonly string[] volumeserial = {null, null, null, null, null,};
|
||||
readonly string[] volumeserial = {null, null, null, null, null};
|
||||
|
||||
readonly string[] type = {"DTFS", "DTFS", "DTFS", "DTFS", "DTFS",};
|
||||
readonly string[] type = {"DTFS", "DTFS", "DTFS", "DTFS", "DTFS"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -41,19 +41,19 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
{
|
||||
readonly string[] testfiles = {"scoopenserver_5.0.7hw.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {1024000,};
|
||||
readonly ulong[] sectors = {1024000};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {510048,};
|
||||
readonly long[] clusters = {510048};
|
||||
|
||||
readonly int[] clustersize = {1024,};
|
||||
readonly int[] clustersize = {1024};
|
||||
|
||||
readonly string[] volumename = {"Volume label",};
|
||||
readonly string[] volumename = {"Volume label"};
|
||||
|
||||
readonly string[] volumeserial = {null,};
|
||||
readonly string[] volumeserial = {null};
|
||||
|
||||
readonly string[] type = {"DTFS",};
|
||||
readonly string[] type = {"DTFS"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -42,28 +42,28 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
{
|
||||
"scoopenserver_5.0.7hw_dmf.img.lz", "scoopenserver_5.0.7hw_dshd.img.lz",
|
||||
"scoopenserver_5.0.7hw_mf2dd.img.lz", "scoopenserver_5.0.7hw_mf2ed.img.lz",
|
||||
"scoopenserver_5.0.7hw_mf2hd.img.lz",
|
||||
"scoopenserver_5.0.7hw_mf2hd.img.lz"
|
||||
};
|
||||
|
||||
readonly MediaType[] mediatypes =
|
||||
{MediaType.DMF, MediaType.DOS_525_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_ED, MediaType.DOS_35_HD,};
|
||||
{MediaType.DMF, MediaType.DOS_525_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_ED, MediaType.DOS_35_HD};
|
||||
|
||||
readonly ulong[] sectors = {3360, 2400, 1440, 5760, 2880,};
|
||||
readonly ulong[] sectors = {3360, 2400, 1440, 5760, 2880};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512};
|
||||
|
||||
readonly long[] clusters = {1680, 1200, 720, 2880, 1440,};
|
||||
readonly long[] clusters = {1680, 1200, 720, 2880, 1440};
|
||||
|
||||
readonly int[] clustersize = {1024, 1024, 1024, 1024, 1024,};
|
||||
readonly int[] clustersize = {1024, 1024, 1024, 1024, 1024};
|
||||
|
||||
readonly string[] volumename = {"", "", "", "", "",};
|
||||
readonly string[] volumename = {"", "", "", "", ""};
|
||||
|
||||
readonly string[] volumeserial = {null, null, null, null, null,};
|
||||
readonly string[] volumeserial = {null, null, null, null, null};
|
||||
|
||||
readonly string[] type =
|
||||
{
|
||||
"Extended Acer Fast Filesystem", "Extended Acer Fast Filesystem", "Extended Acer Fast Filesystem",
|
||||
"Extended Acer Fast Filesystem", "Extended Acer Fast Filesystem",
|
||||
"Extended Acer Fast Filesystem", "Extended Acer Fast Filesystem"
|
||||
};
|
||||
|
||||
[Test]
|
||||
|
||||
@@ -41,19 +41,19 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
{
|
||||
readonly string[] testfiles = {"scoopenserver_5.0.7hw.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {1024000,};
|
||||
readonly ulong[] sectors = {1024000};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {510048,};
|
||||
readonly long[] clusters = {510048};
|
||||
|
||||
readonly int[] clustersize = {1024,};
|
||||
readonly int[] clustersize = {1024};
|
||||
|
||||
readonly string[] volumename = {"Volume label",};
|
||||
readonly string[] volumename = {"Volume label"};
|
||||
|
||||
readonly string[] volumeserial = {null,};
|
||||
readonly string[] volumeserial = {null};
|
||||
|
||||
readonly string[] type = {"Extended Acer Fast Filesystem",};
|
||||
readonly string[] type = {"Extended Acer Fast Filesystem"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -40,19 +40,19 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class F2FS
|
||||
{
|
||||
readonly string[] testfiles = {"linux.vdi.lz",};
|
||||
readonly string[] testfiles = {"linux.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {262144,};
|
||||
readonly ulong[] sectors = {262144};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {32512,};
|
||||
readonly long[] clusters = {32512};
|
||||
|
||||
readonly int[] clustersize = {4096,};
|
||||
readonly int[] clustersize = {4096};
|
||||
|
||||
readonly string[] volumename = {"VolumeLabel",};
|
||||
readonly string[] volumename = {"VolumeLabel"};
|
||||
|
||||
readonly string[] volumeserial = {"81bd3a4e-de0c-484c-becc-aaa479b2070a",};
|
||||
readonly string[] volumeserial = {"81bd3a4e-de0c-484c-becc-aaa479b2070a"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -271,7 +271,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
// NEC MS-DOS 5.00 for PC-98
|
||||
"msdos_pc98_5.00_md2dd.img.lz", "msdos_pc98_5.00_md2hd.img.lz",
|
||||
// NEC MS-DOS 6.20 for PC-98
|
||||
"msdos_pc98_6.20_md2dd.img.lz", "msdos_pc98_6.20_md2hd.img.lz",
|
||||
"msdos_pc98_6.20_md2dd.img.lz", "msdos_pc98_6.20_md2hd.img.lz"
|
||||
};
|
||||
|
||||
readonly MediaType[] mediatypes =
|
||||
@@ -490,7 +490,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
// NEC MS-DOS 5.00 for PC-98
|
||||
MediaType.DOS_35_DS_DD_9, MediaType.NEC_525_HD,
|
||||
// NEC MS-DOS 6.20 for PC-98
|
||||
MediaType.DOS_35_DS_DD_9, MediaType.NEC_525_HD,
|
||||
MediaType.DOS_35_DS_DD_9, MediaType.NEC_525_HD
|
||||
};
|
||||
|
||||
readonly ulong[] sectors =
|
||||
@@ -662,7 +662,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
// NEC MS-DOS 5.00 for PC-98
|
||||
1440, 1232,
|
||||
// NEC MS-DOS 6.20 for PC-98
|
||||
1440, 1232,
|
||||
1440, 1232
|
||||
};
|
||||
|
||||
readonly uint[] sectorsize =
|
||||
@@ -834,7 +834,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
// NEC MS-DOS 5.00 for PC-98
|
||||
512, 1024,
|
||||
// NEC MS-DOS 6.20 for PC-98
|
||||
512, 1024,
|
||||
512, 1024
|
||||
};
|
||||
|
||||
readonly long[] clusters =
|
||||
@@ -1006,7 +1006,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
// NEC MS-DOS 5.00 for PC-98
|
||||
640, 1232,
|
||||
// NEC MS-DOS 6.20 for PC-98
|
||||
640, 1232,
|
||||
640, 1232
|
||||
};
|
||||
|
||||
readonly int[] clustersize =
|
||||
@@ -1178,7 +1178,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
// NEC MS-DOS 5.00 for PC-98
|
||||
1024, 1024,
|
||||
// NEC MS-DOS 6.20 for PC-98
|
||||
1024, 1024,
|
||||
1024, 1024
|
||||
};
|
||||
|
||||
readonly string[] volumename =
|
||||
@@ -1356,7 +1356,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
// NEC MS-DOS 5.00 for PC-98
|
||||
"NO NAME ", "NO NAME ",
|
||||
// NEC MS-DOS 6.20 for PC-98
|
||||
"NO NAME ", "NO NAME ",
|
||||
"NO NAME ", "NO NAME "
|
||||
};
|
||||
|
||||
readonly string[] volumeserial =
|
||||
@@ -1528,7 +1528,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
// NEC MS-DOS 5.00 for PC-98
|
||||
"1002120E", "41021209",
|
||||
// NEC MS-DOS 6.20 for PC-98
|
||||
"3D021418", "16021409",
|
||||
"3D021418", "16021409"
|
||||
};
|
||||
|
||||
readonly string[] oemid =
|
||||
@@ -1700,7 +1700,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
// NEC MS-DOS 5.00 for PC-98
|
||||
"NEC 5.0", "NEC 5.0",
|
||||
// NEC MS-DOS 6.20 for PC-98
|
||||
"NEC 5.0", "NEC 5.0",
|
||||
"NEC 5.0", "NEC 5.0"
|
||||
};
|
||||
|
||||
[Test]
|
||||
|
||||
@@ -39,21 +39,21 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class FAT12_APM
|
||||
{
|
||||
readonly string[] testfiles = {"macosx_10.11.vdi.lz",};
|
||||
readonly string[] testfiles = {"macosx_10.11.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {16384,};
|
||||
readonly ulong[] sectors = {16384};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {4076,};
|
||||
readonly long[] clusters = {4076};
|
||||
|
||||
readonly int[] clustersize = {2048,};
|
||||
readonly int[] clustersize = {2048};
|
||||
|
||||
readonly string[] volumename = {"VOLUMELABEL",};
|
||||
readonly string[] volumename = {"VOLUMELABEL"};
|
||||
|
||||
readonly string[] volumeserial = {"32181F09",};
|
||||
readonly string[] volumeserial = {"32181F09"};
|
||||
|
||||
readonly string[] oemid = {"BSD 4.4",};
|
||||
readonly string[] oemid = {"BSD 4.4"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -39,21 +39,21 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class FAT12_GPT
|
||||
{
|
||||
readonly string[] testfiles = {"macosx_10.11.vdi.lz",};
|
||||
readonly string[] testfiles = {"macosx_10.11.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {16384,};
|
||||
readonly ulong[] sectors = {16384};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {4076,};
|
||||
readonly long[] clusters = {4076};
|
||||
|
||||
readonly int[] clustersize = {2048,};
|
||||
readonly int[] clustersize = {2048};
|
||||
|
||||
readonly string[] volumename = {"VOLUMELABEL",};
|
||||
readonly string[] volumename = {"VOLUMELABEL"};
|
||||
|
||||
readonly string[] volumeserial = {"66901F1B",};
|
||||
readonly string[] volumeserial = {"66901F1B"};
|
||||
|
||||
readonly string[] oemid = {"BSD 4.4",};
|
||||
readonly string[] oemid = {"BSD 4.4"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -53,7 +53,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
"win10.vdi.lz", "win2000.vdi.lz", "win95.vdi.lz", "win95osr2.1.vdi.lz", "win95osr2.5.vdi.lz",
|
||||
"win95osr2.vdi.lz", "win98.vdi.lz", "win98se.vdi.lz", "winme.vdi.lz", "winnt_3.10.vdi.lz",
|
||||
"winnt_3.50.vdi.lz", "winnt_3.51.vdi.lz", "winnt_4.00.vdi.lz", "winvista.vdi.lz", "beos_r4.5.vdi.lz",
|
||||
"linux.vdi.lz", "freebsd_6.1.vdi.lz", "freebsd_7.0.vdi.lz", "freebsd_8.2.vdi.lz",
|
||||
"linux.vdi.lz", "freebsd_6.1.vdi.lz", "freebsd_7.0.vdi.lz", "freebsd_8.2.vdi.lz"
|
||||
};
|
||||
|
||||
readonly ulong[] sectors =
|
||||
@@ -62,14 +62,14 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
16384, 28672, 28672, 32768, 32768, 32768, 32768, 32768, 32768, 32768, 32768, 32768, 32768, 32768, 8192,
|
||||
8192, 16384, 16384, 16384, 16384, 16384, 16384, 16384, 16384, 16384, 16384, 16384, 16384, 16384, 16384,
|
||||
16384, 16384, 16384, 16384, 16384, 16384, 16384, 16384, 16384, 16384, 16384, 16384, 16384, 16384, 16384,
|
||||
16384, 16384,
|
||||
16384, 16384
|
||||
};
|
||||
|
||||
readonly uint[] sectorsize =
|
||||
{
|
||||
512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512,
|
||||
512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512,
|
||||
512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512,
|
||||
512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512
|
||||
};
|
||||
|
||||
readonly long[] clusters =
|
||||
@@ -77,7 +77,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
1000, 3654, 3520, 3520, 3520, 3520, 3520, 3520, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 2008, 3520,
|
||||
3520, 4024, 4031, 4031, 4024, 4024, 4024, 4024, 4024, 4024, 4024, 4024, 1000, 1000, 2008, 2008, 2008, 2008,
|
||||
2008, 2008, 2008, 2008, 2008, 2008, 1890, 4079, 3552, 4088, 2008, 2008, 2008, 2008, 2044, 2044, 2044, 4016,
|
||||
2044, 2044, 4016, 3072, 2040, 3584, 2044, 2044, 2044,
|
||||
2044, 2044, 4016, 3072, 2040, 3584, 2044, 2044, 2044
|
||||
};
|
||||
|
||||
readonly int[] clustersize =
|
||||
@@ -85,7 +85,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
|
||||
4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
|
||||
4096, 4096, 4096, 4096, 4096, 4096, 4096, 2048, 2048, 2048, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 2048,
|
||||
4096, 4096, 2048, 2048, 4096, 2048, 4096, 4096, 4096,
|
||||
4096, 4096, 2048, 2048, 4096, 2048, 4096, 4096, 4096
|
||||
};
|
||||
|
||||
readonly string[] volumename =
|
||||
@@ -98,7 +98,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
"VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL",
|
||||
"VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL",
|
||||
"VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL",
|
||||
"VolumeLabel", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL",
|
||||
"VolumeLabel", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL"
|
||||
};
|
||||
|
||||
readonly string[] volumeserial =
|
||||
@@ -109,7 +109,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
"5C578015", "5B845015", "5C4BF015", "E6B5F414", "E6B15414", "E6A41414", "E6A39414", "E6B0B814", "26A21EF4",
|
||||
"74F4921D", "C4B64D11", "29200D0C", "234F0DE4", "074C0DFC", "33640D18", "0E121460", "094C0EED", "38310F02",
|
||||
"50489A1B", "2CE52101", "94313E7E", "BC184FE6", "BAD08A1E", "00000000", "8D418102", "8FC80E0A", "34FA0E0B",
|
||||
"02140E0B",
|
||||
"02140E0B"
|
||||
};
|
||||
|
||||
readonly string[] oemid =
|
||||
@@ -120,7 +120,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
"IBM 5.0", "IBM 6.0", "IBM 6.0", "T V3.30 ", "T V4.00 ", "IBM 10.2", "IBM 10.2", "IBM 3.2", "IBM 10.2",
|
||||
"IBM 10.2", "IBM 20.0", "IBM 20.0", "IBM 20.0", "IBM 20.0", "IBM 20.0", "IBM 4.50", "BSD 4.4", "MSDOS5.0",
|
||||
"MSDOS5.0", "MSWIN4.0", "MSWIN4.1", "MSWIN4.1", "MSWIN4.1", "MSWIN4.1", "MSWIN4.1", "MSWIN4.1", "MSDOS5.0",
|
||||
"MSDOS5.0", "MSDOS5.0", "MSDOS5.0", "MSDOS5.0", "BeOS ", "mkfs.fat", "BSD 4.4", "BSD 4.4", "BSD4.4 ",
|
||||
"MSDOS5.0", "MSDOS5.0", "MSDOS5.0", "MSDOS5.0", "BeOS ", "mkfs.fat", "BSD 4.4", "BSD 4.4", "BSD4.4 "
|
||||
};
|
||||
|
||||
[Test]
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
// MS-DOS 3.30A
|
||||
"msdos_3.30A_mf2ed.img.lz",
|
||||
// MS-DOS 3.31
|
||||
"msdos_3.31_mf2ed.img.lz",
|
||||
"msdos_3.31_mf2ed.img.lz"
|
||||
};
|
||||
|
||||
readonly MediaType[] mediatypes =
|
||||
@@ -51,7 +51,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
// MS-DOS 3.30A
|
||||
MediaType.DOS_35_ED,
|
||||
// MS-DOS 3.31
|
||||
MediaType.DOS_35_ED,
|
||||
MediaType.DOS_35_ED
|
||||
};
|
||||
|
||||
readonly ulong[] sectors =
|
||||
@@ -59,7 +59,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
// MS-DOS 3.30A
|
||||
5760,
|
||||
// MS-DOS 3.31
|
||||
5760,
|
||||
5760
|
||||
};
|
||||
|
||||
readonly uint[] sectorsize =
|
||||
@@ -67,7 +67,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
// MS-DOS 3.30A
|
||||
512,
|
||||
// MS-DOS 3.31
|
||||
512,
|
||||
512
|
||||
};
|
||||
|
||||
readonly long[] clusters =
|
||||
@@ -75,7 +75,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
// MS-DOS 3.30A
|
||||
5760,
|
||||
// MS-DOS 3.31
|
||||
5760,
|
||||
5760
|
||||
};
|
||||
|
||||
readonly int[] clustersize =
|
||||
@@ -83,7 +83,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
// MS-DOS 3.30A
|
||||
512,
|
||||
// MS-DOS 3.31
|
||||
512,
|
||||
512
|
||||
};
|
||||
|
||||
readonly string[] volumename =
|
||||
@@ -91,7 +91,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
// MS-DOS 3.30A
|
||||
null,
|
||||
// MS-DOS 3.31
|
||||
null,
|
||||
null
|
||||
};
|
||||
|
||||
readonly string[] volumeserial =
|
||||
@@ -99,7 +99,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
// MS-DOS 3.30A
|
||||
null,
|
||||
// MS-DOS 3.31
|
||||
null,
|
||||
null
|
||||
};
|
||||
|
||||
readonly string[] oemid =
|
||||
@@ -107,7 +107,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
// MS-DOS 3.30A
|
||||
"MSDOS3.3",
|
||||
// MS-DOS 3.31
|
||||
"IBM 3.3",
|
||||
"IBM 3.3"
|
||||
};
|
||||
|
||||
[Test]
|
||||
|
||||
@@ -39,21 +39,21 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class FAT16_APM
|
||||
{
|
||||
readonly string[] testfiles = {"macosx_10.11.vdi.lz",};
|
||||
readonly string[] testfiles = {"macosx_10.11.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {1024000,};
|
||||
readonly ulong[] sectors = {1024000};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {63995,};
|
||||
readonly long[] clusters = {63995};
|
||||
|
||||
readonly int[] clustersize = {8192,};
|
||||
readonly int[] clustersize = {8192};
|
||||
|
||||
readonly string[] volumename = {"VOLUMELABEL",};
|
||||
readonly string[] volumename = {"VOLUMELABEL"};
|
||||
|
||||
readonly string[] volumeserial = {"063D1F09",};
|
||||
readonly string[] volumeserial = {"063D1F09"};
|
||||
|
||||
readonly string[] oemid = {"BSD 4.4",};
|
||||
readonly string[] oemid = {"BSD 4.4"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -39,21 +39,21 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class FAT16_Atari
|
||||
{
|
||||
readonly string[] testfiles = {"tos_1.04.vdi.lz", "tos_1.04_small.vdi.lz",};
|
||||
readonly string[] testfiles = {"tos_1.04.vdi.lz", "tos_1.04_small.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {81920, 16384,};
|
||||
readonly ulong[] sectors = {81920, 16384};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512};
|
||||
|
||||
readonly long[] clusters = {10239, 8191,};
|
||||
readonly long[] clusters = {10239, 8191};
|
||||
|
||||
readonly int[] clustersize = {4096, 1024,};
|
||||
readonly int[] clustersize = {4096, 1024};
|
||||
|
||||
readonly string[] volumename = {null, null,};
|
||||
readonly string[] volumename = {null, null};
|
||||
|
||||
readonly string[] volumeserial = {"BA9831", "2019E1",};
|
||||
readonly string[] volumeserial = {"BA9831", "2019E1"};
|
||||
|
||||
readonly string[] oemid = {null, null,};
|
||||
readonly string[] oemid = {null, null};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -39,21 +39,21 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class FAT16_GPT
|
||||
{
|
||||
readonly string[] testfiles = {"macosx_10.11.vdi.lz",};
|
||||
readonly string[] testfiles = {"macosx_10.11.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {1024000,};
|
||||
readonly ulong[] sectors = {1024000};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {63995,};
|
||||
readonly long[] clusters = {63995};
|
||||
|
||||
readonly int[] clustersize = {8192,};
|
||||
readonly int[] clustersize = {8192};
|
||||
|
||||
readonly string[] volumename = {"VOLUMELABEL",};
|
||||
readonly string[] volumename = {"VOLUMELABEL"};
|
||||
|
||||
readonly string[] volumeserial = {"2E8A1F1B",};
|
||||
readonly string[] volumeserial = {"2E8A1F1B"};
|
||||
|
||||
readonly string[] oemid = {"BSD 4.4",};
|
||||
readonly string[] oemid = {"BSD 4.4"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -53,7 +53,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
"winnt_3.10.vdi.lz", "winnt_3.50.vdi.lz", "winnt_3.51.vdi.lz", "winnt_4.00.vdi.lz", "winvista.vdi.lz",
|
||||
"beos_r4.5.vdi.lz", "linux.vdi.lz", "amigaos_3.9.vdi.lz", "aros.vdi.lz", "freebsd_6.1.vdi.lz",
|
||||
"freebsd_7.0.vdi.lz", "freebsd_8.2.vdi.lz", "macos_7.5.3.vdi.lz", "macos_7.5.vdi.lz", "macos_7.6.vdi.lz",
|
||||
"macos_8.0.vdi.lz",
|
||||
"macos_8.0.vdi.lz"
|
||||
};
|
||||
|
||||
readonly ulong[] sectors =
|
||||
@@ -63,14 +63,14 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000,
|
||||
1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000,
|
||||
1024000, 1024000, 1024000, 262144, 1024128, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000,
|
||||
1024000,
|
||||
1024000
|
||||
};
|
||||
|
||||
readonly uint[] sectorsize =
|
||||
{
|
||||
512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512,
|
||||
512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512,
|
||||
512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512,
|
||||
512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512
|
||||
};
|
||||
|
||||
readonly long[] clusters =
|
||||
@@ -79,7 +79,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
63941, 63941, 63941, 63941, 63941, 63941, 63941, 63941, 63941, 63941, 63941, 63941, 63941, 63941, 63941,
|
||||
63941, 63941, 63941, 63941, 63882, 63992, 63864, 63252, 63941, 63941, 63941, 63941, 63998, 63998, 63998,
|
||||
63941, 63998, 63998, 63941, 63616, 63996, 65024, 63941, 63882, 63998, 63998, 31999, 63941, 63941, 63941,
|
||||
63941,
|
||||
63941
|
||||
};
|
||||
|
||||
readonly int[] clustersize =
|
||||
@@ -87,7 +87,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192,
|
||||
8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192,
|
||||
8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 2048, 8192, 8192,
|
||||
8192, 8192, 16384, 8192, 8192, 8192, 8192,
|
||||
8192, 8192, 16384, 8192, 8192, 8192, 8192
|
||||
};
|
||||
|
||||
readonly string[] volumename =
|
||||
@@ -100,7 +100,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
"VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL",
|
||||
"VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL",
|
||||
"VOLUMELABEL", "VOLUMELABEL", "VolumeLabel", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL",
|
||||
"VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL",
|
||||
"VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL"
|
||||
};
|
||||
|
||||
readonly string[] volumeserial =
|
||||
@@ -111,7 +111,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
"E6C63414", "1C069414", "1C059414", "1BE5B814", "3EF71EF4", "DAF97911", "305637BD", "275B0DE4", "09650DFC",
|
||||
"38270D18", "2E620D0C", "0B4F0EED", "0E122464", "3B5F0F02", "C84CB6F2", "D0E9AD4E", "C039A2EC", "501F9FA6",
|
||||
"9AAA4216", "00000000", "A132D985", "374D3BD1", "52BEA34A", "3CF10E0D", "C6C30E0D", "44770E0D", "27761816",
|
||||
"27761816", "27761816", "27761816",
|
||||
"27761816", "27761816", "27761816"
|
||||
};
|
||||
|
||||
readonly string[] oemid =
|
||||
@@ -122,7 +122,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
"IBM 10.2", "IBM 10.2", "IBM 20.0", "IBM 20.0", "IBM 20.0", "IBM 20.0", "IBM 20.0", "IBM 4.50", "BSD 4.4",
|
||||
"MSDOS5.0", "MSDOS5.0", "MSWIN4.1", "MSWIN4.1", "MSWIN4.1", "MSWIN4.0", "MSWIN4.1", "MSWIN4.1", "MSWIN4.1",
|
||||
"MSDOS5.0", "MSDOS5.0", "MSDOS5.0", "MSDOS5.0", "MSDOS5.0", "BeOS ", "mkfs.fat", "CDP 5.0", "MSWIN4.1",
|
||||
"BSD 4.4", "BSD 4.4", "BSD4.4 ", "PCX 2.0 ", "PCX 2.0 ", "PCX 2.0 ", "PCX 2.0 ",
|
||||
"BSD 4.4", "BSD 4.4", "BSD4.4 ", "PCX 2.0 ", "PCX 2.0 ", "PCX 2.0 ", "PCX 2.0 "
|
||||
};
|
||||
|
||||
[Test]
|
||||
|
||||
@@ -39,21 +39,21 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class FAT16_RDB
|
||||
{
|
||||
readonly string[] testfiles = {"amigaos_3.9.vdi.lz",};
|
||||
readonly string[] testfiles = {"amigaos_3.9.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {1024128};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {63689};
|
||||
|
||||
readonly int[] clustersize = {8192,};
|
||||
readonly int[] clustersize = {8192};
|
||||
|
||||
readonly string[] volumename = {"VOLUMELABEL"};
|
||||
|
||||
readonly string[] volumeserial = {"374D40D1",};
|
||||
readonly string[] volumeserial = {"374D40D1"};
|
||||
|
||||
readonly string[] oemid = {"CDP 5.0",};
|
||||
readonly string[] oemid = {"CDP 5.0"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -39,21 +39,21 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class FAT32_APM
|
||||
{
|
||||
readonly string[] testfiles = {"macosx_10.11.vdi.lz",};
|
||||
readonly string[] testfiles = {"macosx_10.11.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {4194304,};
|
||||
readonly ulong[] sectors = {4194304};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {524278,};
|
||||
readonly long[] clusters = {524278};
|
||||
|
||||
readonly int[] clustersize = {4096,};
|
||||
readonly int[] clustersize = {4096};
|
||||
|
||||
readonly string[] volumename = {"VOLUMELABEL",};
|
||||
readonly string[] volumename = {"VOLUMELABEL"};
|
||||
|
||||
readonly string[] volumeserial = {"35BD1F0A",};
|
||||
readonly string[] volumeserial = {"35BD1F0A"};
|
||||
|
||||
readonly string[] oemid = {"BSD 4.4",};
|
||||
readonly string[] oemid = {"BSD 4.4"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -39,21 +39,21 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class FAT32_GPT
|
||||
{
|
||||
readonly string[] testfiles = {"macosx_10.11.vdi.lz",};
|
||||
readonly string[] testfiles = {"macosx_10.11.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {4194304,};
|
||||
readonly ulong[] sectors = {4194304};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {523775,};
|
||||
readonly long[] clusters = {523775};
|
||||
|
||||
readonly int[] clustersize = {4096,};
|
||||
readonly int[] clustersize = {4096};
|
||||
|
||||
readonly string[] volumename = {"VOLUMELABEL",};
|
||||
readonly string[] volumename = {"VOLUMELABEL"};
|
||||
|
||||
readonly string[] volumeserial = {"7ABE1F1B",};
|
||||
readonly string[] volumeserial = {"7ABE1F1B"};
|
||||
|
||||
readonly string[] oemid = {"BSD 4.4",};
|
||||
readonly string[] oemid = {"BSD 4.4"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -44,49 +44,49 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
"drdos_7.03.vdi.lz", "drdos_8.00.vdi.lz", "msdos_7.10.vdi.lz", "macosx_10.11.vdi.lz", "win10.vdi.lz",
|
||||
"win2000.vdi.lz", "win95osr2.1.vdi.lz", "win95osr2.5.vdi.lz", "win95osr2.vdi.lz", "win98se.vdi.lz",
|
||||
"win98.vdi.lz", "winme.vdi.lz", "winvista.vdi.lz", "beos_r4.5.vdi.lz", "linux.vdi.lz", "aros.vdi.lz",
|
||||
"freebsd_6.1.vdi.lz", "freebsd_7.0.vdi.lz", "freebsd_8.2.vdi.lz", "freedos_1.2.vdi.lz",
|
||||
"freebsd_6.1.vdi.lz", "freebsd_7.0.vdi.lz", "freebsd_8.2.vdi.lz", "freedos_1.2.vdi.lz"
|
||||
};
|
||||
|
||||
readonly ulong[] sectors =
|
||||
{
|
||||
8388608, 8388608, 8388608, 4194304, 4194304, 8388608, 4194304, 4194304, 4194304, 4194304, 4194304, 4194304,
|
||||
4194304, 4194304, 262144, 4194304, 4194304, 4194304, 4194304, 8388608,
|
||||
4194304, 4194304, 262144, 4194304, 4194304, 4194304, 4194304, 8388608
|
||||
};
|
||||
|
||||
readonly uint[] sectorsize =
|
||||
{512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512,};
|
||||
{512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512};
|
||||
|
||||
readonly long[] clusters =
|
||||
{
|
||||
1048233, 1048233, 1048233, 524287, 524016, 1048233, 524152, 524152, 524152, 524112, 524112, 524112, 523520,
|
||||
1048560, 260096, 524160, 524112, 524112, 65514, 1048233,
|
||||
1048560, 260096, 524160, 524112, 524112, 65514, 1048233
|
||||
};
|
||||
|
||||
readonly int[] clustersize =
|
||||
{
|
||||
4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 2048, 512, 4096, 4096, 4096,
|
||||
32768, 4096,
|
||||
32768, 4096
|
||||
};
|
||||
|
||||
readonly string[] volumename =
|
||||
{
|
||||
"VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL",
|
||||
"VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL",
|
||||
"VolumeLabel", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL",
|
||||
"VolumeLabel", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL"
|
||||
};
|
||||
|
||||
readonly string[] volumeserial =
|
||||
{
|
||||
"5955996C", "1BFB1A43", "3B331809", "42D51EF1", "48073346", "EC62E6DE", "2A310DE4", "0C140DFC", "3E310D18",
|
||||
"0D3D0EED", "0E131162", "3F500F02", "82EB4C04", "00000000", "B488C502", "5CAC9B4E", "41540E0E", "4E600E0F",
|
||||
"26E20E0F", "3E0C1BE8",
|
||||
"26E20E0F", "3E0C1BE8"
|
||||
};
|
||||
|
||||
readonly string[] oemid =
|
||||
{
|
||||
"DRDOS7.X", "IBM 7.1", "MSWIN4.1", "BSD 4.4", "MSDOS5.0", "MSDOS5.0", "MSWIN4.1", "MSWIN4.1", "MSWIN4.1",
|
||||
"MSWIN4.1", "MSWIN4.1", "MSWIN4.1", "MSDOS5.0", "BeOS ", "mkfs.fat", "MSWIN4.1", "BSD 4.4", "BSD 4.4",
|
||||
"BSD4.4 ", "FRDOS4.1",
|
||||
"BSD4.4 ", "FRDOS4.1"
|
||||
};
|
||||
|
||||
[Test]
|
||||
|
||||
@@ -39,20 +39,20 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class HAMMER_MBR
|
||||
{
|
||||
readonly string[] testfiles = {"dflybsd_3.6.1.vdi.lz", "dflybsd_4.0.5.vdi.lz",};
|
||||
readonly string[] testfiles = {"dflybsd_3.6.1.vdi.lz", "dflybsd_4.0.5.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {104857600, 104857600,};
|
||||
readonly ulong[] sectors = {104857600, 104857600};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512};
|
||||
|
||||
readonly long[] clusters = {6310, 6310,};
|
||||
readonly long[] clusters = {6310, 6310};
|
||||
|
||||
readonly int[] clustersize = {8388608, 8388608,};
|
||||
readonly int[] clustersize = {8388608, 8388608};
|
||||
|
||||
readonly string[] volumename = {"Volume label", "Volume label",};
|
||||
readonly string[] volumename = {"Volume label", "Volume label"};
|
||||
|
||||
readonly string[] volumeserial =
|
||||
{"f8e1a8bb-626d-11e7-94b5-0900274691e4", "ff4dc664-6276-11e7-983f-090027c41b46",};
|
||||
{"f8e1a8bb-626d-11e7-94b5-0900274691e4", "ff4dc664-6276-11e7-983f-090027c41b46"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -41,30 +41,30 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
readonly string[] testfiles =
|
||||
{
|
||||
"macos_1.1_mf2dd.img.lz", "macos_2.0_mf2dd.img.lz", "macos_6.0.7_mf2dd.img.lz", "nextstep_3.3_mf2hd.img.lz",
|
||||
"openstep_4.0_mf2hd.img.lz", "openstep_4.2_mf2hd.img.lz", "rhapsody_dr1_mf2hd.img.lz",
|
||||
"openstep_4.0_mf2hd.img.lz", "openstep_4.2_mf2hd.img.lz", "rhapsody_dr1_mf2hd.img.lz"
|
||||
};
|
||||
|
||||
readonly MediaType[] mediatypes =
|
||||
{
|
||||
MediaType.AppleSonyDS, MediaType.AppleSonyDS, MediaType.AppleSonyDS, MediaType.DOS_35_HD,
|
||||
MediaType.DOS_35_HD, MediaType.DOS_35_HD, MediaType.DOS_35_HD,
|
||||
MediaType.DOS_35_HD, MediaType.DOS_35_HD, MediaType.DOS_35_HD
|
||||
};
|
||||
|
||||
readonly ulong[] sectors = {1600, 1600, 1600, 2880, 2880, 2880, 2880,};
|
||||
readonly ulong[] sectors = {1600, 1600, 1600, 2880, 2880, 2880, 2880};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512, 512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512, 512, 512};
|
||||
|
||||
readonly long[] clusters = {1594, 1594, 1594, 2874, 2874, 2874, 2874,};
|
||||
readonly long[] clusters = {1594, 1594, 1594, 2874, 2874, 2874, 2874};
|
||||
|
||||
readonly int[] clustersize = {512, 512, 512, 512, 512, 512, 512,};
|
||||
readonly int[] clustersize = {512, 512, 512, 512, 512, 512, 512};
|
||||
|
||||
readonly string[] volumename =
|
||||
{
|
||||
"Volume label", "Volume label", "Volume label", "Volume label", "Volume label", "Volume label",
|
||||
"Volume label",
|
||||
"Volume label"
|
||||
};
|
||||
|
||||
readonly string[] volumeserial = {null, null, null, null, null, null, null,};
|
||||
readonly string[] volumeserial = {null, null, null, null, null, null, null};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
"darwin_1.4.1_wrapped.vdi.lz", "darwin_6.0.2.vdi.lz", "darwin_6.0.2_wrapped.vdi.lz",
|
||||
"darwin_8.0.1_journal.vdi.lz", "darwin_8.0.1.vdi.lz", "darwin_8.0.1_wrapped.vdi.lz", "macos_8.1.vdi.lz",
|
||||
"macos_9.0.4.vdi.lz", "macos_9.1.vdi.lz", "macos_9.2.1.vdi.lz", "macos_9.2.2.vdi.lz", "macosx_10.2.vdi.lz",
|
||||
"macosx_10.3_journal.vdi.lz", "macosx_10.3.vdi.lz", "macosx_10.4_journal.vdi.lz", "macosx_10.4.vdi.lz",
|
||||
"macosx_10.3_journal.vdi.lz", "macosx_10.3.vdi.lz", "macosx_10.4_journal.vdi.lz", "macosx_10.4.vdi.lz"
|
||||
};
|
||||
|
||||
readonly ulong[] sectors =
|
||||
@@ -56,37 +56,37 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
};
|
||||
|
||||
readonly uint[] sectorsize =
|
||||
{512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512,};
|
||||
{512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512};
|
||||
|
||||
readonly long[] clusters =
|
||||
{
|
||||
51190, 76790, 102392, 76774, 76774, 102392, 76774, 153592, 102392, 76774, 524152, 524088, 524088, 524088,
|
||||
524088, 524008, 261884, 491240, 261884, 491240,
|
||||
524088, 524008, 261884, 491240, 261884, 491240
|
||||
};
|
||||
|
||||
readonly int[] clustersize =
|
||||
{
|
||||
4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,
|
||||
4096, 4096,
|
||||
4096, 4096
|
||||
};
|
||||
|
||||
readonly string[] volumename =
|
||||
{
|
||||
null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null,
|
||||
null, null,
|
||||
null, null
|
||||
};
|
||||
|
||||
readonly string[] volumeserial =
|
||||
{
|
||||
"FA94762D086A18A9", "33D4A309C8E7BD10", null, null, null, null, null, "4D5140EB8F14A385",
|
||||
"0D592249833E2DC4", "AA616146576BD9BC", null, null, null, null, null, "EFA132FFFAC1ADA6",
|
||||
"009D570FFCF8F20B", "17F6F33AB313EE32", "AD5690C093F66FCF", "A7D63854DF76DDE6",
|
||||
"009D570FFCF8F20B", "17F6F33AB313EE32", "AD5690C093F66FCF", "A7D63854DF76DDE6"
|
||||
};
|
||||
|
||||
readonly string[] oemid =
|
||||
{
|
||||
"10.0", "HFSJ", "10.0", "10.0", "10.0", "10.0", "10.0", "10.0", "10.0", "10.0", "8.10", "8.10", "8.10",
|
||||
"8.10", "8.10", "10.0", "HFSJ", "10.0", "HFSJ", "10.0",
|
||||
"8.10", "8.10", "10.0", "HFSJ", "10.0", "HFSJ", "10.0"
|
||||
};
|
||||
|
||||
[Test]
|
||||
|
||||
@@ -39,19 +39,19 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class HFSPlus_GPT
|
||||
{
|
||||
readonly string[] testfiles = {"macosx_10.11.vdi.lz", "macosx_10.11_journal.vdi.lz",};
|
||||
readonly string[] testfiles = {"macosx_10.11.vdi.lz", "macosx_10.11_journal.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {409600, 614400,};
|
||||
readonly ulong[] sectors = {409600, 614400};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512};
|
||||
|
||||
readonly long[] clusters = {51190, 76790,};
|
||||
readonly long[] clusters = {51190, 76790};
|
||||
|
||||
readonly int[] clustersize = {4096, 4096,};
|
||||
readonly int[] clustersize = {4096, 4096};
|
||||
|
||||
readonly string[] volumename = {null, null,};
|
||||
readonly string[] volumename = {null, null};
|
||||
|
||||
readonly string[] volumeserial = {"D8C68470046E67BE", "FD3CB598F3C6294A",};
|
||||
readonly string[] volumeserial = {"D8C68470046E67BE", "FD3CB598F3C6294A"};
|
||||
|
||||
readonly string[] oemid = {"10.0", "HFSJ"};
|
||||
|
||||
|
||||
@@ -44,29 +44,29 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
{
|
||||
"macosx_10.11.vdi.lz", "macosx_10.11_journal.vdi.lz", "linux.vdi.lz", "linux_journal.vdi.lz",
|
||||
"darwin_1.3.1.vdi.lz", "darwin_1.3.1_wrapped.vdi.lz", "darwin_1.4.1.vdi.lz", "darwin_1.4.1_wrapped.vdi.lz",
|
||||
"darwin_6.0.2.vdi.lz", "darwin_8.0.1_journal.vdi.lz", "darwin_8.0.1.vdi.lz", "darwin_8.0.1_wrapped.vdi.lz",
|
||||
"darwin_6.0.2.vdi.lz", "darwin_8.0.1_journal.vdi.lz", "darwin_8.0.1.vdi.lz", "darwin_8.0.1_wrapped.vdi.lz"
|
||||
};
|
||||
|
||||
readonly ulong[] sectors =
|
||||
{303104, 352256, 262144, 262144, 819200, 614400, 819200, 614400, 819200, 1228800, 819200, 614400,};
|
||||
{303104, 352256, 262144, 262144, 819200, 614400, 819200, 614400, 819200, 1228800, 819200, 614400};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512};
|
||||
|
||||
readonly long[] clusters =
|
||||
{37878, 44021, 32512, 32512, 102178, 76708, 102178, 76708, 102178, 153592, 102392, 76774,};
|
||||
{37878, 44021, 32512, 32512, 102178, 76708, 102178, 76708, 102178, 153592, 102392, 76774};
|
||||
|
||||
readonly int[] clustersize = {4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096,};
|
||||
readonly int[] clustersize = {4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 4096};
|
||||
|
||||
readonly string[] volumename = {null, null, null, null, null, null, null, null, null, null, null, null,};
|
||||
readonly string[] volumename = {null, null, null, null, null, null, null, null, null, null, null, null};
|
||||
|
||||
readonly string[] volumeserial =
|
||||
{
|
||||
"C84F550907D13F50", "016599F88029F73D", null, null, null, null, null, null, null, "F92964F9B3F64ABB",
|
||||
"A8FAC484A0A2B177", "D5D5BF1346AD2B8D",
|
||||
"A8FAC484A0A2B177", "D5D5BF1346AD2B8D"
|
||||
};
|
||||
|
||||
readonly string[] oemid =
|
||||
{"10.0", "HFSJ", "10.0", "10.0", "10.0", "10.0", "10.0", "10.0", "10.0", "10.0", "10.0", "10.0",};
|
||||
{"10.0", "HFSJ", "10.0", "10.0", "10.0", "10.0", "10.0", "10.0", "10.0", "10.0", "10.0", "10.0"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -42,26 +42,26 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
readonly string[] testfiles =
|
||||
{
|
||||
"macosx_10.11.vdi.lz", "macosx_10.11_journal.vdi.lz", "darwin_8.0.1_journal.vdi.lz", "darwin_8.0.1.vdi.lz",
|
||||
"macosx_10.4_journal.vdi.lz", "macosx_10.4.vdi.lz",
|
||||
"macosx_10.4_journal.vdi.lz", "macosx_10.4.vdi.lz"
|
||||
};
|
||||
|
||||
readonly ulong[] sectors = {819200, 1228800, 1638400, 1433600, 4194304, 1024000,};
|
||||
readonly ulong[] sectors = {819200, 1228800, 1638400, 1433600, 4194304, 1024000};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512, 512};
|
||||
|
||||
readonly long[] clusters = {102390, 153590, 204792, 179192, 491290, 127770,};
|
||||
readonly long[] clusters = {102390, 153590, 204792, 179192, 491290, 127770};
|
||||
|
||||
readonly int[] clustersize = {4096, 4096, 4096, 4096, 4096, 4096,};
|
||||
readonly int[] clustersize = {4096, 4096, 4096, 4096, 4096, 4096};
|
||||
|
||||
readonly string[] volumename = {null, null, null, null, null, null,};
|
||||
readonly string[] volumename = {null, null, null, null, null, null};
|
||||
|
||||
readonly string[] volumeserial =
|
||||
{
|
||||
"CC2D56884950D9AE", "7AF1175D8EA7A072", "BB4ABD7E7E2FF5AF", "E2F212D815EF77B5", "5A8C646A5D77EB16",
|
||||
"258C51A750F6A485",
|
||||
"258C51A750F6A485"
|
||||
};
|
||||
|
||||
readonly string[] oemid = {"10.0", "HFSJ", "10.0", "10.0", "HFSJ", "10.0",};
|
||||
readonly string[] oemid = {"10.0", "HFSJ", "10.0", "10.0", "HFSJ", "10.0"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -39,19 +39,19 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class HFSX_GPT
|
||||
{
|
||||
readonly string[] testfiles = {"macosx_10.11.vdi.lz", "macosx_10.11_journal.vdi.lz",};
|
||||
readonly string[] testfiles = {"macosx_10.11.vdi.lz", "macosx_10.11_journal.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {819200, 1228800,};
|
||||
readonly ulong[] sectors = {819200, 1228800};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512};
|
||||
|
||||
readonly long[] clusters = {102390, 153590,};
|
||||
readonly long[] clusters = {102390, 153590};
|
||||
|
||||
readonly int[] clustersize = {4096, 4096,};
|
||||
readonly int[] clustersize = {4096, 4096};
|
||||
|
||||
readonly string[] volumename = {null, null,};
|
||||
readonly string[] volumename = {null, null};
|
||||
|
||||
readonly string[] volumeserial = {"328343989312AE9F", "FB98504073464C5C",};
|
||||
readonly string[] volumeserial = {"328343989312AE9F", "FB98504073464C5C"};
|
||||
|
||||
readonly string[] oemid = {"10.0", "HFSJ"};
|
||||
|
||||
|
||||
@@ -42,23 +42,23 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
readonly string[] testfiles =
|
||||
{
|
||||
"macosx_10.11.vdi.lz", "macosx_10.11_journal.vdi.lz", "linux.vdi.lz", "linux_journal.vdi.lz",
|
||||
"darwin_8.0.1_journal.vdi.lz", "darwin_8.0.1.vdi.lz",
|
||||
"darwin_8.0.1_journal.vdi.lz", "darwin_8.0.1.vdi.lz"
|
||||
};
|
||||
|
||||
readonly ulong[] sectors = {393216, 409600, 262144, 262144, 1638400, 1433600,};
|
||||
readonly ulong[] sectors = {393216, 409600, 262144, 262144, 1638400, 1433600};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512, 512};
|
||||
|
||||
readonly long[] clusters = {49140, 51187, 32512, 32512, 204792, 179192,};
|
||||
readonly long[] clusters = {49140, 51187, 32512, 32512, 204792, 179192};
|
||||
|
||||
readonly int[] clustersize = {4096, 4096, 4096, 4096, 4096, 4096,};
|
||||
readonly int[] clustersize = {4096, 4096, 4096, 4096, 4096, 4096};
|
||||
|
||||
readonly string[] volumename = {null, null, null, null, null, null,};
|
||||
readonly string[] volumename = {null, null, null, null, null, null};
|
||||
|
||||
readonly string[] volumeserial =
|
||||
{"C2BCCCE6DE5BC98D", "AC54CD78C75CC30F", null, null, "7559DD01BCFADD9A", "AEA39CFBBF14C0FF",};
|
||||
{"C2BCCCE6DE5BC98D", "AC54CD78C75CC30F", null, null, "7559DD01BCFADD9A", "AEA39CFBBF14C0FF"};
|
||||
|
||||
readonly string[] oemid = {"10.0", "HFSJ", "10.0", "10.0", "10.0", "10.0",};
|
||||
readonly string[] oemid = {"10.0", "HFSJ", "10.0", "10.0", "10.0", "10.0"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -48,33 +48,33 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
"macosx_10.4.vdi.lz", "rhapsody_dr1.vdi.lz", "d2_driver.vdi.lz", "hdt_1.8.vdi.lz", "macos_4.2.vdi.lz",
|
||||
"macos_4.3.vdi.lz", "macos_6.0.2.vdi.lz", "macos_6.0.3.vdi.lz", "macos_6.0.4.vdi.lz", "macos_6.0.5.vdi.lz",
|
||||
"macos_6.0.8.vdi.lz", "macos_6.0.vdi.lz", "macos_7.0.vdi.lz", "macos_7.1.1.vdi.lz", "parted.vdi.lz",
|
||||
"silverlining_2.2.1.vdi.lz", "speedtools_3.6.vdi.lz", "vcpformatter_2.1.1.vdi.lz",
|
||||
"silverlining_2.2.1.vdi.lz", "speedtools_3.6.vdi.lz", "vcpformatter_2.1.1.vdi.lz"
|
||||
};
|
||||
|
||||
readonly ulong[] sectors =
|
||||
{
|
||||
1024128, 409600, 409600, 409600, 409600, 41820, 41820, 81648, 1024000, 1024000, 1024000, 1024000, 1024000,
|
||||
1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 409600, 51200, 51200, 41820, 41820, 54840,
|
||||
54840, 54840, 54840, 54840, 41820, 54840, 54840, 262144, 51200, 51200, 54840,
|
||||
54840, 54840, 54840, 54840, 41820, 54840, 54840, 262144, 51200, 51200, 54840
|
||||
};
|
||||
|
||||
readonly uint[] sectorsize =
|
||||
{
|
||||
512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512,
|
||||
512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512,
|
||||
512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512
|
||||
};
|
||||
|
||||
readonly long[] clusters =
|
||||
{
|
||||
64003, 51189, 51189, 58502, 58502, 41788, 38950, 39991, 63954, 63990, 63954, 63954, 63954, 63922, 63922,
|
||||
63922, 63922, 63884, 63883, 63883, 58506, 50926, 50094, 38950, 38950, 38950, 38950, 7673, 38950, 38950,
|
||||
38950, 38950, 38950, 46071, 50382, 49135, 54643,
|
||||
38950, 38950, 38950, 46071, 50382, 49135, 54643
|
||||
};
|
||||
|
||||
readonly int[] clustersize =
|
||||
{
|
||||
8192, 4096, 4096, 3584, 3584, 512, 512, 1024, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192, 8192,
|
||||
8192, 8192, 3584, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 1024, 512, 512, 512,
|
||||
8192, 8192, 3584, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 1024, 512, 512, 512
|
||||
};
|
||||
|
||||
readonly string[] volumename =
|
||||
@@ -84,14 +84,14 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
"Volume label", "Volume label", "Volume label", "Volume label", "Volume label", "Volume label",
|
||||
"Volume label", "Volume label", "Volume label", "Volume label", "Volume label", "Volume label",
|
||||
"Volume label", "Volume label", "Volume label", "Test disk", "Volume label", "Volume label", "Volume label",
|
||||
"Volume label", "Volume label", "Untitled", "Untitled #1", "24 MB Disk", "Volume label",
|
||||
"Volume label", "Volume label", "Untitled", "Untitled #1", "24 MB Disk", "Volume label"
|
||||
};
|
||||
|
||||
readonly string[] volumeserial =
|
||||
{
|
||||
null, null, null, null, "AAFE1382AF5AA898", null, null, null, null, null, null, null, null, null, null,
|
||||
null, null, "5A7C38B0CAF279C4", "FB49083EBD150509", "632C0B1DB46FD188", null, null, null, null, null, null,
|
||||
null, null, null, null, null, null, null, null, null, null, null,
|
||||
null, null, null, null, null, null, null, null, null, null, null
|
||||
};
|
||||
|
||||
[Test]
|
||||
|
||||
@@ -43,21 +43,21 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
{
|
||||
"toast_3.5.7_hfs_from_volume.iso.lz", "toast_3.5.7_iso9660_hfs.iso.lz",
|
||||
"toast_4.1.3_hfs_from_volume.iso.lz", "toast_4.1.3_iso9660_hfs.iso.lz", "toast_3.5.7_hfs_from_files.iso.lz",
|
||||
"toast_4.1.3_hfs_from_files.iso.lz",
|
||||
"toast_4.1.3_hfs_from_files.iso.lz"
|
||||
};
|
||||
|
||||
readonly ulong[] sectors = {942, 1880, 943, 1882, 1509, 1529,};
|
||||
readonly ulong[] sectors = {942, 1880, 943, 1882, 1509, 1529};
|
||||
|
||||
readonly uint[] sectorsize = {2048, 2048, 2048, 2048, 2048, 2048,};
|
||||
readonly uint[] sectorsize = {2048, 2048, 2048, 2048, 2048, 2048};
|
||||
|
||||
readonly long[] clusters = {3724, 931, 931, 931, 249, 249,};
|
||||
readonly long[] clusters = {3724, 931, 931, 931, 249, 249};
|
||||
|
||||
readonly int[] clustersize = {512, 2048, 2048, 2048, 12288, 12288,};
|
||||
readonly int[] clustersize = {512, 2048, 2048, 2048, 12288, 12288};
|
||||
|
||||
readonly string[] volumename =
|
||||
{"Disk utils", "Disk utils", "Disk utils", "Disk utils", "Disk utils", "Disk utils",};
|
||||
{"Disk utils", "Disk utils", "Disk utils", "Disk utils", "Disk utils", "Disk utils"};
|
||||
|
||||
readonly string[] volumeserial = {null, null, null, null, null, null,};
|
||||
readonly string[] volumeserial = {null, null, null, null, null, null};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -41,21 +41,21 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
{
|
||||
readonly string[] testfiles =
|
||||
{
|
||||
"linux.vdi.lz", "darwin_1.3.1.vdi.lz", "darwin_1.4.1.vdi.lz", "darwin_6.0.2.vdi.lz", "darwin_8.0.1.vdi.lz",
|
||||
"linux.vdi.lz", "darwin_1.3.1.vdi.lz", "darwin_1.4.1.vdi.lz", "darwin_6.0.2.vdi.lz", "darwin_8.0.1.vdi.lz"
|
||||
};
|
||||
|
||||
readonly ulong[] sectors = {262144, 409600, 409600, 409600, 409600,};
|
||||
readonly ulong[] sectors = {262144, 409600, 409600, 409600, 409600};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512};
|
||||
|
||||
readonly long[] clusters = {65018, 51145, 51145, 58452, 58502,};
|
||||
readonly long[] clusters = {65018, 51145, 51145, 58452, 58502};
|
||||
|
||||
readonly int[] clustersize = {2048, 4096, 4096, 3584, 3584,};
|
||||
readonly int[] clustersize = {2048, 4096, 4096, 3584, 3584};
|
||||
|
||||
readonly string[] volumename =
|
||||
{"Volume label", "Volume label", "Volume label", "Volume label", "Volume label",};
|
||||
{"Volume label", "Volume label", "Volume label", "Volume label", "Volume label"};
|
||||
|
||||
readonly string[] volumeserial = {null, null, null, null, "81FE805D61458753",};
|
||||
readonly string[] volumeserial = {null, null, null, null, "81FE805D61458753"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -39,19 +39,19 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class HFS_RDB
|
||||
{
|
||||
readonly string[] testfiles = {"amigaos_3.9.vdi.lz",};
|
||||
readonly string[] testfiles = {"amigaos_3.9.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {1024128};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {63752,};
|
||||
readonly long[] clusters = {63752};
|
||||
|
||||
readonly int[] clustersize = {8192,};
|
||||
readonly int[] clustersize = {8192};
|
||||
|
||||
readonly string[] volumename = {"Volume label",};
|
||||
readonly string[] volumename = {"Volume label"};
|
||||
|
||||
readonly string[] volumeserial = {null,};
|
||||
readonly string[] volumeserial = {null};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
{
|
||||
"ecs.vdi.lz", "msos2_1.21.vdi.lz", "msos2_1.30.1.vdi.lz", "os2_1.20.vdi.lz", "os2_1.30.vdi.lz",
|
||||
"os2_6.307.vdi.lz", "os2_6.514.vdi.lz", "os2_6.617.vdi.lz", "os2_8.162.vdi.lz", "os2_9.023.vdi.lz",
|
||||
"winnt_3.10.vdi.lz", "winnt_3.50.vdi.lz",
|
||||
"winnt_3.10.vdi.lz", "winnt_3.50.vdi.lz"
|
||||
};
|
||||
|
||||
readonly ulong[] sectors =
|
||||
@@ -52,26 +52,26 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512};
|
||||
|
||||
readonly long[] clusters =
|
||||
{261072, 1023056, 1023056, 1023056, 1023056, 1023056, 262016, 262016, 262016, 262016, 262016, 262112,};
|
||||
{261072, 1023056, 1023056, 1023056, 1023056, 1023056, 262016, 262016, 262016, 262016, 262016, 262112};
|
||||
|
||||
readonly int[] clustersize = {512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512,};
|
||||
readonly int[] clustersize = {512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512};
|
||||
|
||||
readonly string[] volumename =
|
||||
{
|
||||
"VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL",
|
||||
"VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL",
|
||||
"VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL", "VOLUMELABEL"
|
||||
};
|
||||
|
||||
readonly string[] volumeserial =
|
||||
{
|
||||
"2BBBD814", "AC0DDC15", "ABEB2C15", "6C4EE015", "6C406015", "6C49B015", "2BCEB414", "2C157414", "2BF55414",
|
||||
"2BE31414", "E851CB14", "A4EDC29C",
|
||||
"2BE31414", "E851CB14", "A4EDC29C"
|
||||
};
|
||||
|
||||
readonly string[] oemid =
|
||||
{
|
||||
"IBM 4.50", "OS2 10.1", "OS2 10.0", "OS2 10.0", "OS2 10.0", "OS2 20.0", "OS2 20.0", "OS2 20.1", "OS2 20.0",
|
||||
"OS2 20.0", "MSDOS5.0", "MSDOS5.0",
|
||||
"OS2 20.0", "MSDOS5.0", "MSDOS5.0"
|
||||
};
|
||||
|
||||
[Test]
|
||||
|
||||
@@ -42,25 +42,25 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
{
|
||||
"scoopenserver_5.0.7hw_dmf.img.lz", "scoopenserver_5.0.7hw_dshd.img.lz",
|
||||
"scoopenserver_5.0.7hw_mf2dd.img.lz", "scoopenserver_5.0.7hw_mf2ed.img.lz",
|
||||
"scoopenserver_5.0.7hw_mf2hd.img.lz",
|
||||
"scoopenserver_5.0.7hw_mf2hd.img.lz"
|
||||
};
|
||||
|
||||
readonly MediaType[] mediatypes =
|
||||
{MediaType.DMF, MediaType.DOS_525_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_ED, MediaType.DOS_35_HD,};
|
||||
{MediaType.DMF, MediaType.DOS_525_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_ED, MediaType.DOS_35_HD};
|
||||
|
||||
readonly ulong[] sectors = {3360, 2400, 1440, 5760, 2880,};
|
||||
readonly ulong[] sectors = {3360, 2400, 1440, 5760, 2880};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512};
|
||||
|
||||
readonly long[] clusters = {1680, 1200, 720, 2880, 1440,};
|
||||
readonly long[] clusters = {1680, 1200, 720, 2880, 1440};
|
||||
|
||||
readonly int[] clustersize = {1024, 1024, 1024, 1024, 1024,};
|
||||
readonly int[] clustersize = {1024, 1024, 1024, 1024, 1024};
|
||||
|
||||
readonly string[] volumename = {"", "", "", "", "",};
|
||||
readonly string[] volumename = {"", "", "", "", ""};
|
||||
|
||||
readonly string[] volumeserial = {null, null, null, null, null,};
|
||||
readonly string[] volumeserial = {null, null, null, null, null};
|
||||
|
||||
readonly string[] type = {"HTFS", "HTFS", "HTFS", "HTFS", "HTFS",};
|
||||
readonly string[] type = {"HTFS", "HTFS", "HTFS", "HTFS", "HTFS"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -41,19 +41,19 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
{
|
||||
readonly string[] testfiles = {"scoopenserver_5.0.7hw.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {2097152,};
|
||||
readonly ulong[] sectors = {2097152};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {1020096,};
|
||||
readonly long[] clusters = {1020096};
|
||||
|
||||
readonly int[] clustersize = {1024,};
|
||||
readonly int[] clustersize = {1024};
|
||||
|
||||
readonly string[] volumename = {"Volume label",};
|
||||
readonly string[] volumename = {"Volume label"};
|
||||
|
||||
readonly string[] volumeserial = {null,};
|
||||
readonly string[] volumeserial = {null};
|
||||
|
||||
readonly string[] type = {"HTFS",};
|
||||
readonly string[] type = {"HTFS"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -50,37 +50,37 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
"toast_3.5.7_iso9660_ver_joliet_apple.iso.lz", "toast_3.5.7_iso9660_ver_joliet.iso.lz",
|
||||
"toast_3.5.7_iso9660.iso.lz",
|
||||
// Toast 4.1.3
|
||||
"toast_4.1.3_iso9660_hfs.iso.lz",
|
||||
"toast_4.1.3_iso9660_hfs.iso.lz"
|
||||
};
|
||||
|
||||
readonly MediaType[] mediatypes =
|
||||
{
|
||||
MediaType.CD, MediaType.CD, MediaType.CD, MediaType.CD, MediaType.CD, MediaType.CD, MediaType.CD,
|
||||
MediaType.CD, MediaType.CD, MediaType.CD, MediaType.CD, MediaType.CD, MediaType.CD, MediaType.CD,
|
||||
MediaType.CD, MediaType.CD, MediaType.CD,
|
||||
MediaType.CD, MediaType.CD, MediaType.CD
|
||||
};
|
||||
|
||||
readonly ulong[] sectors =
|
||||
{946, 946, 300, 1880, 300, 951, 300, 946, 300, 946, 946, 300, 300, 951, 300, 300, 1882,};
|
||||
{946, 946, 300, 1880, 300, 951, 300, 946, 300, 946, 946, 300, 300, 951, 300, 300, 1882};
|
||||
|
||||
readonly uint[] sectorsize =
|
||||
{2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048,};
|
||||
{2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048};
|
||||
|
||||
readonly long[] clusters =
|
||||
{946, 946, 300, 1880, 300, 951, 300, 946, 300, 946, 946, 300, 300, 951, 300, 300, 1882,};
|
||||
{946, 946, 300, 1880, 300, 951, 300, 946, 300, 946, 946, 300, 300, 951, 300, 300, 1882};
|
||||
|
||||
readonly int[] clustersize =
|
||||
{2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048,};
|
||||
{2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048};
|
||||
|
||||
readonly string[] volumename =
|
||||
{
|
||||
"DISK_UTILS", "DISK_UTILS", "DISK_UTILS", "DISK_UTILS", "DISK_UTILS", "Disk utils", "Disk utils",
|
||||
"Disk utils", "Disk utils", "DISK_UTILS", "DISK_UTILS", "DISK_UTILS", "DISK_UTILS", "Disk utils",
|
||||
"Disk utils", "DISK_UTILS", "DISK_UTILS",
|
||||
"Disk utils", "DISK_UTILS", "DISK_UTILS"
|
||||
};
|
||||
|
||||
readonly string[] volumeserial =
|
||||
{null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null,};
|
||||
{null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null};
|
||||
|
||||
readonly string[] sysid =
|
||||
{
|
||||
@@ -89,7 +89,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
"APPLE COMPUTER, INC., TYPE: 0002", "APPLE COMPUTER, INC., TYPE: 0002", "APPLE COMPUTER, INC., TYPE: 0002",
|
||||
"APPLE COMPUTER, INC., TYPE: 0002", "APPLE COMPUTER, INC., TYPE: 0002", "APPLE COMPUTER, INC., TYPE: 0002",
|
||||
"APPLE COMPUTER, INC., TYPE: 0002", "APPLE COMPUTER, INC., TYPE: 0002", "APPLE COMPUTER, INC., TYPE: 0002",
|
||||
"APPLE COMPUTER, INC., TYPE: 0002", "APPLE COMPUTER, INC., TYPE: 0002",
|
||||
"APPLE COMPUTER, INC., TYPE: 0002", "APPLE COMPUTER, INC., TYPE: 0002"
|
||||
};
|
||||
|
||||
readonly string[] appid =
|
||||
@@ -110,7 +110,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
"TOAST ISO 9660 BUILDER COPYRIGHT (C) 1997 ADAPTEC, INC. - HAVE A NICE DAY",
|
||||
"TOAST ISO 9660 BUILDER COPYRIGHT (C) 1997 ADAPTEC, INC. - HAVE A NICE DAY",
|
||||
"TOAST ISO 9660 BUILDER COPYRIGHT (C) 1997 ADAPTEC, INC. - HAVE A NICE DAY",
|
||||
"TOAST ISO 9660 BUILDER COPYRIGHT (C) 1997 ADAPTEC, INC. - HAVE A NICE DAY",
|
||||
"TOAST ISO 9660 BUILDER COPYRIGHT (C) 1997 ADAPTEC, INC. - HAVE A NICE DAY"
|
||||
};
|
||||
|
||||
[Test]
|
||||
|
||||
@@ -39,20 +39,20 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class JFS2
|
||||
{
|
||||
readonly string[] testfiles = {"linux.vdi.lz", "linux_caseinsensitive.vdi.lz",};
|
||||
readonly string[] testfiles = {"linux.vdi.lz", "linux_caseinsensitive.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {262144, 262144,};
|
||||
readonly ulong[] sectors = {262144, 262144};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512};
|
||||
|
||||
readonly long[] clusters = {257632, 257632,};
|
||||
readonly long[] clusters = {257632, 257632};
|
||||
|
||||
readonly int[] clustersize = {4096, 4096,};
|
||||
readonly int[] clustersize = {4096, 4096};
|
||||
|
||||
readonly string[] volumename = {"Volume labe", "Volume labe",};
|
||||
readonly string[] volumename = {"Volume labe", "Volume labe"};
|
||||
|
||||
readonly string[] volumeserial =
|
||||
{"8033b783-0cd1-1645-8ecc-f8f113ad6a47", "d6cd91e9-3899-7e40-8468-baab688ee2e2",};
|
||||
{"8033b783-0cd1-1645-8ecc-f8f113ad6a47", "d6cd91e9-3899-7e40-8468-baab688ee2e2"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -34,19 +34,19 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class LFS_MBR
|
||||
{
|
||||
readonly string[] testfiles = {"netbsd_1.6.vdi.lz",};
|
||||
readonly string[] testfiles = {"netbsd_1.6.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {409600,};
|
||||
readonly ulong[] sectors = {409600};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {409600};
|
||||
|
||||
readonly int[] clustersize = {512,};
|
||||
readonly int[] clustersize = {512};
|
||||
|
||||
readonly string[] volumename = {null,};
|
||||
readonly string[] volumename = {null};
|
||||
|
||||
readonly string[] volumeserial = {null,};
|
||||
readonly string[] volumeserial = {null};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -45,38 +45,38 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
"three-empty-folders.dc42.lz", "three-folders-with-differently-named-docs.dc42.lz",
|
||||
"three-folders-with-differently-named-docs-root-alphabetical.dc42.lz",
|
||||
"three-folders-with-differently-named-docs-root-chronological.dc42.lz",
|
||||
"three-folders-with-identically-named-docs.dc42.lz",
|
||||
"three-folders-with-identically-named-docs.dc42.lz"
|
||||
};
|
||||
|
||||
readonly MediaType[] mediatypes =
|
||||
{
|
||||
MediaType.AppleSonySS, MediaType.AppleSonySS, MediaType.AppleSonySS, MediaType.AppleSonySS,
|
||||
MediaType.AppleSonySS, MediaType.AppleSonySS, MediaType.AppleSonySS, MediaType.AppleSonySS,
|
||||
MediaType.AppleSonySS, MediaType.AppleSonySS, MediaType.AppleSonySS, MediaType.AppleSonySS,
|
||||
MediaType.AppleSonySS, MediaType.AppleSonySS, MediaType.AppleSonySS, MediaType.AppleSonySS
|
||||
};
|
||||
|
||||
readonly ulong[] sectors = {800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800,};
|
||||
readonly ulong[] sectors = {800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800, 800};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512};
|
||||
|
||||
readonly long[] clusters = {800, 800, 792, 800, 800, 800, 800, 800, 800, 800, 800, 800,};
|
||||
readonly long[] clusters = {800, 800, 792, 800, 800, 800, 800, 800, 800, 800, 800, 800};
|
||||
|
||||
readonly int[] clustersize = {512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512,};
|
||||
readonly int[] clustersize = {512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512};
|
||||
|
||||
readonly string[] volumename =
|
||||
{
|
||||
"166Files", "222Files", "AOS 4:59 pm 10/02/87", "AOS 3.0", "AOS 3.0", "AOS 3.0", "AOS 3.0", "AOS 3.0",
|
||||
"AOS 3.0", "AOS 3.0", "AOS 3.0", "AOS 3.0",
|
||||
"AOS 3.0", "AOS 3.0", "AOS 3.0", "AOS 3.0"
|
||||
};
|
||||
|
||||
readonly string[] volumeserial =
|
||||
{
|
||||
"A23703A202010663", "A23703A201010663", "A32D261301010663", "A22CB48D01010663", "A22CC3A702010663",
|
||||
"A22CB48D14010663", "A22CB48D14010663", "A22CB48D01010663", "A22CB48D01010663", "A22CB48D01010663",
|
||||
"A22CB48D01010663", "A22CB48D01010663",
|
||||
"A22CB48D01010663", "A22CB48D01010663"
|
||||
};
|
||||
|
||||
readonly string[] oemid = {null, null, null, null, null, null, null, null, null, null, null, null,};
|
||||
readonly string[] oemid = {null, null, null, null, null, null, null, null, null, null, null, null};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -38,23 +38,23 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class Locus
|
||||
{
|
||||
readonly string[] testfiles = {"mf2dd.img.lz", "mf2hd.img.lz",};
|
||||
readonly string[] testfiles = {"mf2dd.img.lz", "mf2hd.img.lz"};
|
||||
|
||||
readonly MediaType[] mediatypes = {MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_HD,};
|
||||
readonly MediaType[] mediatypes = {MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_HD};
|
||||
|
||||
readonly ulong[] sectors = {1440, 2880,};
|
||||
readonly ulong[] sectors = {1440, 2880};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512};
|
||||
|
||||
readonly long[] clusters = {180, 360,};
|
||||
readonly long[] clusters = {180, 360};
|
||||
|
||||
readonly int[] clustersize = {4096, 4096,};
|
||||
readonly int[] clustersize = {4096, 4096};
|
||||
|
||||
readonly string[] volumename = {"Label", "Label",};
|
||||
readonly string[] volumename = {"Label", "Label"};
|
||||
|
||||
readonly string[] volumeserial = {null, null,};
|
||||
readonly string[] volumeserial = {null, null};
|
||||
|
||||
readonly string[] oemid = {null, null,};
|
||||
readonly string[] oemid = {null, null};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
readonly string[] testfiles =
|
||||
{
|
||||
"macos_0.1_mf1dd.img.lz", "macos_0.5_mf1dd.img.lz", "macos_1.1_mf1dd.img.lz", "macos_2.0_mf1dd.img.lz",
|
||||
"macos_6.0.7_mf1dd.img.lz",
|
||||
"macos_6.0.7_mf1dd.img.lz"
|
||||
};
|
||||
|
||||
readonly MediaType[] mediatypes =
|
||||
@@ -50,18 +50,18 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
MediaType.AppleSonySS
|
||||
};
|
||||
|
||||
readonly ulong[] sectors = {800, 800, 800, 800, 800,};
|
||||
readonly ulong[] sectors = {800, 800, 800, 800, 800};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512, 512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512, 512, 512};
|
||||
|
||||
readonly long[] clusters = {391, 391, 391, 391, 391,};
|
||||
readonly long[] clusters = {391, 391, 391, 391, 391};
|
||||
|
||||
readonly int[] clustersize = {1024, 1024, 1024, 1024, 1024,};
|
||||
readonly int[] clustersize = {1024, 1024, 1024, 1024, 1024};
|
||||
|
||||
readonly string[] volumename =
|
||||
{"Volume label", "Volume label", "Volume label", "Volume label", "Volume label",};
|
||||
{"Volume label", "Volume label", "Volume label", "Volume label", "Volume label"};
|
||||
|
||||
readonly string[] volumeserial = {null, null, null, null, null, null, null,};
|
||||
readonly string[] volumeserial = {null, null, null, null, null, null, null};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -41,21 +41,21 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
readonly string[] testfiles =
|
||||
{
|
||||
"minix_3.1.2a_dsdd.img.lz", "minix_3.1.2a_dshd.img.lz", "minix_3.1.2a_mf2dd.img.lz",
|
||||
"minix_3.1.2a_mf2hd.img.lz",
|
||||
"minix_3.1.2a_mf2hd.img.lz"
|
||||
};
|
||||
|
||||
readonly MediaType[] mediatypes =
|
||||
{MediaType.DOS_525_DS_DD_9, MediaType.DOS_525_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_HD,};
|
||||
{MediaType.DOS_525_DS_DD_9, MediaType.DOS_525_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_HD};
|
||||
|
||||
readonly ulong[] sectors = {720, 2400, 1440, 2880,};
|
||||
readonly ulong[] sectors = {720, 2400, 1440, 2880};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512};
|
||||
|
||||
readonly long[] clusters = {360, 1200, 720, 1440,};
|
||||
readonly long[] clusters = {360, 1200, 720, 1440};
|
||||
|
||||
readonly int[] clustersize = {1024, 1024, 1024, 1024,};
|
||||
readonly int[] clustersize = {1024, 1024, 1024, 1024};
|
||||
|
||||
readonly string[] types = {"Minix 3 v1", "Minix 3 v1", "Minix 3 v1", "Minix 3 v1",};
|
||||
readonly string[] types = {"Minix 3 v1", "Minix 3 v1", "Minix 3 v1", "Minix 3 v1"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -39,17 +39,17 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class MINIXv1_MBR
|
||||
{
|
||||
readonly string[] testfiles = {"linux.vdi.lz", "minix_3.1.2a.vdi.lz",};
|
||||
readonly string[] testfiles = {"linux.vdi.lz", "minix_3.1.2a.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {262144, 102400,};
|
||||
readonly ulong[] sectors = {262144, 102400};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512};
|
||||
|
||||
readonly long[] clusters = {65535, 50399,};
|
||||
readonly long[] clusters = {65535, 50399};
|
||||
|
||||
readonly int[] clustersize = {1024, 1024,};
|
||||
readonly int[] clustersize = {1024, 1024};
|
||||
|
||||
readonly string[] types = {"Minix v1", "Minix 3 v1",};
|
||||
readonly string[] types = {"Minix v1", "Minix 3 v1"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -41,21 +41,21 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
readonly string[] testfiles =
|
||||
{
|
||||
"minix_3.1.2a_dsdd.img.lz", "minix_3.1.2a_dshd.img.lz", "minix_3.1.2a_mf2dd.img.lz",
|
||||
"minix_3.1.2a_mf2hd.img.lz",
|
||||
"minix_3.1.2a_mf2hd.img.lz"
|
||||
};
|
||||
|
||||
readonly MediaType[] mediatypes =
|
||||
{MediaType.DOS_525_DS_DD_9, MediaType.DOS_525_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_HD,};
|
||||
{MediaType.DOS_525_DS_DD_9, MediaType.DOS_525_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_HD};
|
||||
|
||||
readonly ulong[] sectors = {720, 2400, 1440, 2880,};
|
||||
readonly ulong[] sectors = {720, 2400, 1440, 2880};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512};
|
||||
|
||||
readonly long[] clusters = {360, 1200, 720, 1440,};
|
||||
readonly long[] clusters = {360, 1200, 720, 1440};
|
||||
|
||||
readonly int[] clustersize = {1024, 1024, 1024, 1024,};
|
||||
readonly int[] clustersize = {1024, 1024, 1024, 1024};
|
||||
|
||||
readonly string[] types = {"Minix 3 v2", "Minix 3 v2", "Minix 3 v2", "Minix 3 v2",};
|
||||
readonly string[] types = {"Minix 3 v2", "Minix 3 v2", "Minix 3 v2", "Minix 3 v2"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -39,17 +39,17 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class MINIXv2_MBR
|
||||
{
|
||||
readonly string[] testfiles = {"minix_3.1.2a.vdi.lz",};
|
||||
readonly string[] testfiles = {"minix_3.1.2a.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {1024000,};
|
||||
readonly ulong[] sectors = {1024000};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {511055,};
|
||||
readonly long[] clusters = {511055};
|
||||
|
||||
readonly int[] clustersize = {1024,};
|
||||
readonly int[] clustersize = {1024};
|
||||
|
||||
readonly string[] types = {"Minix 3 v2",};
|
||||
readonly string[] types = {"Minix 3 v2"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -41,21 +41,21 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
readonly string[] testfiles =
|
||||
{
|
||||
"minix_3.1.2a_dsdd.img.lz", "minix_3.1.2a_dshd.img.lz", "minix_3.1.2a_mf2dd.img.lz",
|
||||
"minix_3.1.2a_mf2hd.img.lz",
|
||||
"minix_3.1.2a_mf2hd.img.lz"
|
||||
};
|
||||
|
||||
readonly MediaType[] mediatypes =
|
||||
{MediaType.DOS_525_DS_DD_9, MediaType.DOS_525_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_HD,};
|
||||
{MediaType.DOS_525_DS_DD_9, MediaType.DOS_525_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_HD};
|
||||
|
||||
readonly ulong[] sectors = {720, 2400, 1440, 2880,};
|
||||
readonly ulong[] sectors = {720, 2400, 1440, 2880};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512};
|
||||
|
||||
readonly long[] clusters = {90, 300, 180, 360,};
|
||||
readonly long[] clusters = {90, 300, 180, 360};
|
||||
|
||||
readonly int[] clustersize = {4096, 4096, 4096, 4096,};
|
||||
readonly int[] clustersize = {4096, 4096, 4096, 4096};
|
||||
|
||||
readonly string[] types = {"Minix v3", "Minix v3", "Minix v3", "Minix v3",};
|
||||
readonly string[] types = {"Minix v3", "Minix v3", "Minix v3", "Minix v3"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -39,17 +39,17 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class MINIXv3_MBR
|
||||
{
|
||||
readonly string[] testfiles = {"minix_3.1.2a.vdi.lz",};
|
||||
readonly string[] testfiles = {"minix_3.1.2a.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {4194304,};
|
||||
readonly ulong[] sectors = {4194304};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {523151,};
|
||||
readonly long[] clusters = {523151};
|
||||
|
||||
readonly int[] clustersize = {4096,};
|
||||
readonly int[] clustersize = {4096};
|
||||
|
||||
readonly string[] types = {"Minix v3",};
|
||||
readonly string[] types = {"Minix v3"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -39,19 +39,19 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class NILFS2
|
||||
{
|
||||
readonly string[] testfiles = {"linux.vdi.lz",};
|
||||
readonly string[] testfiles = {"linux.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {262144,};
|
||||
readonly ulong[] sectors = {262144};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {32512,};
|
||||
readonly long[] clusters = {32512};
|
||||
|
||||
readonly int[] clustersize = {4096,};
|
||||
readonly int[] clustersize = {4096};
|
||||
|
||||
readonly string[] volumename = {"Volume label",};
|
||||
readonly string[] volumename = {"Volume label"};
|
||||
|
||||
readonly string[] volumeserial = {"6b1ca79e-7048-a748-93a0-89c74b02cb5a",};
|
||||
readonly string[] volumeserial = {"6b1ca79e-7048-a748-93a0-89c74b02cb5a"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -39,21 +39,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()
|
||||
|
||||
@@ -42,26 +42,26 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
readonly string[] testfiles =
|
||||
{
|
||||
"win10.vdi.lz", "win2000.vdi.lz", "winnt_3.10.vdi.lz", "winnt_3.50.vdi.lz", "winnt_3.51.vdi.lz",
|
||||
"winnt_4.00.vdi.lz", "winvista.vdi.lz", "linux.vdi.lz", "haiku_hrev51259.vdi.lz",
|
||||
"winnt_4.00.vdi.lz", "winvista.vdi.lz", "linux.vdi.lz", "haiku_hrev51259.vdi.lz"
|
||||
};
|
||||
|
||||
readonly ulong[] sectors = {524288, 2097152, 1024000, 524288, 524288, 524288, 524288, 262144, 2097152,};
|
||||
readonly ulong[] sectors = {524288, 2097152, 1024000, 524288, 524288, 524288, 524288, 262144, 2097152};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512, 512, 512, 512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512, 512, 512, 512, 512};
|
||||
|
||||
readonly long[] clusters = {65263, 1046511, 1023057, 524256, 524256, 524096, 64767, 32511, 261887,};
|
||||
readonly long[] clusters = {65263, 1046511, 1023057, 524256, 524256, 524096, 64767, 32511, 261887};
|
||||
|
||||
readonly int[] clustersize = {4096, 1024, 512, 512, 512, 512, 4096, 4096, 4096,};
|
||||
readonly int[] clustersize = {4096, 1024, 512, 512, 512, 512, 4096, 4096, 4096};
|
||||
|
||||
readonly string[] volumename = {null, null, null, null, null, null, null, null, null,};
|
||||
readonly string[] volumename = {null, null, null, null, null, null, null, null, null};
|
||||
|
||||
readonly string[] volumeserial =
|
||||
{
|
||||
"C46C1B3C6C1B28A6", "8070C8EC70C8E9CC", "10CC6AC6CC6AA5A6", "7A14F50014F4BFE5", "24884447884419A6",
|
||||
"822C288D2C287E73", "E20AF54B0AF51D6B", "065BB96B7C1BCFDA", "46EC796749C6FA66",
|
||||
"822C288D2C287E73", "E20AF54B0AF51D6B", "065BB96B7C1BCFDA", "46EC796749C6FA66"
|
||||
};
|
||||
|
||||
readonly string[] oemid = {null, null, null, null, null, null, null, null, null,};
|
||||
readonly string[] oemid = {null, null, null, null, null, null, null, null, null};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -34,19 +34,19 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class NWFS386
|
||||
{
|
||||
readonly string[] testfiles = {"netware_3.12.vdi.lz",};
|
||||
readonly string[] testfiles = {"netware_3.12.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {104857600,};
|
||||
readonly ulong[] sectors = {104857600};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {104856192,};
|
||||
readonly long[] clusters = {104856192};
|
||||
|
||||
readonly int[] clustersize = {512,};
|
||||
readonly int[] clustersize = {512};
|
||||
|
||||
readonly string[] volumename = {"Volume label",};
|
||||
readonly string[] volumename = {"Volume label"};
|
||||
|
||||
readonly string[] volumeserial = {"UNKNOWN",};
|
||||
readonly string[] volumeserial = {"UNKNOWN"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -34,19 +34,19 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class OCFS2
|
||||
{
|
||||
readonly string[] testfiles = {"linux.vdi.lz",};
|
||||
readonly string[] testfiles = {"linux.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {104857600,};
|
||||
readonly ulong[] sectors = {104857600};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {104856192,};
|
||||
readonly long[] clusters = {104856192};
|
||||
|
||||
readonly int[] clustersize = {512,};
|
||||
readonly int[] clustersize = {512};
|
||||
|
||||
readonly string[] volumename = {"Volume label",};
|
||||
readonly string[] volumename = {"Volume label"};
|
||||
|
||||
readonly string[] volumeserial = {"UNKNOWN",};
|
||||
readonly string[] volumeserial = {"UNKNOWN"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -39,21 +39,21 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class PFS3_RDB
|
||||
{
|
||||
readonly string[] testfiles = {"uae.vdi.lz",};
|
||||
readonly string[] testfiles = {"uae.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {1024128,};
|
||||
readonly ulong[] sectors = {1024128};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {1023552,};
|
||||
readonly long[] clusters = {1023552};
|
||||
|
||||
readonly int[] clustersize = {512,};
|
||||
readonly int[] clustersize = {512};
|
||||
|
||||
readonly string[] volumename = {"PFS",};
|
||||
readonly string[] volumename = {"PFS"};
|
||||
|
||||
readonly string[] volumeserial = {null,};
|
||||
readonly string[] volumeserial = {null};
|
||||
|
||||
readonly string[] oemid = {null,};
|
||||
readonly string[] oemid = {null};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -42,24 +42,24 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
readonly string[] testfiles =
|
||||
{
|
||||
"macos_7.5.3.vdi.lz", "macos_7.6.vdi.lz", "macos_8.0.vdi.lz", "macos_8.1.vdi.lz", "macos_9.0.4.vdi.lz",
|
||||
"macos_9.1.vdi.lz", "macos_9.2.1.vdi.lz", "macos_9.2.2.vdi.lz",
|
||||
"macos_9.1.vdi.lz", "macos_9.2.1.vdi.lz", "macos_9.2.2.vdi.lz"
|
||||
};
|
||||
|
||||
readonly ulong[] sectors = {49152, 49152, 49152, 49152, 49152, 49152, 49152, 49152,};
|
||||
readonly ulong[] sectors = {49152, 49152, 49152, 49152, 49152, 49152, 49152, 49152};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512, 512, 512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512, 512, 512, 512};
|
||||
|
||||
readonly long[] clusters = {48438, 48438, 48438, 48438, 46326, 46326, 46326, 46326,};
|
||||
readonly long[] clusters = {48438, 48438, 48438, 48438, 46326, 46326, 46326, 46326};
|
||||
|
||||
readonly int[] clustersize = {512, 512, 512, 512, 512, 512, 512, 512,};
|
||||
readonly int[] clustersize = {512, 512, 512, 512, 512, 512, 512, 512};
|
||||
|
||||
readonly string[] volumename =
|
||||
{
|
||||
"VOLUME.LABEL", "VOLUME.LABEL", "VOLUME.LABEL", "VOLUME.LABEL", "VOLUME.LABEL", "VOLUME.LABEL",
|
||||
"VOLUME.LABEL", "VOLUME.LABEL",
|
||||
"VOLUME.LABEL", "VOLUME.LABEL"
|
||||
};
|
||||
|
||||
readonly string[] volumeserial = {null, null, null, null, null, null, null, null,};
|
||||
readonly string[] volumeserial = {null, null, null, null, null, null, null, null};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -39,18 +39,18 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
public class QNX4
|
||||
{
|
||||
readonly string[] testfiles =
|
||||
{"qnx_4.24_dsdd.img.lz", "qnx_4.24_dshd.img.lz", "qnx_4.24_mf2dd.img.lz", "qnx_4.24_mf2hd.img.lz",};
|
||||
{"qnx_4.24_dsdd.img.lz", "qnx_4.24_dshd.img.lz", "qnx_4.24_mf2dd.img.lz", "qnx_4.24_mf2hd.img.lz"};
|
||||
|
||||
readonly MediaType[] mediatypes =
|
||||
{MediaType.DOS_525_DS_DD_9, MediaType.DOS_525_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_HD,};
|
||||
{MediaType.DOS_525_DS_DD_9, MediaType.DOS_525_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_HD};
|
||||
|
||||
readonly ulong[] sectors = {720, 2400, 1440, 2880,};
|
||||
readonly ulong[] sectors = {720, 2400, 1440, 2880};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512};
|
||||
|
||||
readonly long[] clusters = {720, 2400, 1440, 2880,};
|
||||
readonly long[] clusters = {720, 2400, 1440, 2880};
|
||||
|
||||
readonly int[] clustersize = {512, 512, 512, 512,};
|
||||
readonly int[] clustersize = {512, 512, 512, 512};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -39,15 +39,15 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class QNX4_MBR
|
||||
{
|
||||
readonly string[] testfiles = {"qnx_4.24.vdi.lz",};
|
||||
readonly string[] testfiles = {"qnx_4.24.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {1024000,};
|
||||
readonly ulong[] sectors = {1024000};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {1023104,};
|
||||
readonly long[] clusters = {1023104};
|
||||
|
||||
readonly int[] clustersize = {512,};
|
||||
readonly int[] clustersize = {512};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -39,21 +39,21 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class ReFS_MBR
|
||||
{
|
||||
readonly string[] testfiles = {"win10.vdi.lz",};
|
||||
readonly string[] testfiles = {"win10.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {67108864,};
|
||||
readonly ulong[] sectors = {67108864};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {8388096,};
|
||||
readonly long[] clusters = {8388096};
|
||||
|
||||
readonly int[] clustersize = {4096,};
|
||||
readonly int[] clustersize = {4096};
|
||||
|
||||
readonly string[] volumename = {null,};
|
||||
readonly string[] volumename = {null};
|
||||
|
||||
readonly string[] volumeserial = {"UNKNOWN",};
|
||||
readonly string[] volumeserial = {"UNKNOWN"};
|
||||
|
||||
readonly string[] oemid = {null,};
|
||||
readonly string[] oemid = {null};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -41,13 +41,13 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
{
|
||||
readonly string[] testfiles = {"linux_r3.5.vdi.lz", "linux_r3.6.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {262144, 262144,};
|
||||
readonly ulong[] sectors = {262144, 262144};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512};
|
||||
|
||||
readonly long[] clusters = {32512, 32512,};
|
||||
readonly long[] clusters = {32512, 32512};
|
||||
|
||||
readonly int[] clustersize = {4096, 4096,};
|
||||
readonly int[] clustersize = {4096, 4096};
|
||||
|
||||
readonly string[] reiserversion = {"Reiser 3.5 filesystem", "Reiser 3.6 filesystem"};
|
||||
|
||||
|
||||
@@ -39,19 +39,19 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class Reiser4
|
||||
{
|
||||
readonly string[] testfiles = {"linux.vdi.lz",};
|
||||
readonly string[] testfiles = {"linux.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {262144,};
|
||||
readonly ulong[] sectors = {262144};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {32511,};
|
||||
readonly long[] clusters = {32511};
|
||||
|
||||
readonly int[] clustersize = {4096,};
|
||||
readonly int[] clustersize = {4096};
|
||||
|
||||
readonly string[] volumename = {"Volume label",};
|
||||
readonly string[] volumename = {"Volume label"};
|
||||
|
||||
readonly string[] volumeserial = {"b0c1924e-6f10-8c42-b6c5-66a457896460",};
|
||||
readonly string[] volumeserial = {"b0c1924e-6f10-8c42-b6c5-66a457896460"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -39,19 +39,19 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class SFS_MBR
|
||||
{
|
||||
readonly string[] testfiles = {"aros.vdi.lz",};
|
||||
readonly string[] testfiles = {"aros.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {409600,};
|
||||
readonly ulong[] sectors = {409600};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {408240,};
|
||||
readonly long[] clusters = {408240};
|
||||
|
||||
readonly int[] clustersize = {512,};
|
||||
readonly int[] clustersize = {512};
|
||||
|
||||
readonly string[] volumename = {null,};
|
||||
readonly string[] volumename = {null};
|
||||
|
||||
readonly string[] volumeserial = {null,};
|
||||
readonly string[] volumeserial = {null};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -39,19 +39,19 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class SFS_MBR_RDB
|
||||
{
|
||||
readonly string[] testfiles = {"aros.vdi.lz",};
|
||||
readonly string[] testfiles = {"aros.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {409600,};
|
||||
readonly ulong[] sectors = {409600};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {406224,};
|
||||
readonly long[] clusters = {406224};
|
||||
|
||||
readonly int[] clustersize = {512,};
|
||||
readonly int[] clustersize = {512};
|
||||
|
||||
readonly string[] volumename = {null,};
|
||||
readonly string[] volumename = {null};
|
||||
|
||||
readonly string[] volumeserial = {null,};
|
||||
readonly string[] volumeserial = {null};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -41,17 +41,17 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
{
|
||||
readonly string[] testfiles = {"uae.vdi.lz", "aros.vdi.lz", "amigaos_4.0.vdi.lz", "amigaos_4.0_sfs2.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {1024128, 409600, 1024128, 1024128,};
|
||||
readonly ulong[] sectors = {1024128, 409600, 1024128, 1024128};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512};
|
||||
|
||||
readonly long[] clusters = {127000, 407232, 511040, 511040,};
|
||||
readonly long[] clusters = {127000, 407232, 511040, 511040};
|
||||
|
||||
readonly int[] clustersize = {2048, 512, 1024, 1024,};
|
||||
readonly int[] clustersize = {2048, 512, 1024, 1024};
|
||||
|
||||
readonly string[] volumename = {null, null, null, null,};
|
||||
readonly string[] volumename = {null, null, null, null};
|
||||
|
||||
readonly string[] volumeserial = {null, null, null, null,};
|
||||
readonly string[] volumeserial = {null, null, null, null};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -43,29 +43,29 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
"amix.adf.lz", "att_unix_svr4v2.1_dsdd.img.lz", "att_unix_svr4v2.1_mf2dd.img.lz",
|
||||
"att_unix_svr4v2.1_mf2hd.img.lz", "scoopenserver_5.0.7hw_dmf.img.lz", "scoopenserver_5.0.7hw_dshd.img.lz",
|
||||
"scoopenserver_5.0.7hw_mf2dd.img.lz", "scoopenserver_5.0.7hw_mf2ed.img.lz",
|
||||
"scoopenserver_5.0.7hw_mf2hd.img.lz",
|
||||
"scoopenserver_5.0.7hw_mf2hd.img.lz"
|
||||
};
|
||||
|
||||
readonly MediaType[] mediatypes =
|
||||
{
|
||||
MediaType.CBM_AMIGA_35_DD, MediaType.DOS_525_DS_DD_9, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_HD,
|
||||
MediaType.DMF, MediaType.DOS_525_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_ED, MediaType.DOS_35_HD,
|
||||
MediaType.DMF, MediaType.DOS_525_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_ED, MediaType.DOS_35_HD
|
||||
};
|
||||
|
||||
readonly ulong[] sectors = {1760, 720, 1440, 2880, 3360, 2400, 1440, 5760, 2880,};
|
||||
readonly ulong[] sectors = {1760, 720, 1440, 2880, 3360, 2400, 1440, 5760, 2880};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512, 512, 512, 512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512, 512, 512, 512, 512};
|
||||
|
||||
readonly long[] clusters = {880, 360, 720, 1440, 1680, 1200, 720, 2880, 1440,};
|
||||
readonly long[] clusters = {880, 360, 720, 1440, 1680, 1200, 720, 2880, 1440};
|
||||
|
||||
readonly int[] clustersize = {1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024,};
|
||||
readonly int[] clustersize = {1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024};
|
||||
|
||||
readonly string[] volumename = {"", "", "", "", "", "", "", "", "",};
|
||||
readonly string[] volumename = {"", "", "", "", "", "", "", "", ""};
|
||||
|
||||
readonly string[] volumeserial = {null, null, null, null, null, null, null, null, null,};
|
||||
readonly string[] volumeserial = {null, null, null, null, null, null, null, null, null};
|
||||
|
||||
readonly string[] type =
|
||||
{"SVR4 fs", "SVR4 fs", "SVR4 fs", "SVR4 fs", "SVR4 fs", "SVR4 fs", "SVR4 fs", "SVR4 fs", "SVR4 fs",};
|
||||
{"SVR4 fs", "SVR4 fs", "SVR4 fs", "SVR4 fs", "SVR4 fs", "SVR4 fs", "SVR4 fs", "SVR4 fs", "SVR4 fs"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -42,19 +42,19 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
readonly string[] testfiles =
|
||||
{"att_unix_svr4v2.1.vdi.lz", "att_unix_svr4v2.1_2k.vdi.lz", "scoopenserver_5.0.7hw.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {1024000, 1024000, 2097152,};
|
||||
readonly ulong[] sectors = {1024000, 1024000, 2097152};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512, 512};
|
||||
|
||||
readonly long[] clusters = {511056, 255528, 1020096,};
|
||||
readonly long[] clusters = {511056, 255528, 1020096};
|
||||
|
||||
readonly int[] clustersize = {1024, 2048, 1024,};
|
||||
readonly int[] clustersize = {1024, 2048, 1024};
|
||||
|
||||
readonly string[] volumename = {"/usr3", "/usr3", "Volume label",};
|
||||
readonly string[] volumename = {"/usr3", "/usr3", "Volume label"};
|
||||
|
||||
readonly string[] volumeserial = {null, null, null,};
|
||||
readonly string[] volumeserial = {null, null, null};
|
||||
|
||||
readonly string[] type = {"SVR4 fs", "SVR4 fs", "SVR4 fs",};
|
||||
readonly string[] type = {"SVR4 fs", "SVR4 fs", "SVR4 fs"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -39,21 +39,21 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class SysV_RDB
|
||||
{
|
||||
readonly string[] testfiles = {"amix.vdi.lz",};
|
||||
readonly string[] testfiles = {"amix.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {1024128,};
|
||||
readonly ulong[] sectors = {1024128};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {511424,};
|
||||
readonly long[] clusters = {511424};
|
||||
|
||||
readonly int[] clustersize = {1024,};
|
||||
readonly int[] clustersize = {1024};
|
||||
|
||||
readonly string[] volumename = {"",};
|
||||
readonly string[] volumename = {""};
|
||||
|
||||
readonly string[] volumeserial = {null,};
|
||||
readonly string[] volumeserial = {null};
|
||||
|
||||
readonly string[] type = {"SVR4 fs",};
|
||||
readonly string[] type = {"SVR4 fs"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -43,36 +43,36 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
"1.02/linux.vdi.lz", "1.02/macosx_10.11.vdi.lz", "1.50/linux.vdi.lz", "1.50/macosx_10.11.vdi.lz",
|
||||
"2.00/linux.vdi.lz", "2.00/macosx_10.11.vdi.lz", "2.01/linux.vdi.lz", "2.01/macosx_10.11.vdi.lz",
|
||||
"2.50/linux.vdi.lz", "2.50/macosx_10.11.vdi.lz", "2.60/macosx_10.11.vdi.lz", "1.50/solaris_7.vdi.lz",
|
||||
"1.50/solaris_9.vdi.lz", "2.01/netbsd_7.1.vdi.lz",
|
||||
"1.50/solaris_9.vdi.lz", "2.01/netbsd_7.1.vdi.lz"
|
||||
};
|
||||
|
||||
readonly ulong[] sectors =
|
||||
{
|
||||
1024000, 204800, 1024000, 409600, 1024000, 614400, 1024000, 819200, 1024000, 1024000, 1228800, 8388608,
|
||||
8388608, 8388608,
|
||||
8388608, 8388608
|
||||
};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512};
|
||||
|
||||
readonly long[] clusters =
|
||||
{
|
||||
1024000, 204800, 1024000, 409600, 1024000, 614400, 1024000, 819200, 1024000, 1024000, 1228800, 8388608,
|
||||
8388608, 8388608,
|
||||
8388608, 8388608
|
||||
};
|
||||
|
||||
readonly int[] clustersize = {512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512,};
|
||||
readonly int[] clustersize = {512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512};
|
||||
|
||||
readonly string[] udfversion =
|
||||
{
|
||||
"UDF v1.02", "UDF v1.02", "UDF v1.50", "UDF v1.50", "UDF v2.00", "UDF v2.00", "UDF v2.01", "UDF v2.01",
|
||||
"UDF v2.50", "UDF v2.50", "UDF v2.60", "UDF v1.50", "UDF v1.50", "UDF v2.01",
|
||||
"UDF v2.50", "UDF v2.50", "UDF v2.60", "UDF v1.50", "UDF v1.50", "UDF v2.01"
|
||||
};
|
||||
|
||||
readonly string[] volumename =
|
||||
{
|
||||
"Volume label", "Volume label", "Volume label", "Volume label", "Volume label", "Volume label",
|
||||
"Volume label", "Volume label", "Volume label", "Volume label", "Volume label", "*NoLabel*", "*NoLabel*",
|
||||
"anonymous",
|
||||
"anonymous"
|
||||
};
|
||||
|
||||
readonly string[] volumeserial =
|
||||
@@ -82,7 +82,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
"5D91CB4F (Mac OS X newfs_udf) UDF Volume Set", "595c5d0bee60c3bbLinuxUDF",
|
||||
"48847EB3 (Mac OS X newfs_udf) UDF Volume Set", "595c5d0e4f338552LinuxUDF",
|
||||
"709E84A1 (Mac OS X newfs_udf) UDF Volume Set", "78CE3237 (Mac OS X newfs_udf) UDF Volume Set", "595EB2A9",
|
||||
"595EB55A", "7cc94d726669d773",
|
||||
"595EB55A", "7cc94d726669d773"
|
||||
};
|
||||
|
||||
readonly string[] oemid =
|
||||
@@ -90,7 +90,7 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
"*Linux UDFFS", "*Apple Mac OS X UDF FS", "*Linux UDFFS", "*Apple Mac OS X UDF FS", "*Linux UDFFS",
|
||||
"*Apple Mac OS X UDF FS", "*Linux UDFFS", "*Apple Mac OS X UDF FS", "*Linux UDFFS",
|
||||
"*Apple Mac OS X UDF FS", "*Apple Mac OS X UDF FS", "*SUN SOLARIS UDF", "*SUN SOLARIS UDF",
|
||||
"*NetBSD userland UDF",
|
||||
"*NetBSD userland UDF"
|
||||
};
|
||||
|
||||
[Test]
|
||||
|
||||
@@ -42,28 +42,28 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
{
|
||||
"amix_mf2dd.adf.lz", "netbsd_1.6_mf2hd.img.lz", "att_unix_svr4v2.1_dsdd.img.lz",
|
||||
"att_unix_svr4v2.1_dshd.img.lz", "att_unix_svr4v2.1_mf2dd.img.lz", "att_unix_svr4v2.1_mf2hd.img.lz",
|
||||
"solaris_2.4_mf2dd.img.lz", "solaris_2.4_mf2hd.img.lz",
|
||||
"solaris_2.4_mf2dd.img.lz", "solaris_2.4_mf2hd.img.lz"
|
||||
};
|
||||
|
||||
readonly MediaType[] mediatypes =
|
||||
{
|
||||
MediaType.CBM_AMIGA_35_DD, MediaType.DOS_35_HD, MediaType.DOS_525_DS_DD_9, MediaType.DOS_525_HD,
|
||||
MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_HD,
|
||||
MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_HD
|
||||
};
|
||||
|
||||
readonly ulong[] sectors = {1760, 2880, 720, 2400, 1440, 2880, 1440, 2880,};
|
||||
readonly ulong[] sectors = {1760, 2880, 720, 2400, 1440, 2880, 1440, 2880};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512, 512, 512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512, 512, 512, 512};
|
||||
|
||||
readonly long[] clusters = {880, 2880, 360, 1200, 720, 1440, 711, 1422,};
|
||||
readonly long[] clusters = {880, 2880, 360, 1200, 720, 1440, 711, 1422};
|
||||
|
||||
readonly int[] clustersize = {1024, 512, 1024, 1024, 1024, 1024, 1024, 1024,};
|
||||
readonly int[] clustersize = {1024, 512, 1024, 1024, 1024, 1024, 1024, 1024};
|
||||
|
||||
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 = {null, null, null, null, null, null, null, null,};
|
||||
readonly string[] volumeserial = {null, null, null, null, null, null, null, null};
|
||||
|
||||
readonly string[] type = {"UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS",};
|
||||
readonly string[] type = {"UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -44,24 +44,24 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
"ffs43/darwin_1.3.1.vdi.lz", "ffs43/darwin_1.4.1.vdi.lz", "ffs43/darwin_6.0.2.vdi.lz",
|
||||
"ffs43/darwin_8.0.1.vdi.lz", "ufs1/darwin_1.3.1.vdi.lz", "ufs1/darwin_1.4.1.vdi.lz",
|
||||
"ufs1/darwin_6.0.2.vdi.lz", "ufs1/darwin_8.0.1.vdi.lz", "ufs1/macosx_10.2.vdi.lz",
|
||||
"ufs1/macosx_10.3.vdi.lz", "ufs1/macosx_10.4.vdi.lz",
|
||||
"ufs1/macosx_10.3.vdi.lz", "ufs1/macosx_10.4.vdi.lz"
|
||||
};
|
||||
|
||||
readonly ulong[] sectors =
|
||||
{1024000, 1024000, 1024000, 1024000, 204800, 204800, 204800, 204800, 2097152, 2097152, 2097152,};
|
||||
{1024000, 1024000, 1024000, 1024000, 204800, 204800, 204800, 204800, 2097152, 2097152, 2097152};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512};
|
||||
|
||||
readonly long[] clusters =
|
||||
{511488, 511488, 511488, 511488, 102368, 102368, 102368, 102368, 1047660, 1038952, 1038952,};
|
||||
{511488, 511488, 511488, 511488, 102368, 102368, 102368, 102368, 1047660, 1038952, 1038952};
|
||||
|
||||
readonly int[] clustersize = {1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024,};
|
||||
readonly int[] clustersize = {1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024};
|
||||
|
||||
readonly string[] volumename = {null, null, null, null, null, null, null, null, null, null, null,};
|
||||
readonly string[] volumename = {null, null, null, null, null, null, null, null, null, null, null};
|
||||
|
||||
readonly string[] volumeserial = {null, null, null, null, null, null, null, null, null, null, null,};
|
||||
readonly string[] volumeserial = {null, null, null, null, null, null, null, null, null, null, null};
|
||||
|
||||
readonly string[] type = {"UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS",};
|
||||
readonly string[] type = {"UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -49,51 +49,51 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
"ufs1/dflybsd_3.6.1.vdi.lz", "ufs1/dflybsd_4.0.5.vdi.lz", "ufs1/freebsd_6.1.vdi.lz",
|
||||
"ufs1/freebsd_7.0.vdi.lz", "ufs1/freebsd_8.2.vdi.lz", "ufs1/netbsd_1.6.vdi.lz", "ufs1/netbsd_7.1.vdi.lz",
|
||||
"ufs1/solaris_7.vdi.lz", "ufs1/solaris_9.vdi.lz", "ufs2/freebsd_6.1.vdi.lz", "ufs2/freebsd_7.0.vdi.lz",
|
||||
"ufs2/freebsd_8.2.vdi.lz", "ufs2/netbsd_7.1.vdi.lz",
|
||||
"ufs2/freebsd_8.2.vdi.lz", "ufs2/netbsd_7.1.vdi.lz"
|
||||
};
|
||||
|
||||
readonly ulong[] sectors =
|
||||
{
|
||||
262144, 262144, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 1024000, 409600, 204800,
|
||||
204800, 204800, 204800, 2097152, 2097152, 2097152, 2097152, 8388608, 8388608, 2097152, 1024000, 2097152,
|
||||
2097152, 16777216, 16777216, 16777216, 2097152,
|
||||
2097152, 16777216, 16777216, 16777216, 2097152
|
||||
};
|
||||
|
||||
readonly uint[] sectorsize =
|
||||
{
|
||||
512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512,
|
||||
512, 512, 512, 512, 512, 512, 512, 512,
|
||||
512, 512, 512, 512, 512, 512, 512, 512
|
||||
};
|
||||
|
||||
readonly long[] clusters =
|
||||
{
|
||||
65024, 65024, 511024, 511024, 511024, 511488, 511950, 255470, 255470, 511992, 204768, 102280, 102280,
|
||||
102280, 102368, 1048500, 523758, 523758, 262138, 1048231, 2096462, 524284, 511968, 1038240, 1046808,
|
||||
2096472, 2096472, 4192945, 524272,
|
||||
2096472, 2096472, 4192945, 524272
|
||||
};
|
||||
|
||||
readonly int[] clustersize =
|
||||
{
|
||||
2048, 2048, 1024, 1024, 1024, 1024, 1024, 2048, 2048, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 2048, 2048,
|
||||
4096, 4096, 2048, 2048, 1024, 1024, 1024, 4096, 4096, 2048, 2048,
|
||||
4096, 4096, 2048, 2048, 1024, 1024, 1024, 4096, 4096, 2048, 2048
|
||||
};
|
||||
|
||||
readonly string[] volumename =
|
||||
{
|
||||
null, "VolumeLabel", null, null, null, null, null, null, null, null, null, null, null, null, null, null,
|
||||
null, null, null, null, null, null, null, null, null, "VolumeLabel", "VolumeLabel", "VolumeLabel", "",
|
||||
null, null, null, null, null, null, null, null, null, "VolumeLabel", "VolumeLabel", "VolumeLabel", ""
|
||||
};
|
||||
|
||||
readonly string[] volumeserial =
|
||||
{
|
||||
null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null,
|
||||
null, null, null, null, null, null, null, null, null, null, null,
|
||||
null, null, null, null, null, null, null, null, null, null, null
|
||||
};
|
||||
|
||||
readonly string[] type =
|
||||
{
|
||||
"UFS", "UFS2", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS",
|
||||
"UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS2", "UFS2", "UFS2", "UFS2",
|
||||
"UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS2", "UFS2", "UFS2", "UFS2"
|
||||
};
|
||||
|
||||
[Test]
|
||||
|
||||
@@ -42,22 +42,22 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
readonly string[] testfiles =
|
||||
{
|
||||
"nextstep_3.3.vdi.lz", "openstep_4.0.vdi.lz", "openstep_4.2.vdi.lz", "rhapsody_dr1.vdi.lz",
|
||||
"rhapsody_dr2.vdi.lz",
|
||||
"rhapsody_dr2.vdi.lz"
|
||||
};
|
||||
|
||||
readonly ulong[] sectors = {409600, 409600, 409600, 409600, 409600,};
|
||||
readonly ulong[] sectors = {409600, 409600, 409600, 409600, 409600};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512};
|
||||
|
||||
readonly long[] clusters = {204640, 204640, 204640, 204640, 204464,};
|
||||
readonly long[] clusters = {204640, 204640, 204640, 204640, 204464};
|
||||
|
||||
readonly int[] clustersize = {1024, 1024, 1024, 1024, 1024,};
|
||||
readonly int[] clustersize = {1024, 1024, 1024, 1024, 1024};
|
||||
|
||||
readonly string[] volumename = {null, null, null, null, null,};
|
||||
readonly string[] volumename = {null, null, null, null, null};
|
||||
|
||||
readonly string[] volumeserial = {null, null, null, null, null,};
|
||||
readonly string[] volumeserial = {null, null, null, null, null};
|
||||
|
||||
readonly string[] type = {"UFS", "UFS", "UFS", "UFS", "UFS",};
|
||||
readonly string[] type = {"UFS", "UFS", "UFS", "UFS", "UFS"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -44,22 +44,22 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
"nextstep_3.3_mf2dd.img.lz", "nextstep_3.3_mf2hd.img.lz", "openstep_4.0_mf2dd.img.lz",
|
||||
"openstep_4.0_mf2hd.img.lz", "openstep_4.2_mf2dd.img.lz", "openstep_4.2_mf2hd.img.lz",
|
||||
"rhapsody_dr1_mf2dd.img.lz", "rhapsody_dr1_mf2hd.img.lz", "rhapsody_dr2_mf2dd.img.lz",
|
||||
"rhapsody_dr2_mf2hd.img.lz",
|
||||
"rhapsody_dr2_mf2hd.img.lz"
|
||||
};
|
||||
|
||||
readonly ulong[] sectors = {1440, 2880, 1440, 2880, 1440, 2880, 1440, 2880, 1440, 2880,};
|
||||
readonly ulong[] sectors = {1440, 2880, 1440, 2880, 1440, 2880, 1440, 2880, 1440, 2880};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512, 512, 512, 512, 512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512, 512, 512, 512, 512, 512};
|
||||
|
||||
readonly long[] clusters = {624, 1344, 624, 1344, 624, 1344, 624, 1344, 624, 1344,};
|
||||
readonly long[] clusters = {624, 1344, 624, 1344, 624, 1344, 624, 1344, 624, 1344};
|
||||
|
||||
readonly int[] clustersize = {1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024,};
|
||||
readonly int[] clustersize = {1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024};
|
||||
|
||||
readonly string[] volumename = {null, null, null, null, null, null, null, null, null, null,};
|
||||
readonly string[] volumename = {null, null, null, null, null, null, null, null, null, null};
|
||||
|
||||
readonly string[] volumeserial = {null, null, null, null, null, null, null, null, null, null,};
|
||||
readonly string[] volumeserial = {null, null, null, null, null, null, null, null, null, null};
|
||||
|
||||
readonly string[] type = {"UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS",};
|
||||
readonly string[] type = {"UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS", "UFS"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -39,21 +39,21 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class UFS_RDB
|
||||
{
|
||||
readonly string[] testfiles = {"amix.vdi.lz",};
|
||||
readonly string[] testfiles = {"amix.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {1024128,};
|
||||
readonly ulong[] sectors = {1024128};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {511424,};
|
||||
readonly long[] clusters = {511424};
|
||||
|
||||
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()
|
||||
|
||||
@@ -39,21 +39,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()
|
||||
|
||||
@@ -41,24 +41,24 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
readonly string[] testfiles =
|
||||
{
|
||||
"amix_mf2dd.adf.lz", "att_unix_svr4v2.1_dsdd.img.lz", "att_unix_svr4v2.1_dshd.img.lz",
|
||||
"att_unix_svr4v2.1_mf2dd.img.lz", "att_unix_svr4v2.1_mf2hd.img.lz",
|
||||
"att_unix_svr4v2.1_mf2dd.img.lz", "att_unix_svr4v2.1_mf2hd.img.lz"
|
||||
};
|
||||
|
||||
readonly MediaType[] mediatypes =
|
||||
{
|
||||
MediaType.CBM_AMIGA_35_DD, MediaType.DOS_525_DS_DD_9, MediaType.DOS_525_HD, MediaType.DOS_35_DS_DD_9,
|
||||
MediaType.DOS_35_HD,
|
||||
MediaType.DOS_35_HD
|
||||
};
|
||||
|
||||
readonly ulong[] sectors = {1760, 720, 2400, 1440, 2880,};
|
||||
readonly ulong[] sectors = {1760, 720, 2400, 1440, 2880};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512};
|
||||
|
||||
readonly long[] clusters = {1760, 720, 2400, 1440, 2880,};
|
||||
readonly long[] clusters = {1760, 720, 2400, 1440, 2880};
|
||||
|
||||
readonly int[] clustersize = {512, 512, 512, 512, 512,};
|
||||
readonly int[] clustersize = {512, 512, 512, 512, 512};
|
||||
|
||||
readonly string[] volumename = {"Label", null, null, null, null,};
|
||||
readonly string[] volumename = {"Label", null, null, null, null};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -39,17 +39,17 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class unixbfs_mbr
|
||||
{
|
||||
readonly string[] testfiles = {"linux.vdi.lz",};
|
||||
readonly string[] testfiles = {"linux.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {262144,};
|
||||
readonly ulong[] sectors = {262144};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {260096,};
|
||||
readonly long[] clusters = {260096};
|
||||
|
||||
readonly int[] clustersize = {512,};
|
||||
readonly int[] clustersize = {512};
|
||||
|
||||
readonly string[] volumename = {"Label",};
|
||||
readonly string[] volumename = {"Label"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -39,21 +39,21 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class UNIXBFS_RDB
|
||||
{
|
||||
readonly string[] testfiles = {"amix.vdi.lz",};
|
||||
readonly string[] testfiles = {"amix.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {1024128,};
|
||||
readonly ulong[] sectors = {1024128};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {65024,};
|
||||
readonly long[] clusters = {65024};
|
||||
|
||||
readonly int[] clustersize = {2048,};
|
||||
readonly int[] clustersize = {2048};
|
||||
|
||||
readonly string[] volumename = {null,};
|
||||
readonly string[] volumename = {null};
|
||||
|
||||
readonly string[] volumeserial = {"UNKNOWN",};
|
||||
readonly string[] volumeserial = {"UNKNOWN"};
|
||||
|
||||
readonly string[] type = {"UFS",};
|
||||
readonly string[] type = {"UFS"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -42,25 +42,25 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
{
|
||||
"scoopenserver_5.0.7hw_dmf.img.lz", "scoopenserver_5.0.7hw_dshd.img.lz",
|
||||
"scoopenserver_5.0.7hw_mf2dd.img.lz", "scoopenserver_5.0.7hw_mf2ed.img.lz",
|
||||
"scoopenserver_5.0.7hw_mf2hd.img.lz",
|
||||
"scoopenserver_5.0.7hw_mf2hd.img.lz"
|
||||
};
|
||||
|
||||
readonly MediaType[] mediatypes =
|
||||
{MediaType.DMF, MediaType.DOS_525_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_ED, MediaType.DOS_35_HD,};
|
||||
{MediaType.DMF, MediaType.DOS_525_HD, MediaType.DOS_35_DS_DD_9, MediaType.DOS_35_ED, MediaType.DOS_35_HD};
|
||||
|
||||
readonly ulong[] sectors = {3360, 2400, 1440, 5760, 2880,};
|
||||
readonly ulong[] sectors = {3360, 2400, 1440, 5760, 2880};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512, 512, 512, 512};
|
||||
|
||||
readonly long[] clusters = {0, 0, 0, 0, 0, 1680, 1200, 720, 2880, 1440,};
|
||||
readonly long[] clusters = {0, 0, 0, 0, 0, 1680, 1200, 720, 2880, 1440};
|
||||
|
||||
readonly int[] clustersize = {1024, 1024, 1024, 1024, 1024,};
|
||||
readonly int[] clustersize = {1024, 1024, 1024, 1024, 1024};
|
||||
|
||||
readonly string[] volumename = {"", "", "", "", "",};
|
||||
readonly string[] volumename = {"", "", "", "", ""};
|
||||
|
||||
readonly string[] volumeserial = {null, null, null, null, null,};
|
||||
readonly string[] volumeserial = {null, null, null, null, null};
|
||||
|
||||
readonly string[] type = {"XENIX fs", "XENIX fs", "XENIX fs", "XENIX fs", "XENIX fs",};
|
||||
readonly string[] type = {"XENIX fs", "XENIX fs", "XENIX fs", "XENIX fs", "XENIX fs"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -39,21 +39,21 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class XENIX_MBR
|
||||
{
|
||||
readonly string[] testfiles = {"xenix_2.3.2d.vdi.lz", "xenix_2.3.4h.vdi.lz", "scoopenserver_5.0.7hw.vdi.lz",};
|
||||
readonly string[] testfiles = {"xenix_2.3.2d.vdi.lz", "xenix_2.3.4h.vdi.lz", "scoopenserver_5.0.7hw.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {40960, 40960, 2097152,};
|
||||
readonly ulong[] sectors = {40960, 40960, 2097152};
|
||||
|
||||
readonly uint[] sectorsize = {512, 512, 512,};
|
||||
readonly uint[] sectorsize = {512, 512, 512};
|
||||
|
||||
readonly long[] clusters = {0, 0, 0, 19624, 19624, 19624,};
|
||||
readonly long[] clusters = {0, 0, 0, 19624, 19624, 19624};
|
||||
|
||||
readonly int[] clustersize = {1024, 1024, 1024,};
|
||||
readonly int[] clustersize = {1024, 1024, 1024};
|
||||
|
||||
readonly string[] volumename = {"", "", "",};
|
||||
readonly string[] volumename = {"", "", ""};
|
||||
|
||||
readonly string[] volumeserial = {null, null, null,};
|
||||
readonly string[] volumeserial = {null, null, null};
|
||||
|
||||
readonly string[] type = {"XENIX fs", "XENIX fs", "XENIX fs",};
|
||||
readonly string[] type = {"XENIX fs", "XENIX fs", "XENIX fs"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
@@ -39,19 +39,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()
|
||||
|
||||
@@ -38,19 +38,19 @@ namespace DiscImageChef.Tests.Filesystems
|
||||
[TestFixture]
|
||||
public class ZFS
|
||||
{
|
||||
readonly string[] testfiles = {"netbsd_7.1.vdi.lz",};
|
||||
readonly string[] testfiles = {"netbsd_7.1.vdi.lz"};
|
||||
|
||||
readonly ulong[] sectors = {33554432,};
|
||||
readonly ulong[] sectors = {33554432};
|
||||
|
||||
readonly uint[] sectorsize = {512,};
|
||||
readonly uint[] sectorsize = {512};
|
||||
|
||||
readonly long[] clusters = {0,};
|
||||
readonly long[] clusters = {0};
|
||||
|
||||
readonly int[] clustersize = {0,};
|
||||
readonly int[] clustersize = {0};
|
||||
|
||||
readonly string[] volumename = {"NetBSD 7.1",};
|
||||
readonly string[] volumename = {"NetBSD 7.1"};
|
||||
|
||||
readonly string[] volumeserial = {"2639895335654686206",};
|
||||
readonly string[] volumeserial = {"2639895335654686206"};
|
||||
|
||||
[Test]
|
||||
public void Test()
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user