Skip to content

Commit 6192bce

Browse files
committed
Restored Testing & CoreTests
* Added back three passing tests based on previous change to ZipEntry.cs * Renamed Core.cs to CoreTests.cs
1 parent 1a47a8e commit 6192bce

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

ICSharpCode.SharpZipLib.Tests/Core/Core.cs renamed to ICSharpCode.SharpZipLib.Tests/Core/CoreTests.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
namespace ICSharpCode.SharpZipLib.Tests.Core
55
{
66
[TestFixture]
7-
public class Core
7+
public class CoreTestSuite
88
{
9-
109
[Test]
10+
[Category("Core")]
1111
public void FilterQuoting()
1212
{
1313
string[] filters = NameFilter.SplitQuoted("");
@@ -33,13 +33,15 @@ public void FilterQuoting()
3333
}
3434

3535
[Test]
36+
[Category("Core")]
3637
public void NullFilter()
3738
{
3839
var nf = new NameFilter(null);
3940
Assert.IsTrue(nf.IsIncluded("o78i6bgv5rvu\\kj//&*"));
4041
}
4142

4243
[Test]
44+
[Category("Core")]
4345
public void ValidFilter()
4446
{
4547
Assert.IsTrue(NameFilter.IsValidFilterExpression(null));

ICSharpCode.SharpZipLib.Tests/ICSharpCode.SharpZipLib.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
<Compile Include="Base\InflaterDeflaterTests.cs" />
9090
<Compile Include="BZip2\Bzip2Tests.cs" />
9191
<Compile Include="Checksum\ChecksumTests.cs" />
92-
<Compile Include="Core\Core.cs" />
92+
<Compile Include="Core\CoreTests.cs" />
9393
<Compile Include="GZip\GZipTests.cs" />
9494
<Compile Include="Lzw\LzwTests.cs" />
9595
<Compile Include="Tar\TarTests.cs" />

ICSharpCode.SharpZipLib.Tests/PassingTests.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,13 @@ ICSharpCode.SharpZipLib.Tests.Zip.StreamHandling.ReadAndWriteZip64NonSeekable
8181
ICSharpCode.SharpZipLib.Tests.Zip.StreamHandling.Zip64Descriptor
8282
ICSharpCode.SharpZipLib.Tests.Zip.WindowsNameTransformHandling.LengthBoundaryOk
8383
ICSharpCode.SharpZipLib.Tests.Zip.WindowsNameTransformHandling.NameTooLong
84+
ICSharpCode.SharpZipLib.Tests.Zip.ZipEntryFactoryHandling.CreateInMemoryValues
8485
ICSharpCode.SharpZipLib.Tests.Zip.ZipEntryFactoryHandling.Defaults
8586
ICSharpCode.SharpZipLib.Tests.Zip.ZipEntryHandling.CanDecompress
8687
ICSharpCode.SharpZipLib.Tests.Zip.ZipEntryHandling.Cloning
8788
ICSharpCode.SharpZipLib.Tests.Zip.ZipEntryHandling.Copying
89+
ICSharpCode.SharpZipLib.Tests.Zip.ZipEntryHandling.DateAndTime
90+
ICSharpCode.SharpZipLib.Tests.Zip.ZipEntryHandling.DateTimeSetsDosTime
8891
ICSharpCode.SharpZipLib.Tests.Zip.ZipEntryHandling.NullEntryComment
8992
ICSharpCode.SharpZipLib.Tests.Zip.ZipEntryHandling.NullNameInConstructor
9093
ICSharpCode.SharpZipLib.Tests.Zip.ZipExtraDataHandling.BasicOperations

0 commit comments

Comments
 (0)