Beispiel #1
0
 def test_dots_in_extensions_are_escaped(self):
     project = ProjectLayout()
     project.addHeaderPattern('*.i')
     self.assertFalse(project.isIncludeFile('Source/Module1/Fileai'))
Beispiel #2
0
 def test_another_extension_can_be_added_to_includes(self):
     project = ProjectLayout()
     project.addHeaderPattern('*.i')
     self.assertTrue(project.isIncludeFile('Source/Module1/File.i'))