From c926808878d4e6f5ab03f5db41aba0af105278b0 Mon Sep 17 00:00:00 2001 From: GlenCFL Date: Wed, 26 Sep 2018 23:40:34 -0400 Subject: [PATCH] Remove the now irrelevant static data test. --- Filtration.Tests/Filtration.Tests.csproj | 227 +++++++++--------- .../Services/TestStaticDataService.cs | 44 ---- 2 files changed, 113 insertions(+), 158 deletions(-) delete mode 100644 Filtration.Tests/Services/TestStaticDataService.cs diff --git a/Filtration.Tests/Filtration.Tests.csproj b/Filtration.Tests/Filtration.Tests.csproj index d623069..3eaad95 100644 --- a/Filtration.Tests/Filtration.Tests.csproj +++ b/Filtration.Tests/Filtration.Tests.csproj @@ -1,121 +1,120 @@ - - - - - Debug - AnyCPU - {E0693972-72C5-4E05-A9C5-A5943E4015C6} - Library - Properties - Filtration.Tests - Filtration.Tests - v4.6.1 - 512 - - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - ..\packages\Castle.Core.3.3.3\lib\net45\Castle.Core.dll - True - - - ..\packages\FluentAssertions.4.19.2\lib\net45\FluentAssertions.dll - - - ..\packages\FluentAssertions.4.19.2\lib\net45\FluentAssertions.Core.dll - - - ..\packages\Moq.4.5.30\lib\net45\Moq.dll - - - ..\packages\NUnit.3.6.1\lib\net45\nunit.framework.dll - - - - - - - - - - - - - - True - True - Resources.resx - - - - - - - - - - - - - - - - - - - - {8cb44f28-2956-4c2a-9314-72727262edd4} - Filtration.Common - - - {0f333344-7695-47b2-b0e6-172e4de74819} - Filtration.Interface - - - {4aac3beb-1dc1-483e-9d11-0e9334e80227} - Filtration.ObjectModel - - - {46383F20-02DF-48B4-B092-9088FA4ACD5A} - Filtration.Parser.Interface - - - {55e0a34c-e039-43d7-a024-a4045401cdda} - Filtration - - - - - ResXFileCodeGenerator - Resources.Designer.cs - - - - - - + + + + + Debug + AnyCPU + {E0693972-72C5-4E05-A9C5-A5943E4015C6} + Library + Properties + Filtration.Tests + Filtration.Tests + v4.6.1 + 512 + + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\packages\Castle.Core.3.3.3\lib\net45\Castle.Core.dll + True + + + ..\packages\FluentAssertions.4.19.2\lib\net45\FluentAssertions.dll + + + ..\packages\FluentAssertions.4.19.2\lib\net45\FluentAssertions.Core.dll + + + ..\packages\Moq.4.5.30\lib\net45\Moq.dll + + + ..\packages\NUnit.3.6.1\lib\net45\nunit.framework.dll + + + + + + + + + + + + + + True + True + Resources.resx + + + + + + + + + + + + + + + + + + + {8cb44f28-2956-4c2a-9314-72727262edd4} + Filtration.Common + + + {0f333344-7695-47b2-b0e6-172e4de74819} + Filtration.Interface + + + {4aac3beb-1dc1-483e-9d11-0e9334e80227} + Filtration.ObjectModel + + + {46383F20-02DF-48B4-B092-9088FA4ACD5A} + Filtration.Parser.Interface + + + {55e0a34c-e039-43d7-a024-a4045401cdda} + Filtration + + + + + ResXFileCodeGenerator + Resources.Designer.cs + + + + + + + --> \ No newline at end of file diff --git a/Filtration.Tests/Services/TestStaticDataService.cs b/Filtration.Tests/Services/TestStaticDataService.cs deleted file mode 100644 index e1ddb3f..0000000 --- a/Filtration.Tests/Services/TestStaticDataService.cs +++ /dev/null @@ -1,44 +0,0 @@ -using Filtration.Common.Services; -using Filtration.Services; -using Moq; -using NUnit.Framework; - -namespace Filtration.Tests.Services -{ - [TestFixture] - public class TestStaticDataService - { - [Test] - public void Constructor_CallsFileSystemService() - { - // Arrange - - var mockFileSystemService = new Mock(); - mockFileSystemService.Setup(f => f.ReadFileAsString(It.IsAny())).Returns("TestResult").Verifiable(); - - var service = new StaticDataService(mockFileSystemService.Object); - - // Act - - // Assert - mockFileSystemService.Verify(); - } - - [Ignore("Integration Test")] - [Test] - public void Constructor_ReadsFromFileCorrectly() - { - // Arrange - - var fileSystemService = new FileSystemService(); - - var service = new StaticDataService(fileSystemService); - - // Act - - // Assert - - } - - } -}