Added unittest for Xcode group support.
This commit is contained in:
parent
79d1c6f429
commit
382778c317
@ -44,7 +44,10 @@
|
||||
return prj
|
||||
end
|
||||
|
||||
|
||||
function m.createGroup(wks)
|
||||
local prj = group ("MyGroup" .. (#wks.groups + 1))
|
||||
return prj
|
||||
end
|
||||
|
||||
|
||||
function m.getWorkspace(wks)
|
||||
|
@ -75,6 +75,28 @@
|
||||
]]
|
||||
end
|
||||
|
||||
function suite.onMultipleProjectsGrouped()
|
||||
test.createGroup(wks)
|
||||
test.createproject(wks)
|
||||
prepare()
|
||||
test.capture [[
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Workspace
|
||||
version = "1.0">
|
||||
<FileRef
|
||||
location = "group:MyProject.xcodeproj">
|
||||
</FileRef>
|
||||
<Group
|
||||
location = "container:"
|
||||
name = "MyGroup1">
|
||||
<FileRef
|
||||
location = "group:MyProject2.xcodeproj">
|
||||
</FileRef>
|
||||
</Group>
|
||||
</Workspace>
|
||||
]]
|
||||
end
|
||||
|
||||
|
||||
|
||||
--
|
||||
|
Reference in New Issue
Block a user