Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Perkins <starkos@industriousone.com>2011-08-16 20:22:08 +0400
committerJason Perkins <starkos@industriousone.com>2011-08-16 20:22:08 +0400
commit875c5c586c875f94c337bdfa6693f7bf44c21746 (patch)
treeb681b8829c798d117a152839cd1e12b5e62f19cb /tests/actions/xcode/test_xcode_project.lua
parentb950a1cc5f64b5d3236dc527c33608a60ae9da97 (diff)
Fixed Xcode3 bug with sources in a subdirectory and grouped in virtual path4.4-beta3
Diffstat (limited to 'tests/actions/xcode/test_xcode_project.lua')
-rw-r--r--tests/actions/xcode/test_xcode_project.lua15
1 files changed, 14 insertions, 1 deletions
diff --git a/tests/actions/xcode/test_xcode_project.lua b/tests/actions/xcode/test_xcode_project.lua
index 642e68e..4ab50ba 100644
--- a/tests/actions/xcode/test_xcode_project.lua
+++ b/tests/actions/xcode/test_xcode_project.lua
@@ -156,6 +156,7 @@
]]
end
+
function suite.PBXFileReference_ListsXibCorrectly()
files { "English.lproj/MainMenu.xib", "French.lproj/MainMenu.xib" }
prepare()
@@ -191,7 +192,7 @@
end
- function suite.PBXFileReference_leavesFrameWorkLocationsAsIsWhenSupplied_pathIsSetToInput()
+ function suite.PBXFileReference_leavesFrameworkLocationsAsIsWhenSupplied_pathIsSetToInput()
local inputFrameWork = 'somedir/Foo.framework'
links(inputFrameWork)
prepare()
@@ -252,6 +253,18 @@
end
+ function suite.PBXFileReference_UsesFullPath_WhenParentIsVirtual()
+ files { "src/source.c" }
+ vpaths { ["Source Files"] = "**.c" }
+ prepare()
+ xcode.PBXFileReference(tr)
+ test.capture [[
+/* Begin PBXFileReference section */
+ [source.c] /* source.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = "source.c"; path = "src/source.c"; sourceTree = "<group>"; };
+ ]]
+ end
+
+
---------------------------------------------------------------------------
-- PBXFrameworksBuildPhase tests
---------------------------------------------------------------------------