예제 #1
0
 def test_get_third_party_include_folder_returns_third_party_folders_in_that_tier(
         self):
     project = ProjectLayout()
     project.addTierForModulesLike('*/CodeLib', 1, 'code/CodeLib')
     self.assertEqual(['code/CodeLib'],
                      project.getThirdPartyIncludeFolders(1))
예제 #2
0
 def test_get_third_party_include_folder_returns_an_empty_list_for_higher_tiers_than_configured(
         self):
     project = ProjectLayout()
     project.addTierForModulesLike('*/CodeLib', 1, 'code/CodeLib')
     self.assertEqual([], project.getThirdPartyIncludeFolders(5))
예제 #3
0
 def test_get_third_party_include_folder_returns_an_empty_list_for_no_folders(
         self):
     project = ProjectLayout()
     project.addTierForModulesLike('*/CodeLib', 4, 'code/CodeLib')
     self.assertEqual([], project.getThirdPartyIncludeFolders(1))