Added more tests.

This commit is contained in:
2017-07-08 19:24:07 +01:00
parent adf4549371
commit ef10f16d96
64 changed files with 1014 additions and 3596 deletions

View File

@@ -50,55 +50,64 @@ namespace DiscImageChef.Tests.Filesystems
readonly string[] testfiles = {
"1.02/linux.vdi.lz", "1.02/macosx.vdi.lz", "1.50/linux.vdi.lz", "1.50/macosx.vdi.lz",
"2.00/linux.vdi.lz", "2.00/macosx.vdi.lz", "2.01/linux.vdi.lz", "2.01/macosx.vdi.lz",
"2.50/linux.vdi.lz", "2.50/macosx.vdi.lz", "2.60/macosx.vdi.lz",
"2.50/linux.vdi.lz", "2.50/macosx.vdi.lz", "2.60/macosx.vdi.lz", "1.50/solaris_7.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,
1024000, 1024000, 1228800, 8388608,
8388608, 8388608,
};
readonly uint[] sectorsize = {
512, 512, 512, 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,
1024000, 1024000, 1228800, 8388608,
8388608, 8388608,
};
readonly int[] clustersize = {
512, 512, 512, 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.50",
"UDF v2.50", "UDF v2.50", "UDF v2.50", "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",
"Volume label", "Volume label", "Volume label", "*NoLabel*",
"*NoLabel*", "anonymous",
};
readonly string[] volumeserial = {
"595c5cfa38ce8b66LinuxUDF", "6D02A231 (Mac OS X newfs_udf) UDF Volume Set", "595c5d00c5b3405aLinuxUDF", "4DD0458B (Mac OS X newfs_udf) UDF Volume Set",
"595c5d07f4fc8e8dLinuxUDF", "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",
"595c5d0e4f338552LinuxUDF", "709E84A1 (Mac OS X newfs_udf) UDF Volume Set", "78CE3237 (Mac OS X newfs_udf) UDF Volume Set","595EB2A9",
"595EB55A", "7cc94d726669d773",
};
readonly string[] oemid = {
"*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",
"*Linux UDFFS", "*Apple Mac OS X UDF FS", "*Apple Mac OS X UDF FS","*SUN SOLARIS UDF",
"*SUN SOLARIS UDF", "*NetBSD userland UDF",
};
[Test]