示例#1
0
 def test_multiple_source_folders_can_be_added(self):
     project = ProjectLayout()
     project.addSourceFolder('Source/Feature1')
     project.addSourceFolder('Source/Feature2')
     project.addSourceFolder('Source/Feature3')
     self.assertListEqual(
         ['Source/Feature1', 'Source/Feature2', 'Source/Feature3'],
         project.getSourceFolders())
示例#2
0
 def test_a_source_folder_can_be_added(self):
     project = ProjectLayout()
     project.addSourceFolder('Source/Feature1')
     self.assertListEqual(['Source/Feature1'], project.getSourceFolders())