-- -- tests/actions/vstudio/vc2010/test_globals.lua -- Validate generation of the Globals property group. -- Copyright (c) 2011-2012 Jason Perkins and the Premake project -- T.vstudio_vs2010_globals = { } local suite = T.vstudio_vs2010_globals local vc2010 = premake.vstudio.vc2010 -- -- Setup -- local sln, prj function suite.setup() sln = test.createsolution() uuid "AE61726D-187C-E440-BD07-2556188A6565" end local function prepare() prj = premake.solution.getproject_ng(sln, 1) vc2010.globals(prj) end -- -- Check the structure with the default project values. -- function suite.structureIsCorrect_onDefaultValues() prepare() test.capture [[ {AE61726D-187C-E440-BD07-2556188A6565} Win32Proj MyProject ]] end -- -- Ensure CLR support gets enabled for Managed C++ projects. -- function suite.keywordIsCorrect_onManagedC() flags { "Managed" } prepare() test.capture [[ {AE61726D-187C-E440-BD07-2556188A6565} v4.0 ManagedCProj MyProject ]] end