def test_clear(self): manifest.add(self.config, 'common', '*.cpp') manifest.add(self.config, 'common', '*.h') manifest.add(self.config, 'common', '*.py') manifest.clear(self.config, 'common') common_manifest = self.config.get_platform('common').manifest assert not common_manifest
def test_add(self): manifest.add(self.config, 'common', '*.cpp') manifest.add(self.config, 'common', '*.h') manifest.add(self.config, 'common', '*.py') common_manifest = self.config.get_platform('common').manifest assert ('*.cpp' in common_manifest) and ('*.h' in common_manifest) and ('*.py' in common_manifest) assert len(common_manifest) == 3
def test_add(self): manifest.add(self.config, 'common', '*.cpp') manifest.add(self.config, 'common', '*.h') manifest.add(self.config, 'common', '*.py') common_manifest = self.config.get_platform('common').manifest assert ('*.cpp' in common_manifest) and ( '*.h' in common_manifest) and ('*.py' in common_manifest) assert len(common_manifest) == 3