use of org.apache.sling.ide.test.impl.helpers.SpyRepository in project sling by apache.
the class ResourceChangeCommandFactoryTest method setUp.
@Before
public void setUp() throws Exception {
// create faceted project
contentProject = projectRule.getProject();
project = new ProjectAdapter(contentProject);
project.addNatures("org.eclipse.wst.common.project.facet.core.nature");
// install content facet
project.installFacet("sling.content", "1.0");
// create filter.xml
project.createVltFilterWithRoots("/content");
Set<String> ignoredFileNames = new HashSet<>();
ignoredFileNames.add(".gitignore");
factory = new ResourceChangeCommandFactory(Activator.getDefault().getSerializationManager(), ignoredFileNames);
spyRepo = new SpyRepository();
}
Aggregations