REFACTOR: Removed reduntant commas.

This commit is contained in:
2017-12-21 02:52:12 +00:00
parent d51f3f1988
commit f0d2e7dac9
156 changed files with 979 additions and 979 deletions

View File

@@ -38,7 +38,7 @@ namespace DiscImageChef.Tests.Partitions
[TestFixture]
public class Acorn
{
readonly string[] testfiles = {"linux_ics.vdi.lz",};
readonly string[] testfiles = {"linux_ics.vdi.lz"};
readonly Partition[][] wanted =
{
@@ -89,8 +89,8 @@ namespace DiscImageChef.Tests.Partitions
Length = 84400,
Sequence = 3,
Start = 253522
},
},
}
}
};
[Test]

View File

@@ -45,7 +45,7 @@ namespace DiscImageChef.Tests.Partitions
"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.7.vdi.lz", "macos_6.0.8.vdi.lz", "macos_6.0.vdi.lz", "macos_7.0.vdi.lz", "macos_7.1.1.vdi.lz",
"macos_7.5.vdi.lz", "parted.vdi.lz", "silverlining_2.2.1.vdi.lz", "speedtools_3.6.vdi.lz",
"vcpformatter_2.1.1.vdi.lz",
"vcpformatter_2.1.1.vdi.lz"
};
readonly Partition[][] wanted =
@@ -96,7 +96,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 50944,
Sequence = 3,
Start = 256
},
}
},
// HDT 1.8 Encryption Level 1
new[]
@@ -133,7 +133,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 50112,
Sequence = 2,
Start = 1088
},
}
},
// HDT 1.8 Encryption Level 2
new[]
@@ -170,7 +170,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 50112,
Sequence = 2,
Start = 1088
},
}
},
// HDT 1.8 with password
new[]
@@ -207,7 +207,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 50112,
Sequence = 2,
Start = 1088
},
}
},
// HDT 1.8
new[]
@@ -244,7 +244,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 50112,
Sequence = 2,
Start = 1088
},
}
},
// Linux
new[]
@@ -325,7 +325,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 14718,
Sequence = 6,
Start = 247426
},
}
},
// Mac OS 1.1
new[]
@@ -351,7 +351,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 41804,
Sequence = 1,
Start = 16
},
}
},
// Mac OS 2.0
new[]
@@ -377,7 +377,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 38965,
Sequence = 1,
Start = 16
},
}
},
// Mac OS 4.2
new[]
@@ -403,7 +403,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 38965,
Sequence = 1,
Start = 16
},
}
},
// Mac OS 4.3
new[]
@@ -429,7 +429,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 38965,
Sequence = 1,
Start = 16
},
}
},
// Mac OS 6.0.2
new[]
@@ -598,7 +598,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 11162,
Sequence = 14,
Start = 43678
},
}
},
// Mac OS 6.0.3
new[]
@@ -734,7 +734,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 3044,
Sequence = 11,
Start = 51796
},
}
},
// Mac OS 6.0.4
new[]
@@ -870,7 +870,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 3238,
Sequence = 11,
Start = 51602
},
}
},
// Mac OS 6.0.5
new[]
@@ -1039,7 +1039,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 6683,
Sequence = 14,
Start = 48157
},
}
},
// Mac OS 6.0.7
new[]
@@ -1197,7 +1197,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 4400,
Sequence = 13,
Start = 50440
},
}
},
// Mac OS 6.0.8
new[]
@@ -1366,7 +1366,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 4085,
Sequence = 14,
Start = 50755
},
}
},
// Mac OS 6.0
new[]
@@ -1502,7 +1502,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 8,
Sequence = 11,
Start = 41812
},
}
},
// Mac OS 7.0
new[]
@@ -1616,7 +1616,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 10278,
Sequence = 9,
Start = 44562
},
}
},
// Mac OS 7.1.1
new[]
@@ -1741,7 +1741,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 7806,
Sequence = 10,
Start = 47034
},
}
},
// Mac OS 7.5
new[]
@@ -1778,7 +1778,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 54744,
Sequence = 2,
Start = 96
},
}
},
// GNU Parted
new[]
@@ -1815,7 +1815,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 165888,
Sequence = 2,
Start = 96256
},
}
},
// Silverlining 2.2.1
new[]
@@ -1885,7 +1885,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 464,
Sequence = 5,
Start = 50720
},
}
},
// Hard Disk Speed Tools 3.6
new[]
@@ -1933,7 +1933,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 1882,
Sequence = 3,
Start = 49316
},
}
},
// VCP Formatter 2.1.1
new[]
@@ -1993,8 +1993,8 @@ namespace DiscImageChef.Tests.Partitions
Length = 2,
Sequence = 4,
Start = 54838
},
},
}
}
};
[Test]

View File

@@ -38,7 +38,7 @@ namespace DiscImageChef.Tests.Partitions
[TestFixture]
public class Atari
{
readonly string[] testfiles = {"linux_ahdi.vdi.lz", "linux_icd.vdi.lz", "tos_1.04.vdi.lz",};
readonly string[] testfiles = {"linux_ahdi.vdi.lz", "linux_icd.vdi.lz", "tos_1.04.vdi.lz"};
readonly Partition[][] wanted =
{
@@ -154,7 +154,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 151550,
Sequence = 9,
Start = 872450
},
}
},
// Linux (ICD)
new[]
@@ -257,7 +257,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 204800,
Sequence = 8,
Start = 806913
},
}
},
// TOS 1.04
new[]
@@ -305,8 +305,8 @@ namespace DiscImageChef.Tests.Partitions
Length = 14334,
Sequence = 3,
Start = 43010
},
},
}
}
};
[Test]

View File

@@ -78,7 +78,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 94208,
Sequence = 2,
Start = 120832
},
}
},
// NetBSD 1.6
new[]
@@ -148,7 +148,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 202624,
Sequence = 5,
Start = 3991680
},
}
},
// NetBSD 6.1.5
new[]
@@ -264,7 +264,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 906208,
Sequence = 9,
Start = 3288096
},
}
},
// NetBSD 7.1
new[]
@@ -380,8 +380,8 @@ namespace DiscImageChef.Tests.Partitions
Length = 906192,
Sequence = 9,
Start = 3288096
},
},
}
}
};
[Test]

View File

@@ -38,7 +38,7 @@ namespace DiscImageChef.Tests.Partitions
[TestFixture]
public class GPT
{
readonly string[] testfiles = {"linux.vdi.lz", "parted.vdi.lz",};
readonly string[] testfiles = {"linux.vdi.lz", "parted.vdi.lz"};
readonly Partition[][] wanted =
{
@@ -110,7 +110,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 55263,
Sequence = 5,
Start = 206848
},
}
},
// Parted
new[]
@@ -147,8 +147,8 @@ namespace DiscImageChef.Tests.Partitions
Length = 71680,
Sequence = 2,
Start = 188416
},
},
}
}
};
[Test]

View File

@@ -47,7 +47,7 @@ namespace DiscImageChef.Tests.Partitions
"msdos_6.22.vdi.lz", "multiuserdos_7.22r04.vdi.lz", "novelldos_7.00.vdi.lz", "opendos_7.01.vdi.lz",
"parted.vdi.lz", "pcdos_2000.vdi.lz", "pcdos_2.00.vdi.lz", "pcdos_2.10.vdi.lz", "pcdos_3.00.vdi.lz",
"pcdos_3.10.vdi.lz", "pcdos_3.30.vdi.lz", "pcdos_4.00.vdi.lz", "pcdos_5.00.vdi.lz", "pcdos_6.10.vdi.lz",
"win95.vdi.lz", "win96osr25.vdi.lz", "winnt_3.10.vdi.lz",
"win95.vdi.lz", "win96osr25.vdi.lz", "winnt_3.10.vdi.lz"
};
readonly Partition[][] wanted =
@@ -90,7 +90,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 303408,
Sequence = 3,
Start = 352800
},
}
},
// Darwin 1.4.1
new[]
@@ -112,7 +112,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 204624,
Sequence = 1,
Start = 818496
},
}
},
// Darwin 6.0.2
new[]
@@ -152,7 +152,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 488880,
Sequence = 3,
Start = 532224
},
}
},
// Darwin 8.0.1
new[]
@@ -192,7 +192,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 347937,
Sequence = 3,
Start = 676063
},
}
},
// DR-DOS 3.40
new[]
@@ -232,7 +232,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 365841,
Sequence = 3,
Start = 656271
},
}
},
// DR-DOS 3.41
new[]
@@ -272,7 +272,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 668241,
Sequence = 3,
Start = 353871
},
}
},
// DR-DOS 5.00
new[]
@@ -321,7 +321,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 254961,
Sequence = 4,
Start = 767151
},
}
},
// DR-DOS 6.00
new[]
@@ -370,7 +370,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 567441,
Sequence = 4,
Start = 454671
},
}
},
// DR-DOS 7.02
new[]
@@ -419,7 +419,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 209601,
Sequence = 4,
Start = 812511
},
}
},
// DR-DOS 7.03
new[]
@@ -468,7 +468,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 152145,
Sequence = 4,
Start = 869967
},
}
},
// DR-DOS 8.0
new[]
@@ -517,7 +517,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 115857,
Sequence = 4,
Start = 906255
},
}
},
// Linux
new[]
@@ -566,7 +566,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 49152,
Sequence = 4,
Start = 212992
},
}
},
// Mac OS X 10.3
new[]
@@ -624,7 +624,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 204752,
Sequence = 5,
Start = 819248
},
}
},
// Mac OS X 10.4
new[]
@@ -682,7 +682,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 204622,
Sequence = 5,
Start = 819378
},
}
},
// MS-DOS 3.30A
new[]
@@ -830,7 +830,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 39249,
Sequence = 15,
Start = 982863
},
}
},
// MS-DOS 5.00
new[]
@@ -951,7 +951,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 13041,
Sequence = 12,
Start = 1009071
},
}
},
// MS-DOS 6.00
new[]
@@ -1036,7 +1036,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 41265,
Sequence = 8,
Start = 980847
},
}
},
// MS-DOS 6.20
new[]
@@ -1094,7 +1094,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 16065,
Sequence = 5,
Start = 1006047
},
}
},
// MS-DOS 6.21
new[]
@@ -1161,7 +1161,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 19089,
Sequence = 6,
Start = 1003023
},
}
},
// MS-DOS 6.22
new[]
@@ -1210,7 +1210,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 37233,
Sequence = 4,
Start = 984879
},
}
},
// Multiuser DOS 7.22 release 04
new[]
@@ -1259,7 +1259,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 565425,
Sequence = 4,
Start = 456687
},
}
},
// Novell DOS 7.0
new[]
@@ -1308,7 +1308,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 117873,
Sequence = 4,
Start = 904239
},
}
},
// OpenDOS 7.01
new[]
@@ -1357,7 +1357,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 466641,
Sequence = 4,
Start = 555471
},
}
},
// Parted
new[]
@@ -1388,7 +1388,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 129024,
Sequence = 2,
Start = 133120
},
}
},
// PC-DOS 2000
new[]
@@ -1437,7 +1437,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 57393,
Sequence = 4,
Start = 964719
},
}
},
// PC-DOS 2.00
new[]
@@ -1450,7 +1450,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 1022111,
Sequence = 0,
Start = 1
},
}
},
// PC-DOS 2.10
new[]
@@ -1463,7 +1463,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 1022111,
Sequence = 0,
Start = 1
},
}
},
// PC-DOS 3.00
new[]
@@ -1476,7 +1476,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 66465,
Sequence = 0,
Start = 63
},
}
},
// PC-DOS 3.10
new[]
@@ -1489,7 +1489,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 66465,
Sequence = 0,
Start = 63
},
}
},
// PC-DOS 3.30
new[]
@@ -1637,7 +1637,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 39249,
Sequence = 15,
Start = 982863
},
}
},
// PC-DOS 4.00
new[]
@@ -1686,7 +1686,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 237825,
Sequence = 4,
Start = 784287
},
}
},
// PC-DOS 5.00
new[]
@@ -1735,7 +1735,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 257985,
Sequence = 4,
Start = 764127
},
}
},
// PC-DOS 6.10
new[]
@@ -1784,7 +1784,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 319473,
Sequence = 4,
Start = 702639
},
}
},
// Windows 95
new[]
@@ -1833,7 +1833,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 17073,
Sequence = 4,
Start = 1006047
},
}
},
// Windows 95 OSR 2.5
new[]
@@ -1891,7 +1891,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 17073,
Sequence = 5,
Start = 1006047
},
}
},
// Windows NT 3.10
new[]
@@ -1949,8 +1949,8 @@ namespace DiscImageChef.Tests.Partitions
Length = 60480,
Sequence = 5,
Start = 962640
},
},
}
}
};
[Test]

View File

@@ -38,7 +38,7 @@ namespace DiscImageChef.Tests.Partitions
[TestFixture]
public class MINIX
{
readonly string[] testfiles = {"minix_3.1.2a.vdi.lz",};
readonly string[] testfiles = {"minix_3.1.2a.vdi.lz"};
readonly Partition[][] wanted =
{
@@ -88,8 +88,8 @@ namespace DiscImageChef.Tests.Partitions
Length = 512064,
Sequence = 3,
Start = 1584576
},
},
}
}
};
[Test]

View File

@@ -39,7 +39,7 @@ namespace DiscImageChef.Tests.Partitions
public class PC98
{
readonly string[] testfiles =
{"msdos330.thd.lz", "msdos330_alt.thd.lz", "msdos500_epson.thd.lz", "msdos500.thd.lz", "msdos620.thd.lz",};
{"msdos330.thd.lz", "msdos330_alt.thd.lz", "msdos500_epson.thd.lz", "msdos500.thd.lz", "msdos620.thd.lz"};
readonly Partition[][] wanted =
{
@@ -117,7 +117,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 245256,
Sequence = 7,
Start = 752664
},
}
},
// NEC MS-DOS 3.30 (80Mb HDD)
new[]
@@ -148,7 +148,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 94776,
Sequence = 2,
Start = 218064
},
}
},
// Epson MS-DOS 3.30
new[]
@@ -224,7 +224,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 118799,
Sequence = 7,
Start = 887304
},
}
},
// NEC MS-DOS 5.00
new[]
@@ -300,7 +300,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 139128,
Sequence = 7,
Start = 869352
},
}
},
// NEC MS-DOS 6.20
new[]
@@ -367,8 +367,8 @@ namespace DiscImageChef.Tests.Partitions
Length = 315216,
Sequence = 6,
Start = 697224
},
},
}
}
};
[Test]

View File

@@ -38,7 +38,7 @@ namespace DiscImageChef.Tests.Partitions
[TestFixture]
public class RDB
{
readonly string[] testfiles = {"amigaos_3.9.vdi.lz", "amigaos_4.0.vdi.lz", "parted.vdi.lz",};
readonly string[] testfiles = {"amigaos_3.9.vdi.lz", "amigaos_4.0.vdi.lz", "parted.vdi.lz"};
readonly Partition[][] wanted =
{
@@ -110,7 +110,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 166624,
Sequence = 5,
Start = 857504
},
}
},
// AmigaOS 4.0
new[]
@@ -180,7 +180,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 221760,
Sequence = 5,
Start = 802368
},
}
},
// Parted
new[]
@@ -217,8 +217,8 @@ namespace DiscImageChef.Tests.Partitions
Length = 176715,
Sequence = 2,
Start = 80325
},
},
}
}
};
[Test]

View File

@@ -38,7 +38,7 @@ namespace DiscImageChef.Tests.Partitions
[TestFixture]
public class SGI
{
readonly string[] testfiles = {"linux.vdi.lz", "parted.vdi.lz",};
readonly string[] testfiles = {"linux.vdi.lz", "parted.vdi.lz"};
readonly Partition[][] wanted =
{
@@ -170,7 +170,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 64260,
Sequence = 13,
Start = 947835
},
}
},
// GNU Parted
new[]
@@ -210,8 +210,8 @@ namespace DiscImageChef.Tests.Partitions
Length = 36864,
Sequence = 3,
Start = 196608
},
},
}
}
};
[Test]

View File

@@ -39,7 +39,7 @@ namespace DiscImageChef.Tests.Partitions
[TestFixture]
public class Sun
{
readonly string[] testfiles = {"linux.vdi.lz", "parted.vdi.lz",};
readonly string[] testfiles = {"linux.vdi.lz", "parted.vdi.lz"};
readonly Partition[][] wanted =
{
@@ -108,7 +108,7 @@ namespace DiscImageChef.Tests.Partitions
Length = 96390,
Sequence = 6,
Start = 915705
},
}
},
// GNU Parted
new[]
@@ -139,8 +139,8 @@ namespace DiscImageChef.Tests.Partitions
Length = 96390,
Sequence = 2,
Start = 144585
},
},
}
}
};
[Test]

View File

@@ -38,7 +38,7 @@ namespace DiscImageChef.Tests.Partitions
[TestFixture]
public class VTOC
{
readonly string[] testfiles = {"att_unix_vtoc.vdi.lz",};
readonly string[] testfiles = {"att_unix_vtoc.vdi.lz"};
readonly Partition[][] wanted =
{
@@ -188,8 +188,8 @@ namespace DiscImageChef.Tests.Partitions
Length = 84672,
Sequence = 15,
Start = 937818
},
},
}
}
};
[Test]