diff options
author | liamDevine <none@none> | 2011-04-30 03:57:49 +0400 |
---|---|---|
committer | liamDevine <none@none> | 2011-04-30 03:57:49 +0400 |
commit | f740fc5e207c12d4012760446952beb3bf9ad1d2 (patch) | |
tree | cd0db4d0f6c4dd4b91887954454778cff3f6f23e /tests | |
parent | 6916362bc9fa8bc5dc3bfb9e99ce214ffe9c3d41 (diff) |
ignore entry point in Manged C++
Diffstat (limited to 'tests')
-rw-r--r-- | tests/actions/vstudio/test_vs2010_flags.lua | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/tests/actions/vstudio/test_vs2010_flags.lua b/tests/actions/vstudio/test_vs2010_flags.lua index 9c5dbd3..715dc27 100644 --- a/tests/actions/vstudio/test_vs2010_flags.lua +++ b/tests/actions/vstudio/test_vs2010_flags.lua @@ -320,9 +320,9 @@ end function vs10_managedFlag.globals_bufferContainsKeywordManagedCProj()
local sln, prj = vs10_managedFlag_setOnProject()
- --HACK ALERT
- --For some reason the flags are not set on a proj when testing (yet they are recorded in prj.blocks)
- --whilst in normal run mode, flags are set on the project ?
+ --HACK ALERT
+ --For some reason the flags are not set on a proj when testing (yet they are recorded in prj.blocks)
+ --whilst in normal run mode, flags are set on the project ?
prj.flags = {["Managed"]=1}
local buffer = get_managed_buffer(sln,prj)
test.string_contains(buffer,'<PropertyGroup Label="Globals">.*<Keyword>ManagedCProj</Keyword>.*</PropertyGroup>')
@@ -372,3 +372,8 @@ function vs10_managedFlag.noOptimisationFlag_basicRuntimeChecksNotFoundInBuffer( test.string_does_not_contain(buffer,'<BasicRuntimeChecks>.*</BasicRuntimeChecks>')
end
+function vs10_managedFlag.applictionWithOutWinMain_EntryPointSymbolNotFoundInBuffer()
+ local sln, prj = vs10_managedFlag_setOnProject()
+ local buffer = get_managed_buffer(sln,prj)
+ test.string_does_not_contain(buffer,'<EntryPointSymbol>.*</EntryPointSymbol>')
+end
|