mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Updated the Javadoc on the Publishing Foundation API
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29407 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -48,9 +48,9 @@ import javax.annotation.Resource;
|
||||
import org.alfresco.model.ContentModel;
|
||||
import org.alfresco.repo.content.MimetypeMap;
|
||||
import org.alfresco.service.cmr.publishing.MutablePublishingPackage;
|
||||
import org.alfresco.service.cmr.publishing.PublishingEvent;
|
||||
import org.alfresco.service.cmr.publishing.PublishingPackage;
|
||||
import org.alfresco.service.cmr.publishing.PublishingService;
|
||||
import org.alfresco.service.cmr.publishing.Status;
|
||||
import org.alfresco.service.cmr.publishing.StatusUpdate;
|
||||
import org.alfresco.service.cmr.publishing.channels.Channel;
|
||||
import org.alfresco.service.cmr.publishing.channels.ChannelService;
|
||||
@@ -357,13 +357,13 @@ public class PublishEventActionTest extends AbstractPublishingIntegrationTest
|
||||
NodeRef eventNode = new NodeRef(eventId);
|
||||
assertTrue(nodeService.exists(eventNode));
|
||||
Serializable eventStatus = nodeService.getProperty(eventNode, PublishingModel.PROP_PUBLISHING_EVENT_STATUS);
|
||||
assertEquals(PublishingEvent.Status.SCHEDULED.name(), eventStatus);
|
||||
assertEquals(Status.SCHEDULED.name(), eventStatus);
|
||||
|
||||
action.executeImpl(null, eventNode);
|
||||
|
||||
// Check Status has changed to COMPLETE
|
||||
eventStatus = nodeService.getProperty(eventNode, PublishingModel.PROP_PUBLISHING_EVENT_STATUS);
|
||||
assertEquals(PublishingEvent.Status.COMPLETED.name(), eventStatus);
|
||||
assertEquals(Status.COMPLETED.name(), eventStatus);
|
||||
|
||||
return eventNode;
|
||||
}
|
||||
|
Reference in New Issue
Block a user