Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (5.0/Cloud)

76562: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
      76043: MNT-10977: Workflow process retrieval returns incorrect hasMoreItems value
      The fix for build failure: https://bamboo.alfresco.com/bamboo/browse/ALF-ENTERPRISEV42BUGFIX-JOB1-446/log


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@77629 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Mark Rogers
2014-07-22 15:30:17 +00:00
parent fe8594a249
commit 615d5bf409

View File

@@ -27,6 +27,8 @@ import java.util.Map;
import javax.transaction.Status; import javax.transaction.Status;
import javax.transaction.UserTransaction; import javax.transaction.UserTransaction;
import junit.framework.TestCase;
import org.alfresco.repo.security.authentication.AuthenticationUtil; import org.alfresco.repo.security.authentication.AuthenticationUtil;
import org.alfresco.repo.workflow.WorkflowModel; import org.alfresco.repo.workflow.WorkflowModel;
import org.alfresco.rest.framework.resource.parameters.CollectionWithPagingInfo; import org.alfresco.rest.framework.resource.parameters.CollectionWithPagingInfo;
@@ -46,16 +48,16 @@ import org.alfresco.service.cmr.workflow.WorkflowService;
import org.alfresco.service.namespace.QName; import org.alfresco.service.namespace.QName;
import org.alfresco.util.ApplicationContextHelper; import org.alfresco.util.ApplicationContextHelper;
import org.junit.After; import org.junit.After;
import org.junit.Assert;
import org.junit.Before; import org.junit.Before;
import org.junit.Test; import org.junit.Test;
import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContext;
/** /**
* Test for {@link ProcessesImpl} class
* *
* @author Dmitry Velichkevich * @author Dmitry Velichkevich
*/ */
public class ProcessesImplTest extends Assert public class ProcessesImplTest extends TestCase
{ {
private static final int ACTIVE_WORKFLOWS_INITIAL_AMOUNT = 25; private static final int ACTIVE_WORKFLOWS_INITIAL_AMOUNT = 25;