use of com.enonic.xp.core.impl.content.ParentContentSynchronizer in project xp by enonic.
the class ProjectEventListenerTest method setUpNode.
@BeforeEach
protected void setUpNode() throws Exception {
super.setUpNode();
final ParentContentSynchronizer synchronizer = new ParentContentSynchronizer(contentService, mediaInfoService);
listener = new ProjectEventListener(this.projectService, this.taskService, synchronizer);
eventCaptor = ArgumentCaptor.forClass(Event.class);
handledEvents = Sets.newHashSet();
}
use of com.enonic.xp.core.impl.content.ParentContentSynchronizer in project xp by enonic.
the class ParentContentSynchronizerTest method setUpNode.
@BeforeEach
protected void setUpNode() throws Exception {
super.setUpNode();
synchronizer = new ParentContentSynchronizer(this.contentService, this.mediaInfoService);
syncContentService = new SyncContentServiceImpl(contentTypeService, nodeService, eventPublisher, pageDescriptorService, partDescriptorService, layoutDescriptorService, projectService, contentService, synchronizer);
}
use of com.enonic.xp.core.impl.content.ParentContentSynchronizer in project xp by enonic.
the class SyncContentServiceImplTest method setUpNode.
@BeforeEach
public void setUpNode() throws Exception {
super.setUpNode();
synchronizer = new ParentContentSynchronizer(contentService, mediaInfoService);
syncContentService = new SyncContentServiceImpl(contentTypeService, nodeService, eventPublisher, pageDescriptorService, partDescriptorService, layoutDescriptorService, projectService, contentService, synchronizer);
}
use of com.enonic.xp.core.impl.content.ParentContentSynchronizer in project xp by enonic.
the class ProjectContentEventListenerTest method setUpNode.
@BeforeEach
protected void setUpNode() throws Exception {
super.setUpNode();
final ParentContentSynchronizer synchronizer = new ParentContentSynchronizer(contentService, mediaInfoService);
listener = new ProjectContentEventListener(this.projectService, synchronizer);
eventCaptor = ArgumentCaptor.forClass(Event.class);
handledEvents = Sets.newHashSet();
}
Aggregations