diff options
author | Oliver Schneider <oliver@assarbad.net> | 2015-11-15 01:16:01 +0300 |
---|---|---|
committer | Oliver Schneider <oliver@assarbad.net> | 2015-11-15 01:16:01 +0300 |
commit | 6ab9f77800027dfa2aae8ba4094b60f0255254bb (patch) | |
tree | f9e4d1023760796fa4d6dced51b3c13e3888fa17 /tests | |
parent | c04a1a0f6c98c119febb3e1ac479dfe38dcaa279 (diff) |
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
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/actions/vstudio/sln2005/header.lua | 17 | ||||
-rw-r--r-- | tests/actions/vstudio/vc2010/test_config_props.lua | 13 |
2 files changed, 30 insertions, 0 deletions
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 @@ </PropertyGroup> ]] end + + function suite.structureIsCorrect_onDefaultValues_on2015() + _ACTION = "vs2015" + prepare() + test.capture [[ + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <UseDebugLibraries>true</UseDebugLibraries> + <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v140</PlatformToolset> + </PropertyGroup> + ]] + end |