mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
109455: Merged modules/custommodelmanagement/HEAD to DEV. 93923: SHA-300: Added ALFRESCO_MODEL_ADMINISTRATORS group. 95982: SHA-401: Implemented repo service for retrieving Custom Models. (WIP) 95983: SHA-400: Added Private REST API to retrieve custom model(s) - Get All models: http://localhost:8080/alfresco/api/-default-/private/alfresco/versions/1/cmm - Get the model: http://localhost:8080/alfresco/api/-default-/private/alfresco/versions/1/cmm/<model-name> 95984: SHA-401: Fixed the service to return null rather than throwing an exception, when the model does not exist. 96053: SHA-400: Modified the custom model API response to return the "status" as "ACTIVE" or "DRAFT". 96775: SHA-542: Added support to create a custom model. (WIP) 96779: SHA-543: Added Private REST API to create custom model(s). - SHA-539: Cleaned up test data. 96850: SHA-543: Added Author and Description properties to the custom model API. 97410: SHA-407, SHA-555: Added tests for custom model backend service and the related REST API. Also, a minor modification as a result of added tests. 97570: Modified the CMM REST API, per Kevin's request, to return empty arrays for model's types and aspects if they don't exist. 97731: SHA-386: Added support to activate custom models. Also, a minor modification to the backend service and REST API, based on the Alfresco REST API guidelines. 97775: SHA-386: Added tests for custom model activation (backend service). As well as, fixed the build failure by refactoring the public API tests. 97992: SHA-573, SHA-393, SHA-494: Added support to deactivate custom model, create a new type and create a new property group (aspect). 97994: Fixed the test as a result of renaming the service method. 98123: SHA-393, SHA-494: Enabled the CMM REST API to create/update Types and/or Aspects via PUT. Also added validations for aspect/type's name. 98259: SHA-453: Added backend and REST API support to delete a custom model. 98690: SHA-393, SHA-494, SHA-453, SHA-575: Added tests for custom model backend service and the related REST API. Also, a minor modification as a result of added tests. 99276: SHA-549: Added backend support to update a custom model. Also, refactored the service to externalise the error messages. - SHA-550: Added REST API support to update a custom model. - SHA-619: Made sure the backend service validates the model before creating a node. - SHA-623: Added checks to not allow a user to create a custom model with the same name as the bootstrapped models. 99287: SHA-619: Added InvalidCustomModelException for the CMM service to throw when the model validation fails. 99514: SHA-506: added backend and API support to create custom Type/Aspect properties. Also refactored the API to overcome the Public API limitations. 99522: SHA-506: Modified the Type/Aspect JSON payload to include a new read only property "prefixedName". 99527: Fixed Bamboo build failure as the result of r99522 commit. 99630: SHA-506: - Updated the API to exclude the inherited properties. - Added API tests for creating properties. - Modified the Custom Properties JSON response to include a new read only attribute "prefixedName". 99662: SHA-351: Updated the API to support 'mandatory' and 'mandatoryEnforced' properties. - SHA-410: Updated the API to support 'defaultValue' property. - SHA-506: Modified the Custom Properties JSON response to include 'description' and 'multiValued' attributes. 99669: SHA-506: Removed the unnecessary (at least in this sprint) methods from the backend service. 99684: SHA-638: Added checks to not allow a user to create a custom model with already in-use namespace prefix. 99959: SHA-679: Modified the custom model API to not import the already defined namespace. 100211: SHA-607: Modified the custom model API to support delete model's type. Also, removed the unnecessary test as we depend on the dictionary service, so no need to test it in the custom model API. 100281: Added Types and Aspects to the GET a single model API response, when it is requested with "?select=all" query string. 100335: Added test for "?select=all" query string within the GET a single model API (see rev 100281). 100366: SHA-612: Modified the custom model API to support delete model's aspect. 100738: SHA-698: Added checks so the model Admin is not allowed to deactivate a custom model when its types/aspects are parent to other models' types/aspects (regardless of the model being active or not). 100740: SHA-698: Fixed Bamboo build failures. 101085: SHA-703: Added dependency validation before deleting custom type/aspect in the custom model API. 101160: Modified the custom model API to return all properties (including the inherited properties) of the type/aspect, when requested by "?select=allProps". 101636: SHA-697. 101771: SHA-706: Made custom models hidden in the data dictionary. 101863: SHA-701: Added checks to not allow creating duplicate properties within the same model. Also, removed unnecessary/duplicate constants from the custom model service class. 101983: SHA-688: Fixed the error message by getting the root-cause-exception and returning its message. However, DictionaryException messages are not localised, so this will be fixed in the alfresco core. 102223: Fix for SHA-726: Not able to edit prefix field of deactivated model when model type is referenced within same model - The API will update the parent prefixed name with the new prefix. - Also, added more validations to the CMM API, when setting a type/asptect's parent. 102587: SHA-741, SHA-745, SHA-747: Added custom model Constraints support. 102725: SHA-784: Fixed parent validation of the type/aspect. 103030: SHA-741, SHA-745, SHA-747: Added tests for custom model Constraints. - Also fixed and refactored the API code as the result of tests. 103753: SHA-846: Added inline constraints support. Also: - Modified the backend CMM service to throw CustomModelConstraintException when the root cause is DuplicateDefinitionException. - Removed the duplicate name check from the CMM API, as now it will depend on the exceptions thrown upon model compilation. 103885: SHA-819, SHA-833: Added support to edit existing type/aspect. 103973: SHA-819, SHA-833: Added API tests for types/aspects Edit. Also, refactored CMM API tests by moving the tests to their corresponding test class. 104079: SHA-808: Fixed custom models bidirectional dependency. 104158: Deleted the ExtendedRepoAdminService class as the required functionality has been added (see SHA-879) to the core alfresco code. 104287: SHA-843: Modified the custom model API to support delete property. Also, minor refactoring of the API tests. 104403: SHA-842: Modified the custom model API to support Edit property. 104475: SHA-842: Added API tests for Edit property. 104569: SHA-913 - Remove case sensitive option from the UI - SHA-914 - Update PO and tests that use the case sensitive option - Remove case sensitive option on LIST constraint throughout Also: - Update Aikau version to 1.0.18 104690: Fixed Bamboo build failure caused by r104569. 104849: SHA-808: Fixed custom models circular dependencies. 105297: SHA-807: Added property default-value and constraint (REGEX, MINMAX and LENGTH) validators. 105642: SHA-950: Wrapped backend CMM service method with a NEW transaction, in order to catch the thrown exception within DictionaryModelTypeTransactionListener. Also refactored the CMM backend service tests as the result of this change. 106677: SHA-888, SHA-889, SHA-890: Added Backend and API support to export a custom model and its associated Share form. 106722: SHA-888, SHA-889, SHA-890: Fixed a few minor issues raised during code review. 107007: ACE-4019: Modified the CMM service to not start a new TX when creating a new model. 107070: Temporarily enabled (hard coded) index and facetable attributes in the custom model properties. 107296: GERMAN: Model Manager files localised as per EN-rev105921 107297: FRENCH: Model Manager localised files based on EN-rev105921 107315: SPANISH: Model Manager localised files based on EN-rev105921 107317: JAPANESE: Model Manager localised files based on EN-rev105921 107321: ITALIAN: Model Manager localised files based on EN-rev105921 107322: DUTCH: Model Manager localised files based on EN-rev105921 107335: SHA-889: Modified the CMM service to not throw an exception when exporting the model and its associated share extension module, where the Share extension module has not been created for the model yet. 107456: SHA-893: Added API support to upload/import a custom model and its associated Share extension module. 107560: SHA-893: Added model upload API tests as well as minor fixes. 107647: SHA-893: Fixed minor issues raised during code review. 107773: Docs review of message labels and errors. 107866: SHA-1126: Added check for the maximum value of the MINMAX constraint to be a positive nonzero value. 108117: SHA-832: Added validation for properties' default values to be checked against the property defined constraint. 108256: SHA-1194: Modified CMM API to support indexing options. 108510: SHA-1151: Externalised CMM rest API error messages. - SHA-1196: Changed the CMM Rest API input validator to use the same RegExs as the CMM Share. 108518: SHA-1194: Changed CMM property facetable options to include "UNSET". 108561: GERMAN: Model Manager files updated as per EN-rev107962 108562: FRENCH: Model Manager files updated as per EN-rev107962 108565: ITALIAN: Model Manager files updated as per EN-rev107962 108566: SPANISH: Model Manager files updated as per EN-rev107962 108567: JAPANESE: Model Manager files updated as per EN-rev107962 108568: NORWEGIAN Bokmal: Model Manager files updated as per EN-rev107962 108570: DUTCH: Model Manager files updated as per EN-rev107962 108571: RUSSIAN: Model Manager files updated as per EN-rev107962 108572: BRAZILIAN Portuguese: Model Manager files updated as per EN-rev107962 108573: SIMPLIFIED CHINESE: Model Manager files updated as per EN-rev107962 108604: Removed the unnecessary escaped quotation from the strings which don't have variables. 108721: Api message changes from docs. 108728: Changed "Property group" to "Aspect" in the CMM API error messages. 108934: Added the missing escaped quotation into API messages. 109037: Changes from docs for mandatory field character messages in the API. 109204: ITALIAN: Updated bundle based on EN rev109039 109205: GERMAN: Updated bundle based on EN rev109039 109206: FRENCH: Updated bundle based on EN rev109039 109223: GERMAN: Updated bundle based on EN rev109039 - fixed single quotes 109226: FRENCH: Updated bundle based on EN rev109039 - fixed single quotes 109228: ITALIAN: Updated bundle based on EN rev109039 - fixed single quotes 109230: FRENCH: Updated bundle based on EN rev109039 - fixed single quotes again 109235: JAPANESE: Updated bundle based on EN rev109039 109293: SPANISH: Updated bundle based on EN rev109039 109300: DUTCH: Updated bundle based on EN rev109039 109412: - Refactored the CMM JMX support to return CompositeData for performance reasons. - Reorganised a few of CMM classes/interfaces to make it easier for merging to alfresco core. - A minor fixes as a result of Find Bugs analysis. - Added the minimum and maximum repo versions for CMM module. 109421: NORWEGIAN: Updated bundle based on EN rev109039 109424: BRAZILIAN PORTUGUESE: Updated bundle based on EN rev109039 109426: RUSSIAN: Updated bundle based on EN rev109039 109427: CHINESE: Updated bundle based on EN rev10903 109475: Added CMM Model into the core services (missed from previous commit). 109480: SHA-723: Added custom models analytics in HeartBeat data. 109481: SHA-528: Added GROUP_ALFRESCO_MODEL_ADMINISTRATORS_AUTHORITY patch. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@109490 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
430 lines
20 KiB
Java
430 lines
20 KiB
Java
/*
|
|
* Copyright (C) 2005-2015 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;
|
|
|
|
import junit.framework.Test;
|
|
import junit.framework.TestSuite;
|
|
import junit.framework.JUnit4TestAdapter;
|
|
|
|
/**
|
|
* All Repository project test classes and test suites as a sequence of Repository<NN>TestSuite
|
|
* classes. The original order is the same as run by ant to avoid any data issues.
|
|
* The new test suite boundaries exist to allow tests to have different suite setups.
|
|
* It is better to have <NN> startups than one for each test.
|
|
*/
|
|
public class Repository01TestSuite extends TestSuite
|
|
{
|
|
/**
|
|
* Creates the test suite
|
|
*
|
|
* @return the test suite
|
|
*/
|
|
public static Test suite()
|
|
{
|
|
TestSuite suite = new TestSuite();
|
|
|
|
tests1(suite);
|
|
|
|
return suite;
|
|
}
|
|
|
|
static void tests1(TestSuite suite)
|
|
{
|
|
suite.addTestSuite(org.alfresco.RepositoryStartStopTest.class);
|
|
}
|
|
|
|
static void tests3(TestSuite suite) // tests="76" time="82.566"
|
|
{
|
|
suite.addTestSuite(org.alfresco.email.server.EmailServiceImplTest.class);
|
|
suite.addTestSuite(org.alfresco.email.server.EmailServerTest.class);
|
|
suite.addTestSuite(org.alfresco.filesys.FTPServerTest.class);
|
|
suite.addTestSuite(org.alfresco.filesys.repo.CifsIntegrationTest.class);
|
|
suite.addTestSuite(org.alfresco.filesys.repo.ContentDiskDriverTest.class);
|
|
}
|
|
|
|
static void tests4(TestSuite suite) // tests="2" time="92.624"
|
|
{
|
|
suite.addTestSuite(org.alfresco.filesys.repo.LockKeeperImplTest.class);
|
|
}
|
|
|
|
static void tests6(TestSuite suite)
|
|
{
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.opencmis.CMISTest.class));
|
|
}
|
|
|
|
static void tests7(TestSuite suite) // tests="3" time="7.644"
|
|
{
|
|
suite.addTestSuite(org.alfresco.opencmis.OpenCmisLocalTest.class); // fails if with OpenCmisQueryTest
|
|
}
|
|
|
|
static void tests8(TestSuite suite)
|
|
{
|
|
suite.addTestSuite(org.alfresco.opencmis.search.OpenCmisQueryTest.class);
|
|
}
|
|
|
|
static void tests9(TestSuite suite)
|
|
{
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.action.ActionTestSuite.class));
|
|
}
|
|
|
|
static void tests10(TestSuite suite)
|
|
{
|
|
suite.addTestSuite(org.alfresco.repo.activities.ActivityServiceImplTest.class);
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.activities.feed.FeedNotifierTest.class));
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.activities.feed.FeedNotifierJobTest.class));
|
|
suite.addTestSuite(org.alfresco.repo.admin.RepoAdminServiceImplTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.admin.patch.PatchTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.admin.registry.RegistryServiceImplTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.attributes.AttributeServiceTest.class);
|
|
}
|
|
|
|
static void tests11(TestSuite suite)
|
|
{
|
|
suite.addTest(org.alfresco.repo.audit.AuditTestSuite.suite());
|
|
}
|
|
|
|
static void tests13(TestSuite suite)
|
|
{
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.blog.BlogServiceImplTest.class));
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.bulkimport.impl.BulkImportTest.class));
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.bulkimport.impl.StripingFilesystemTrackerTest.class));
|
|
}
|
|
|
|
static void tests14(TestSuite suite)
|
|
{
|
|
suite.addTestSuite(org.alfresco.repo.cache.CacheTest.class); // errors if joined with previous tests
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.calendar.CalendarServiceImplTest.class)); // Can only be run once as "CalendarTestNewTestSite is already in use"
|
|
suite.addTestSuite(org.alfresco.repo.coci.CheckOutCheckInServiceImplTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.configuration.ConfigurableServiceImplTest.class);
|
|
}
|
|
|
|
static void tests15(TestSuite suite)
|
|
{
|
|
suite.addTest(org.alfresco.repo.content.ContentFullContextTestSuite.suite());
|
|
}
|
|
|
|
static void tests16(TestSuite suite)
|
|
{
|
|
suite.addTest(org.alfresco.repo.content.ContentMinimalContextTestSuite.suite());
|
|
}
|
|
|
|
static void tests17(TestSuite suite)
|
|
{
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.content.caching.CachingContentStoreTestSuite.class));
|
|
}
|
|
|
|
static void tests18(TestSuite suite)
|
|
{
|
|
suite.addTestSuite(org.alfresco.repo.copy.CopyServiceImplTest.class);
|
|
}
|
|
|
|
static void tests21(TestSuite suite)
|
|
{
|
|
suite.addTestSuite(org.alfresco.repo.descriptor.DescriptorServiceTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.dictionary.DictionaryModelTypeTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.dictionary.DictionaryRepositoryBootstrapTest.class);
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.dictionary.CustomModelServiceImplTest.class));
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.dictionary.ValueDataTypeValidatorImplTest.class));
|
|
suite.addTestSuite(org.alfresco.repo.dictionary.types.period.PeriodTest.class);
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.discussion.DiscussionServiceImplTest.class));
|
|
}
|
|
|
|
static void tests22(TestSuite suite)
|
|
{
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.domain.DomainTestSuite.class));
|
|
}
|
|
|
|
static void tests23(TestSuite suite)
|
|
{
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.download.DownloadServiceIntegrationTest.class));
|
|
suite.addTestSuite(org.alfresco.repo.exporter.ExporterComponentTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.exporter.RepositoryExporterComponentTest.class);
|
|
}
|
|
|
|
static void tests24(TestSuite suite)
|
|
{
|
|
suite.addTestSuite(org.alfresco.repo.forms.FormServiceImplTest.class);
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.forms.processor.action.ActionFormProcessorTest.class));
|
|
}
|
|
|
|
static void tests27(TestSuite suite) //
|
|
{
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.forum.CommentsTest.class));
|
|
}
|
|
|
|
static void tests28(TestSuite suite) // tests="53" time="178.25"
|
|
{
|
|
suite.addTestSuite(org.alfresco.repo.i18n.MessageServiceImplTest.class); // fails if with previous tests
|
|
suite.addTestSuite(org.alfresco.repo.imap.ImapMessageTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.imap.ImapServiceImplCacheTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.imap.ImapServiceImplTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.importer.FileImporterTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.importer.ImporterComponentTest.class);
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.invitation.InvitationCleanupTest.class));
|
|
}
|
|
|
|
static void tests29(TestSuite suite) // tests="12" time="93.965"
|
|
{
|
|
suite.addTestSuite(org.alfresco.repo.jscript.PeopleTest.class); // fails if with previous tests
|
|
suite.addTestSuite(org.alfresco.repo.jscript.RhinoScriptTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.jscript.ScriptBehaviourTest.class);
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.jscript.ScriptNodeTest.class));
|
|
}
|
|
|
|
static void tests30(TestSuite suite) // tests="70" time="62.041" failures="1"
|
|
{
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.links.LinksServiceImplTest.class)); // fails if run more than once // fails if with previous tests
|
|
suite.addTestSuite(org.alfresco.repo.lock.JobLockServiceTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.lock.LockBehaviourImplTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.lock.LockServiceImplTest.class);
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.lock.mem.LockStoreImplTxTest.class)); // failed on bamboo
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.lock.mem.LockableAspectInterceptorTest.class));
|
|
suite.addTestSuite(org.alfresco.repo.management.JmxDumpUtilTest.class);
|
|
}
|
|
|
|
static void tests31(TestSuite suite)
|
|
{
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.model.ModelTestSuite.class));
|
|
}
|
|
|
|
static void tests32(TestSuite suite)
|
|
{
|
|
suite.addTestSuite(org.alfresco.repo.module.ComponentsTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.module.ModuleComponentHelperTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.node.ConcurrentNodeServiceSearchTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.node.ConcurrentNodeServiceTest.class); // was null
|
|
suite.addTestSuite(org.alfresco.repo.node.FullNodeServiceTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.node.NodeRefPropertyMethodInterceptorTest.class);
|
|
}
|
|
|
|
static void tests33(TestSuite suite)
|
|
{
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.node.NodeServiceTest.class)); // moved to next test
|
|
}
|
|
|
|
static void tests34(TestSuite suite)
|
|
{
|
|
suite.addTestSuite(org.alfresco.repo.node.PerformanceNodeServiceTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.node.archive.ArchiveAndRestoreTest.class);
|
|
}
|
|
|
|
static void tests35(TestSuite suite) // tests="86" time="553.462"
|
|
{
|
|
suite.addTestSuite(org.alfresco.repo.node.archive.LargeArchiveAndRestoreTest.class);
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.node.cleanup.TransactionCleanupTest.class));
|
|
suite.addTestSuite(org.alfresco.repo.node.db.DbNodeServiceImplTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.node.db.DbNodeServiceImplPropagationTest.class);
|
|
}
|
|
|
|
static void tests36(TestSuite suite) // Fails with previous tests
|
|
{
|
|
suite.addTestSuite(org.alfresco.repo.node.getchildren.GetChildrenCannedQueryTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.node.index.FullIndexRecoveryComponentTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.node.index.IndexTransactionTrackerTest.class);
|
|
}
|
|
|
|
static void tests37(TestSuite suite) // Hangs with the previous 4 tests
|
|
{
|
|
suite.addTestSuite(org.alfresco.repo.node.index.MissingContentReindexComponentTest.class);
|
|
}
|
|
|
|
static void tests38(TestSuite suite)
|
|
{
|
|
suite.addTestSuite(org.alfresco.repo.node.integrity.IncompleteNodeTaggerTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.node.integrity.IntegrityTest.class);
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.oauth1.OAuth1CredentialsStoreServiceTest.class));
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.oauth2.OAuth2CredentialsStoreServiceTest.class));
|
|
suite.addTestSuite(org.alfresco.repo.policy.PolicyComponentTransactionTest.class);
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.preference.PreferenceServiceImplTest.class));
|
|
}
|
|
|
|
static void tests39(TestSuite suite)
|
|
{
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.publishing.WebPublishingTestSuite.class));
|
|
}
|
|
|
|
static void tests40(TestSuite suite)
|
|
{
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.quickshare.QuickShareServiceIntegrationTest.class));
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.rating.RatingServiceIntegrationTest.class));
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.remotecredentials.RemoteCredentialsServicesTest.class));
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.rendition.MultiUserRenditionTest.class));
|
|
suite.addTestSuite(org.alfresco.repo.rendition.RenditionServiceIntegrationTest.class);
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.rendition.RenditionServicePermissionsTest.class));
|
|
}
|
|
|
|
static void tests41(TestSuite suite) // tests="6" time="120.585"
|
|
{
|
|
suite.addTestSuite(org.alfresco.repo.rendition.StandardRenditionLocationResolverTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.rendition.executer.HTMLRenderingEngineTest.class);
|
|
}
|
|
|
|
static void tests42(TestSuite suite) // tests="27" time="134.585"
|
|
{
|
|
suite.addTestSuite(org.alfresco.repo.rendition.executer.XSLTFunctionsTest.class); // fails if with previous tests
|
|
suite.addTestSuite(org.alfresco.repo.rendition.executer.XSLTRenderingEngineTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.replication.ReplicationServiceIntegrationTest.class);
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.rule.MiscellaneousRulesTest.class));
|
|
}
|
|
|
|
static void tests43(TestSuite suite) // tests="53" time="113.999"
|
|
{
|
|
suite.addTestSuite(org.alfresco.repo.rule.RuleLinkTest.class); // fails if with previous tests
|
|
suite.addTestSuite(org.alfresco.repo.rule.RuleServiceCoverageTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.rule.RuleServiceImplTest.class);
|
|
}
|
|
|
|
static void tests44(TestSuite suite) // tests="2" time="104.636" errors="1"
|
|
{
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.rule.RuleServiceIntegrationTest.class)); // fails locally even on its own
|
|
}
|
|
|
|
static void tests45(TestSuite suite) // tests="13" time="97.186"
|
|
{
|
|
suite.addTestSuite(org.alfresco.repo.rule.RuleTypeImplTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.rule.ruletrigger.RuleTriggerTest.class);
|
|
}
|
|
|
|
static void tests46(TestSuite suite)
|
|
{
|
|
suite.addTest(org.alfresco.repo.search.SearchTestSuite.suite());
|
|
}
|
|
|
|
static void tests47(TestSuite suite)
|
|
{
|
|
suite.addTest(org.alfresco.repo.security.SecurityTestSuite.suite());
|
|
}
|
|
|
|
static void tests48(TestSuite suite)
|
|
{
|
|
suite.addTestSuite(org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizerTest.class); // failed on agent - split from following tests?
|
|
}
|
|
|
|
static void tests49(TestSuite suite) // Not sure this break is needed
|
|
{
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.site.SiteServiceImplMoreTest.class));
|
|
suite.addTestSuite(org.alfresco.repo.site.SiteServiceImplTest.class);
|
|
}
|
|
|
|
static void tests50(TestSuite suite)
|
|
{
|
|
suite.addTestSuite(org.alfresco.repo.solr.SOLRTrackingComponentTest.class);
|
|
}
|
|
|
|
static void tests51(TestSuite suite)
|
|
{
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.subscriptions.SubscriptionServiceActivitiesTest.class));
|
|
}
|
|
|
|
static void tests52(TestSuite suite)
|
|
{
|
|
suite.addTestSuite(org.alfresco.repo.subscriptions.SubscriptionServiceImplTest.class);
|
|
}
|
|
|
|
static void tests53(TestSuite suite)
|
|
{
|
|
suite.addTestSuite(org.alfresco.repo.tagging.TaggingServiceImplTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.tagging.UpdateTagScopesActionExecuterTest.class);
|
|
}
|
|
|
|
static void tests55(TestSuite suite)
|
|
{
|
|
suite.addTestSuite(org.alfresco.repo.template.TemplateServiceImplTest.class);
|
|
}
|
|
|
|
static void tests56(TestSuite suite)
|
|
{
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.tenant.MultiTServiceImplTest.class));
|
|
suite.addTestSuite(org.alfresco.repo.tenant.MultiTDemoTest.class);
|
|
}
|
|
|
|
static void tests57(TestSuite suite)
|
|
{
|
|
suite.addTestSuite(org.alfresco.repo.tenant.MultiTNodeServiceInterceptorTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.template.XSLTProcessorTest.class); // Moved, was before MultiTDemoTest
|
|
suite.addTestSuite(org.alfresco.repo.thumbnail.ThumbnailServiceImplTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.thumbnail.conditions.NodeEligibleForRethumbnailingEvaluatorTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.transaction.AlfrescoTransactionSupportTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.transaction.RetryingTransactionHelperTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.transaction.TransactionAwareSingletonTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.transaction.TransactionServiceImplTest.class);
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.transaction.ConnectionPoolOverloadTest.class));
|
|
suite.addTestSuite(org.alfresco.repo.transfer.NodeCrawlerTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.transfer.RepoTransferReceiverImplTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.transfer.TransferServiceCallbackTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.transfer.TransferServiceImplTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.transfer.TransferServiceToBeRefactoredTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.transfer.TransferVersionCheckerImplTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.transfer.manifest.ManifestIntegrationTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.transfer.script.ScriptTransferServiceTest.class);
|
|
suite.addTestSuite(org.alfresco.repo.action.scheduled.CronScheduledQueryBasedTemplateActionDefinitionTest.class);
|
|
}
|
|
|
|
static void tests58(TestSuite suite)
|
|
{
|
|
suite.addTest(org.alfresco.repo.usage.UsageTestSuite.suite());
|
|
}
|
|
|
|
static void tests59(TestSuite suite)
|
|
{
|
|
suite.addTest(org.alfresco.repo.version.VersionTestSuite.suite());
|
|
}
|
|
|
|
static void tests61(TestSuite suite)
|
|
{
|
|
suite.addTest(org.alfresco.repo.workflow.WorkflowTestSuite.suite());
|
|
}
|
|
|
|
static void tests63(TestSuite suite) // tests="187" time="364.334"
|
|
{
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.util.schemacomp.DbToXMLTest.class));
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.util.schemacomp.ExportDbTest.class));
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.util.schemacomp.SchemaReferenceFileTest.class));
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.util.test.junitrules.AlfrescoPersonTest.class));
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.util.test.junitrules.ApplicationContextInitTest.class));
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.util.test.junitrules.TemporaryNodesTest.class));
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.util.test.junitrules.TemporarySitesTest.class));
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.util.CronTriggerBeanTest.class));
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.util.CronTriggerBeanSystemTest.class));
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.filesys.auth.cifs.CifsAuthenticatorKerberosTest.class));
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.filesys.auth.cifs.CifsAuthenticatorPassthruTest.class));
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.domain.schema.script.ScriptExecutorImplIntegrationTest.class));
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.domain.schema.script.ScriptBundleExecutorImplIntegrationTest.class));
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.search.impl.lucene.analysis.PathTokenFilterTest.class));
|
|
}
|
|
|
|
static void tests65(TestSuite suite)
|
|
{
|
|
suite.addTestSuite(org.alfresco.repo.content.transform.DifferrentMimeTypeTest.class);
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.repo.attributes.PropTablesCleanupJobIntegrationTest.class));
|
|
suite.addTestSuite(org.alfresco.repo.tagging.UpdateTagScopesActionExecuterTest.class);
|
|
suite.addTest(new JUnit4TestAdapter(org.alfresco.service.ServiceRegistryTest.class));
|
|
}
|
|
|
|
static void tests66(TestSuite suite)
|
|
{
|
|
suite.addTest(org.alfresco.repo.search.impl.solr.facet.SolrFacetTestSuite.suite());
|
|
}
|
|
|
|
static void tests67(TestSuite suite)
|
|
{
|
|
suite.addTestSuite(org.alfresco.repo.doclink.DocumentLinkServiceImplTest.class);
|
|
}
|
|
}
|