mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
41641: Merged from THOR1_SPRINTS to HEAD_QUICK_SHARE_TMP 36472: Merged DEV/THOR1_QUICK_SHARE to DEV/THOR1_SPRINTS Improvements for THOR-1270 "F387: As the link receiver, I can view the Document Preview in the browser without having to login" - Added new component evaluator for bringing in different components based on page id - The title of the quickshare page now contains the document's name (to improve the social "Share with:" experience) - Added new icon for page not found screen 36601: Merge from THOR1_QUICK_SHARE to THOR1_SPRINTS 36599: Improvements for THOR-1270 "F387: As the link receiver, I can view the Document Preview in the browser without having to login" - Made the "Preparing previewer... text get rendered using javascript so Google+ won't include it in its description when sharing quickshare links 36735: THOR-1430: QuickShare link breaks after uploading a new version of a shared file 41656: Merged from CLOUD1 to HEAD_QUICK_SHARE_TMP 37200: Fix issue from "V4.0-BUG-FIX to CLOUD1 merge" r37178 - Removed trailing === of property "system.quickshare.enabled" 37226: Fix issue from "V4.0-BUG-FIX to CLOUD1 merge" r37178 part 3 - When "date-format.defaultFTL" was removed from common.properties freemarker code in node-header that depended upon it got an exception, code is now refactored to use client side date handling instead. 41659: Merged CLOUD1 to HEAD_QUICK_SHARE_TMP 39206 Fixed CLOUD-198 "WASA - XSS issue with quickshare" 41661: Merge from CLOUD1-BUG-FIX to HEAD_QUICK_SHARE_TMP 41680: Merged BRANCHES/DEV/V4.1-BUG-FIX to BRANCHES/DEV/HEAD_QUICK_SHARE_TMP: 41679: Minor: fix for non-MT (required for QuickShare Unshare when running non-MT) 41681: Fix pesky solrcore.properties 41715: QuickShare: fix test and add to suite git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@41738 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
107 lines
5.1 KiB
Java
107 lines
5.1 KiB
Java
/*
|
|
* Copyright (C) 2005-2012 Alfresco Software Limited.
|
|
*
|
|
* This file is part of Alfresco
|
|
*
|
|
* Alfresco is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU Lesser General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* Alfresco is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
package org.alfresco.repo.web.scripts;
|
|
|
|
import junit.framework.Test;
|
|
import junit.framework.TestSuite;
|
|
|
|
import org.alfresco.repo.web.scripts.action.RunningActionRestApiTest;
|
|
import org.alfresco.repo.web.scripts.activities.feed.control.FeedControlTest;
|
|
import org.alfresco.repo.web.scripts.admin.AdminWebScriptTest;
|
|
import org.alfresco.repo.web.scripts.audit.AuditWebScriptTest;
|
|
import org.alfresco.repo.web.scripts.blogs.BlogServiceTest;
|
|
import org.alfresco.repo.web.scripts.dictionary.DictionaryRestApiTest;
|
|
import org.alfresco.repo.web.scripts.discussion.DiscussionRestApiTest;
|
|
import org.alfresco.repo.web.scripts.forms.FormRestApiGet_Test;
|
|
import org.alfresco.repo.web.scripts.forms.FormRestApiJsonPost_Test;
|
|
import org.alfresco.repo.web.scripts.groups.GroupsTest;
|
|
import org.alfresco.repo.web.scripts.invitation.InvitationWebScriptTest;
|
|
import org.alfresco.repo.web.scripts.invite.InviteServiceTest;
|
|
import org.alfresco.repo.web.scripts.person.PersonServiceTest;
|
|
import org.alfresco.repo.web.scripts.preference.PreferenceServiceTest;
|
|
import org.alfresco.repo.web.scripts.quickshare.QuickShareRestApiTest;
|
|
import org.alfresco.repo.web.scripts.rating.RatingRestApiTest;
|
|
import org.alfresco.repo.web.scripts.replication.ReplicationRestApiTest;
|
|
import org.alfresco.repo.web.scripts.rule.RuleServiceTest;
|
|
import org.alfresco.repo.web.scripts.search.PersonSearchTest;
|
|
import org.alfresco.repo.web.scripts.site.SiteServiceTest;
|
|
import org.alfresco.repo.web.scripts.tagging.TaggingServiceTest;
|
|
import org.alfresco.repo.web.scripts.thumbnail.ThumbnailServiceTest;
|
|
import org.alfresco.repo.web.scripts.transfer.TransferWebScriptTest;
|
|
import org.alfresco.repo.web.scripts.wcm.WebProjectTest;
|
|
import org.alfresco.repo.web.scripts.wcm.membership.WebProjectMembershipTest;
|
|
import org.alfresco.repo.web.scripts.wcm.sandbox.SandboxTest;
|
|
import org.alfresco.repo.web.scripts.workflow.ActivitiWorkflowRestApiTest;
|
|
import org.alfresco.repo.web.scripts.workflow.JBPMWorkflowRestApiTest;
|
|
import org.alfresco.repo.web.scripts.workflow.WorkflowModelBuilderTest;
|
|
|
|
/**
|
|
* Web Scripts test suite
|
|
*/
|
|
public class WebScriptTestSuite extends TestSuite
|
|
{
|
|
public static Test suite()
|
|
{
|
|
TestSuite suite = new TestSuite();
|
|
|
|
// Ensure that a suitable context is available
|
|
TestWebScriptRepoServer.getTestServer();
|
|
|
|
// Add the tests
|
|
suite.addTestSuite( QuickShareRestApiTest.class );
|
|
suite.addTestSuite( AdminWebScriptTest.class );
|
|
suite.addTestSuite( AuditWebScriptTest.class );
|
|
suite.addTestSuite( BlogServiceTest.class );
|
|
suite.addTestSuite( DictionaryRestApiTest.class );
|
|
suite.addTestSuite( DiscussionRestApiTest.class );
|
|
suite.addTestSuite( FeedControlTest.class );
|
|
suite.addTestSuite( FormRestApiGet_Test.class );
|
|
suite.addTestSuite( FormRestApiJsonPost_Test.class );
|
|
suite.addTestSuite( GroupsTest.class );
|
|
suite.addTestSuite( InvitationWebScriptTest.class );
|
|
suite.addTestSuite( InviteServiceTest.class );
|
|
suite.addTestSuite( LoginTest.class );
|
|
suite.addTestSuite( PersonSearchTest.class );
|
|
suite.addTestSuite( PersonServiceTest.class );
|
|
suite.addTestSuite( PreferenceServiceTest.class );
|
|
suite.addTestSuite( RatingRestApiTest.class );
|
|
suite.addTestSuite( ReplicationRestApiTest.class );
|
|
suite.addTestSuite( RepositoryContainerTest.class );
|
|
suite.addTestSuite( RuleServiceTest.class );
|
|
suite.addTestSuite( RunningActionRestApiTest.class );
|
|
suite.addTestSuite( SandboxTest.class );
|
|
suite.addTestSuite( SiteServiceTest.class );
|
|
suite.addTestSuite( TaggingServiceTest.class );
|
|
suite.addTestSuite( ThumbnailServiceTest.class );
|
|
suite.addTestSuite( TransferWebScriptTest.class );
|
|
suite.addTestSuite( WebProjectMembershipTest.class );
|
|
suite.addTestSuite( WebProjectTest.class );
|
|
suite.addTestSuite( WorkflowModelBuilderTest.class );
|
|
suite.addTestSuite( ActivitiWorkflowRestApiTest.class );
|
|
suite.addTestSuite( JBPMWorkflowRestApiTest.class );
|
|
|
|
// This uses a slightly different context
|
|
// As such, we can't run it in the same suite as the others,
|
|
// due to finalisers closing caches when we're not looking
|
|
//suite.addTestSuite( AssetTest.class );
|
|
|
|
return suite;
|
|
}
|
|
}
|