From 8002e34eca734281b9e7a8e6b59ce03b3e8a94a1 Mon Sep 17 00:00:00 2001 From: Christian Resma Helle Date: Thu, 24 Apr 2014 10:02:35 +0200 Subject: [PATCH] Tests --- .../VSPackage_IntegrationTests.csproj | 1 + .../VisualStudioVersionHelperTests.cs | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 RESW File Code Generator/VSPackage/VSPackage_IntegrationTests/VisualStudioVersionHelperTests.cs diff --git a/RESW File Code Generator/VSPackage/VSPackage_IntegrationTests/VSPackage_IntegrationTests.csproj b/RESW File Code Generator/VSPackage/VSPackage_IntegrationTests/VSPackage_IntegrationTests.csproj index 10d11f1..8988624 100644 --- a/RESW File Code Generator/VSPackage/VSPackage_IntegrationTests/VSPackage_IntegrationTests.csproj +++ b/RESW File Code Generator/VSPackage/VSPackage_IntegrationTests/VSPackage_IntegrationTests.csproj @@ -66,6 +66,7 @@ + diff --git a/RESW File Code Generator/VSPackage/VSPackage_IntegrationTests/VisualStudioVersionHelperTests.cs b/RESW File Code Generator/VSPackage/VSPackage_IntegrationTests/VisualStudioVersionHelperTests.cs new file mode 100644 index 0000000..1bde5f9 --- /dev/null +++ b/RESW File Code Generator/VSPackage/VSPackage_IntegrationTests/VisualStudioVersionHelperTests.cs @@ -0,0 +1,16 @@ +using ChristianHelle.DeveloperTools.CodeGenerators.Resw.VSPackage.CustomTool; +using Microsoft.VisualStudio.TestTools.UnitTesting; + +namespace VSPackage_IntegrationTests +{ + [TestClass] + public class VisualStudioHelperTests + { + [TestMethod] + public void GetVersionTests() + { + var actual = VisualStudioHelper.GetVersion(); + Assert.AreNotEqual(VisualStudioVersion.Unknown, actual); + } + } +}