From 2d36609e8ab587519f30e7adfeae85801815a154 Mon Sep 17 00:00:00 2001 From: Oliver Schneider Date: Sun, 23 Jan 2022 01:21:28 +0100 Subject: Arranging for VS2022 support --HG-- branch : WDS-build --- 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 240889d..61aae75 100755 --- a/tests/actions/vstudio/sln2005/header.lua +++ b/tests/actions/vstudio/sln2005/header.lua @@ -133,6 +133,23 @@ VS 2019 seems to add something like: VisualStudioVersion = 16.0.29411.108 MinimumVisualStudioVersion = 10.0.40219.1 +which don't seem to be mandatory, though. +]] + end + + function suite.On2022() + _ACTION = "vs2022" + prepare() + test.capture [[ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 17 + ]] +--[[ +VS 2022 seems to add something like: + +VisualStudioVersion = 17.0.0.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 b1b19ff..a5b05e1 100644 --- a/tests/actions/vstudio/vc2010/test_config_props.lua +++ b/tests/actions/vstudio/vc2010/test_config_props.lua @@ -115,3 +115,16 @@ ]] end + + function suite.structureIsCorrect_onDefaultValues_on2022() + _ACTION = "vs2022" + prepare() + test.capture [[ + + Application + true + MultiByte + v143 + + ]] + end -- cgit v1.2.3