Created separate VSPackage classes for VS2012 and VS2013

This commit is contained in:
Christian Resma Helle
2013-08-14 22:22:32 +02:00
parent 1b8d6f04e9
commit 2f134acc5e
11 changed files with 174 additions and 27 deletions
@@ -10,16 +10,16 @@ namespace ChristianHelle.DeveloperTools.CodeGenerators.Resw.CustomTool.Tests
public class CSharpCodeGeneratorTests
{
private string reswFileContents;
private const string FilePath = "Resources.resw";
private const string FILE_PATH = "Resources.resw";
private string actual;
private ICodeGenerator target;
[TestInitialize]
public void Initialize()
{
reswFileContents = File.ReadAllText(FilePath);
reswFileContents = File.ReadAllText(FILE_PATH);
target = new CodeGeneratorFactory().Create(FilePath.Replace(".resw", string.Empty), "TestApp", reswFileContents);
target = new CodeGeneratorFactory().Create(FILE_PATH.Replace(".resw", string.Empty), "TestApp", reswFileContents);
actual = target.GenerateCode();
}