def testAddGroupToParent(self):
        project = XcodeProject(self.obj)
        group = project.add_group("my_group", parent=project.objects['1'])

        self.assertTrue(project.objects['1'].has_child(group))
Exemple #2
0
    def testAddGroupToParent(self):
        project = XcodeProject(self.obj)
        group = project.add_group("my_group", parent=project.objects['1'])

        self.assertTrue(project.objects['1'].has_child(group))
Exemple #3
0
    def testAddGroupNoParent(self):
        project = XcodeProject(self.obj)
        group = project.add_group('my_group')

        self.assertTrue(project.objects['root'].has_child(group))