From 15120fb8fc5dcb618cb6aadc4d4e82416ccba427 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Wed, 2 Aug 2017 18:30:16 +0100 Subject: [PATCH] Added more tests. --- DiscImageChef.Tests/Filesystems/FAT12.cs | 72 ++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/DiscImageChef.Tests/Filesystems/FAT12.cs b/DiscImageChef.Tests/Filesystems/FAT12.cs index 06f5f5725..dce9a8556 100644 --- a/DiscImageChef.Tests/Filesystems/FAT12.cs +++ b/DiscImageChef.Tests/Filesystems/FAT12.cs @@ -255,6 +255,14 @@ namespace DiscImageChef.Tests.Filesystems "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", // SCO OpenServer 5.0.7Hw "scoopenserver_5.0.7hw_dshd.img.lz","scoopenserver_5.0.7hw_mf2dd.img.lz","scoopenserver_5.0.7hw_mf2hd.img.lz", + // Epson MS-DOS 5.00 for PC-98 + "msdos_epson_pc98_5.00_md2dd.img.lz","msdos_epson_pc98_5.00_md2hd.img.lz", + // NEC MS-DOS 3.30 for PC-98 + "msdos_pc98_3.30_md2dd.img.lz","msdos_pc98_3.30_md2hd.img.lz", + // 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", }; readonly MediaType[] mediatypes = { @@ -459,6 +467,14 @@ namespace DiscImageChef.Tests.Filesystems MediaType.DOS_525_DS_DD_9,MediaType.DOS_525_HD,MediaType.DOS_35_DS_DD_9,MediaType.DOS_35_HD, // SCO OpenServer 5.0.7Hw MediaType.DOS_525_HD,MediaType.DOS_35_DS_DD_9,MediaType.DOS_35_HD, + // Epson MS-DOS 5.00 for PC-98 + MediaType.DOS_35_DS_DD_9,MediaType.NEC_525_HD, + // NEC MS-DOS 3.30 for PC-98 + MediaType.DOS_35_DS_DD_9,MediaType.NEC_525_HD, + // 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, }; readonly ulong[] sectors = { @@ -622,6 +638,14 @@ namespace DiscImageChef.Tests.Filesystems 720,2400,1440,2880, // SCO OpenServer 5.0.7Hw 2400,1440,2880, + // Epson MS-DOS 5.00 for PC-98 + 1440,1232, + // NEC MS-DOS 3.30 for PC-98 + 1440,1232, + // NEC MS-DOS 5.00 for PC-98 + 1440,1232, + // NEC MS-DOS 6.20 for PC-98 + 1440,1232, }; readonly uint[] sectorsize = { @@ -785,6 +809,14 @@ namespace DiscImageChef.Tests.Filesystems 512,512,512,512, // SCO OpenServer 5.0.7Hw 512,512,512, + // Epson MS-DOS 5.00 for PC-98 + 512,1024, + // NEC MS-DOS 3.30 for PC-98 + 512,1024, + // NEC MS-DOS 5.00 for PC-98 + 512,1024, + // NEC MS-DOS 6.20 for PC-98 + 512,1024, }; readonly long[] clusters = { @@ -948,6 +980,14 @@ namespace DiscImageChef.Tests.Filesystems 360,2400,720,2880, // SCO OpenServer 5.0.7Hw 2400,1440,2880, + // Epson MS-DOS 5.00 for PC-98 + 640,1232, + // NEC MS-DOS 3.30 for PC-98 + 640,1232, + // NEC MS-DOS 5.00 for PC-98 + 640,1232, + // NEC MS-DOS 6.20 for PC-98 + 640,1232, }; readonly int[] clustersize = { @@ -1111,6 +1151,14 @@ namespace DiscImageChef.Tests.Filesystems 1024,512,1024,512, // SCO OpenServer 5.0.7Hw 512,512,512, + // Epson MS-DOS 5.00 for PC-98 + 1024,1024, + // NEC MS-DOS 3.30 for PC-98 + 1024,1024, + // NEC MS-DOS 5.00 for PC-98 + 1024,1024, + // NEC MS-DOS 6.20 for PC-98 + 1024,1024, }; readonly string[] volumename = { @@ -1283,6 +1331,14 @@ namespace DiscImageChef.Tests.Filesystems "VOLUMELABEL","VOLUMELABEL","VOLUMELABEL","VOLUMELABEL", // SCO OpenServer 5.0.7Hw null,null,null, + // Epson MS-DOS 5.00 for PC-98 + "NO NAME ","NO NAME ", + // NEC MS-DOS 3.30 for PC-98 + null,null, + // NEC MS-DOS 5.00 for PC-98 + "NO NAME ","NO NAME ", + // NEC MS-DOS 6.20 for PC-98 + "NO NAME ","NO NAME ", }; readonly string[] volumeserial = { @@ -1455,6 +1511,14 @@ namespace DiscImageChef.Tests.Filesystems null,null,null,null, // SCO OpenServer 5.0.7Hw null,null,null, + // Epson MS-DOS 5.00 for PC-98 + "27021316","11021317", + // NEC MS-DOS 3.30 for PC-98 + null,null, + // NEC MS-DOS 5.00 for PC-98 + "1002120E","41021209", + // NEC MS-DOS 6.20 for PC-98 + "3D021418","16021409", }; readonly string[] oemid = { @@ -1627,6 +1691,14 @@ namespace DiscImageChef.Tests.Filesystems "COHERENT","COHERENT","COHERENT","COHERENT", // SCO OpenServer 5.0.7Hw "SCO BOOT","SCO BOOT","SCO BOOT", + // Epson MS-DOS 5.00 for PC-98 + "EPSON5.0","EPSON5.0", + // NEC MS-DOS 3.30 for PC-98 + "NEC 2.00","NEC 2.00", + // 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", }; [Test]