From 6ab9f77800027dfa2aae8ba4094b60f0255254bb Mon Sep 17 00:00:00 2001 From: Oliver Schneider Date: Sat, 14 Nov 2015 22:16:01 +0000 Subject: Adding support for Visual Studio 2015 projects and solutions. Does not add the VisualStudioVersion and MinimumVisualStudioVersion in solution files, but VS2015 opens those fine regardless and picks them up first even when VS2010, 2012 and 2013 are installed as well. Added corresponding tests and verified that all is as expected. --HG-- branch : vs2015_support --- tests/actions/vstudio/sln2005/header.lua | 17 +++++++++++++++++ tests/actions/vstudio/vc2010/test_config_props.lua | 13 +++++++++++++ 2 files changed, 30 insertions(+) (limited to 'tests') diff --git a/tests/actions/vstudio/sln2005/header.lua b/tests/actions/vstudio/sln2005/header.lua index 71e32f5..a959677 100755 --- a/tests/actions/vstudio/sln2005/header.lua +++ b/tests/actions/vstudio/sln2005/header.lua @@ -77,3 +77,20 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 2013 ]] end + + function suite.On2015() + _ACTION = "vs2015" + prepare() + test.capture [[ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2015 + ]] +--[[ +VS2015 seems to add: + +VisualStudioVersion = 14.0.23107.0 +MinimumVisualStudioVersion = 10.0.40219.1 + +which don't seem to be mandatory, though. +]] + end diff --git a/tests/actions/vstudio/vc2010/test_config_props.lua b/tests/actions/vstudio/vc2010/test_config_props.lua index 50d78ae..2970ad4 100644 --- a/tests/actions/vstudio/vc2010/test_config_props.lua +++ b/tests/actions/vstudio/vc2010/test_config_props.lua @@ -76,3 +76,16 @@ ]] end + + function suite.structureIsCorrect_onDefaultValues_on2015() + _ACTION = "vs2015" + prepare() + test.capture [[ + + Application + true + MultiByte + v140 + + ]] + end -- cgit v1.2.3