Search in sources :

Example 1 with ParentContentSynchronizer

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();
}
Also used : ProjectEventListener(com.enonic.xp.core.impl.content.ProjectEventListener) ParentContentSynchronizer(com.enonic.xp.core.impl.content.ParentContentSynchronizer) Event(com.enonic.xp.event.Event) BeforeEach(org.junit.jupiter.api.BeforeEach)

Example 2 with ParentContentSynchronizer

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);
}
Also used : ParentContentSynchronizer(com.enonic.xp.core.impl.content.ParentContentSynchronizer) SyncContentServiceImpl(com.enonic.xp.core.impl.content.SyncContentServiceImpl) BeforeEach(org.junit.jupiter.api.BeforeEach)

Example 3 with ParentContentSynchronizer

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);
}
Also used : ParentContentSynchronizer(com.enonic.xp.core.impl.content.ParentContentSynchronizer) SyncContentServiceImpl(com.enonic.xp.core.impl.content.SyncContentServiceImpl) BeforeEach(org.junit.jupiter.api.BeforeEach)

Example 4 with ParentContentSynchronizer

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();
}
Also used : ParentContentSynchronizer(com.enonic.xp.core.impl.content.ParentContentSynchronizer) ProjectContentEventListener(com.enonic.xp.core.impl.content.ProjectContentEventListener) Event(com.enonic.xp.event.Event) BeforeEach(org.junit.jupiter.api.BeforeEach)

Aggregations

ParentContentSynchronizer (com.enonic.xp.core.impl.content.ParentContentSynchronizer)4 BeforeEach (org.junit.jupiter.api.BeforeEach)4 SyncContentServiceImpl (com.enonic.xp.core.impl.content.SyncContentServiceImpl)2 Event (com.enonic.xp.event.Event)2 ProjectContentEventListener (com.enonic.xp.core.impl.content.ProjectContentEventListener)1 ProjectEventListener (com.enonic.xp.core.impl.content.ProjectEventListener)1