premake/modules/xcode/tests/test_header_footer.lua
Jason Perkins af7b674265 Move core modules into main repository; drop submodules
As discussed numerous times, get rid of the submodule approach for core modules and just included the sources directly in the main repository.

I have no idea how this will play with existing working copies. It might be necessary to [manually clear out the existing submodules](http://stackoverflow.com/questions/1260748) first.
2016-11-09 14:29:33 -05:00

49 lines
708 B
Lua

---
-- xcode/tests/test_header.lua
-- Validate generation for Xcode workspaces.
-- Author Jason Perkins
-- Copyright (c) 2009-2015 Jason Perkins and the Premake project
---
local suite = test.declare("xcode_header")
local xcode = premake.modules.xcode
--
-- Setup
--
local wks
function suite.setup()
wks = test.createWorkspace()
end
local function prepare()
prj = test.getproject(wks, 1)
xcode.header(prj)
xcode.footer(prj)
end
--
-- Check basic structure
--
function suite.onDefaults()
prepare()
test.capture [[
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
};
rootObject = 08FB7793FE84155DC02AAC07 /* Project object */;
}
]]
end