@Transactional @IntegrationTest public class DefaultPrintCollaborationFacadeTest extends AbstractPrintJobServicelayerTest
defaultLanguage, jaloSession| Constructor and Description |
|---|
DefaultPrintCollaborationFacadeTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testAssignJob()
Did all actions get the assigned user
|
void |
testCreateComment()
Create a comment and check if a comment group has been assigned
|
void |
testCreateJob()
Was the prinicple assigned to the workflow? Were the attatchments assigned to the workflow actions? Was the prinicple
assigned to the workflow actions? Has the workflow been created?
|
void |
testCreateJobWithNullComment() |
void |
testCreateJobWithUnassignableGroup()
Should fail on groups which have no read permission on WorkflowAction types.
|
void |
testCreateReply() |
void |
testCreateReplyWithStateChange() |
void |
testDeleteComment() |
void |
testDeleteCommentReceivedByDtp()
Comment may not be deleted, if it was received by DTP at least once
|
void |
testFilterAndSortCommentsWoFilter()
Sort and filter without SortCondition
|
void |
testFilterByCommentGroup()
Filter comment list by type COMMENTGROUP
|
void |
testFilterByStatusOkay()
Filter comment list by STATUS
|
void |
testFilterByStatusQuestion()
Filter comment list by STATUS
|
void |
testFilterByStatusToDo()
Filter comment list by STATUS
|
void |
testFilterByTypeComment()
Filter comment list by TYPE COMMENT
|
void |
testFilterByTypeJob()
Filter comment list by TYPE JOB
|
void |
testFilterByTypePageComment()
Filter comment list by TYPE PAGE_COMMENT
|
void |
testFilterByTypePageJob()
Filter comment list by TYPE PAGE_JOB
|
void |
testGetCurrentAction()
Do we have a current action assigned to the created workflow.
|
void |
testGetJobHistory()
Do we get all WorkflowActionCommentModels which were created?
|
void |
testGetJobHistoryWithNull() |
void |
testGetJobHistoryWithoutWorkflow()
We should get a empty list if no workflow has been set
|
void |
testIsDeleteCommentAllowed()
Test, if a comment may be deleted
|
void |
testSortByCreationTimeASC()
Sort comment list by CREATIONTIME
|
void |
testSortByCreationTimeDESC()
Sort comment list by CREATIONTIME
|
void |
testSortByOnPage()
Sort comment list by ONPAGE
|
getCommentGroup, getCommentModel, getCommentModelList, getCommentModelWithJob, getCommentModelWithPage, getCommentModelWithPageJob, getCommentType, getComponent, getDomain, getDummyAttachment, getOrCreateItem, getPrintCollaborationFacade, getUserModel, initCommentModels, setCommentModel, setCommentModelWithJob, setCommentModelWithPage, setCommentModelWithPageJobcreateAutomatedWorkflowActionTemplateModel, createChapter, createCometConfiguration, createLayoutTemplate, createPageFormat, createPrintJobWorkflowTemplate, createPublication, createUser, createWorkflowActionTemplateModel, createWorkflowActionTemplateModelLinkTemplateRelation, createWorkflowDecisionTemplate, createWorkflowTemplate, createWorkflowTemplate, getCatalogService, getConfigurationService, getDecision, getFlexibleSearchService, getModelService, getPrintJobWorkflowName, getUserService, prepareComment, prepareCommentWithMetadata, prepareGrid, preparePagecreateCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionfinish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivatedpublic void setUp()
throws Exception
setUp in class AbstractPrintJobServicelayerTestExceptionpublic void testFilterByTypeComment()
public void testFilterByTypeJob()
public void testFilterByTypePageComment()
public void testFilterByTypePageJob()
public void testFilterByCommentGroup()
public void testFilterByStatusToDo()
public void testFilterByStatusQuestion()
public void testFilterByStatusOkay()
public void testSortByCreationTimeASC()
public void testSortByCreationTimeDESC()
public void testSortByOnPage()
public void testFilterAndSortCommentsWoFilter()
public void testAssignJob()
public void testCreateJobWithNullComment()
public void testCreateComment()
public void testCreateJob()
public void testCreateJobWithUnassignableGroup()
public void testCreateReply()
public void testCreateReplyWithStateChange()
public void testDeleteComment()
public void testDeleteCommentReceivedByDtp()
throws BusinessException
BusinessExceptionpublic void testIsDeleteCommentAllowed()
public void testGetCurrentAction()
public void testGetJobHistoryWithNull()
public void testGetJobHistory()
public void testGetJobHistoryWithoutWorkflow()
Copyright © 2017 SAP SE. All Rights Reserved.