Example #1
0
 def test_get_include_path_for_renamed_tier(self):
     project = ProjectLayout()
     project.setBaseIncludeFolder('Build/include')
     project.setTierFolder(2, 'BusinessRules')
     self.assertEqual('Build/include/BusinessRules',
                      project.getIncludeFolder(2))
Example #2
0
 def test_get_include_folder_correct_when_multiple_tiers_requested(self):
     project = ProjectLayout()
     project.setBaseIncludeFolder('Build/include')
     self.assertEqual('Build/include/T1', project.getIncludeFolder(1))
     self.assertEqual('Build/include/T4', project.getIncludeFolder(4))
Example #3
0
 def test_get_include_path_for_tier(self):
     project = ProjectLayout()
     project.setBaseIncludeFolder('Build/include')
     self.assertEqual('Build/include/T1', project.getIncludeFolder(1))