コード例 #1
0
ファイル: test_ProjectLayout.py プロジェクト: niccroad/Archie
 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))
コード例 #2
0
ファイル: test_ProjectLayout.py プロジェクト: niccroad/Archie
 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))
コード例 #3
0
ファイル: test_ProjectLayout.py プロジェクト: niccroad/Archie
 def test_get_include_path_for_tier(self):
     project = ProjectLayout()
     project.setBaseIncludeFolder('Build/include')
     self.assertEqual('Build/include/T1', project.getIncludeFolder(1))