From 6ae715b153ee21d27aa0caa0d42ed8ff4a86d61c Mon Sep 17 00:00:00 2001 From: Matt Kotsenas Date: Tue, 10 Jul 2018 10:15:21 -0700 Subject: [PATCH] Move the TestStream and ForwardOnlyStream to Mocks folder Move the `TestStream` and `ForwardOnlyStream` to Mocks/ to separate them from the test classes. --- tests/SharpCompress.Test/{ => Mocks}/ForwardOnlyStream.cs | 2 +- tests/SharpCompress.Test/{ => Mocks}/TestStream.cs | 2 +- tests/SharpCompress.Test/ReaderTests.cs | 1 + tests/SharpCompress.Test/Tar/TarReaderTests.cs | 1 + tests/SharpCompress.Test/Zip/ZipReaderTests.cs | 1 + 5 files changed, 5 insertions(+), 2 deletions(-) rename tests/SharpCompress.Test/{ => Mocks}/ForwardOnlyStream.cs (97%) rename tests/SharpCompress.Test/{ => Mocks}/TestStream.cs (97%) diff --git a/tests/SharpCompress.Test/ForwardOnlyStream.cs b/tests/SharpCompress.Test/Mocks/ForwardOnlyStream.cs similarity index 97% rename from tests/SharpCompress.Test/ForwardOnlyStream.cs rename to tests/SharpCompress.Test/Mocks/ForwardOnlyStream.cs index c20b9b99..482706a3 100644 --- a/tests/SharpCompress.Test/ForwardOnlyStream.cs +++ b/tests/SharpCompress.Test/Mocks/ForwardOnlyStream.cs @@ -1,7 +1,7 @@ using System; using System.IO; -namespace SharpCompress.Test +namespace SharpCompress.Test.Mocks { public class ForwardOnlyStream : Stream { diff --git a/tests/SharpCompress.Test/TestStream.cs b/tests/SharpCompress.Test/Mocks/TestStream.cs similarity index 97% rename from tests/SharpCompress.Test/TestStream.cs rename to tests/SharpCompress.Test/Mocks/TestStream.cs index f9e0b713..d3f741c6 100644 --- a/tests/SharpCompress.Test/TestStream.cs +++ b/tests/SharpCompress.Test/Mocks/TestStream.cs @@ -1,6 +1,6 @@ using System.IO; -namespace SharpCompress.Test +namespace SharpCompress.Test.Mocks { public class TestStream : Stream { diff --git a/tests/SharpCompress.Test/ReaderTests.cs b/tests/SharpCompress.Test/ReaderTests.cs index aa2ec9ce..5b052bec 100644 --- a/tests/SharpCompress.Test/ReaderTests.cs +++ b/tests/SharpCompress.Test/ReaderTests.cs @@ -3,6 +3,7 @@ using System.IO; using SharpCompress.Common; using SharpCompress.IO; using SharpCompress.Readers; +using SharpCompress.Test.Mocks; using Xunit; namespace SharpCompress.Test diff --git a/tests/SharpCompress.Test/Tar/TarReaderTests.cs b/tests/SharpCompress.Test/Tar/TarReaderTests.cs index 602467a3..acd73eec 100644 --- a/tests/SharpCompress.Test/Tar/TarReaderTests.cs +++ b/tests/SharpCompress.Test/Tar/TarReaderTests.cs @@ -3,6 +3,7 @@ using System.IO; using SharpCompress.Common; using SharpCompress.Readers; using SharpCompress.Readers.Tar; +using SharpCompress.Test.Mocks; using Xunit; namespace SharpCompress.Test.Tar diff --git a/tests/SharpCompress.Test/Zip/ZipReaderTests.cs b/tests/SharpCompress.Test/Zip/ZipReaderTests.cs index aa7c6aeb..2da74330 100644 --- a/tests/SharpCompress.Test/Zip/ZipReaderTests.cs +++ b/tests/SharpCompress.Test/Zip/ZipReaderTests.cs @@ -4,6 +4,7 @@ using SharpCompress.Common; using SharpCompress.IO; using SharpCompress.Readers; using SharpCompress.Readers.Zip; +using SharpCompress.Test.Mocks; using SharpCompress.Writers; using Xunit;