From 9189987e91823c491816a75f88534d260c72f6d7 Mon Sep 17 00:00:00 2001 From: Neil McErlean Date: Tue, 24 Mar 2015 17:06:34 +0000 Subject: [PATCH] Added unit tests to test suite for RM-1945 and RM-1946. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@99995 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../classification/ClassificationSuite.java | 37 +++++++++++++++++++ .../test/AllUnitTestSuite.java | 6 ++- 2 files changed, 41 insertions(+), 2 deletions(-) create mode 100644 rm-server/unit-test/java/org/alfresco/module/org_alfresco_module_rm/classification/ClassificationSuite.java diff --git a/rm-server/unit-test/java/org/alfresco/module/org_alfresco_module_rm/classification/ClassificationSuite.java b/rm-server/unit-test/java/org/alfresco/module/org_alfresco_module_rm/classification/ClassificationSuite.java new file mode 100644 index 0000000000..5fbe1d2fec --- /dev/null +++ b/rm-server/unit-test/java/org/alfresco/module/org_alfresco_module_rm/classification/ClassificationSuite.java @@ -0,0 +1,37 @@ +/* + * 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 . + */ +package org.alfresco.module.org_alfresco_module_rm.classification; + +import org.junit.runner.RunWith; +import org.junit.runners.Suite; + +/** + * @author Neil Mc Erlean + * @since 3.0 + */ +@RunWith(Suite.class) +@Suite.SuiteClasses( +{ + ClassificationServiceImplUnitTest.class, + ConfigurationUnitTest.class +}) +public class ClassificationSuite +{ + // Intentionally empty. +} diff --git a/rm-server/unit-test/java/org/alfresco/module/org_alfresco_module_rm/test/AllUnitTestSuite.java b/rm-server/unit-test/java/org/alfresco/module/org_alfresco_module_rm/test/AllUnitTestSuite.java index bd622f09f3..5601d6a04c 100644 --- a/rm-server/unit-test/java/org/alfresco/module/org_alfresco_module_rm/test/AllUnitTestSuite.java +++ b/rm-server/unit-test/java/org/alfresco/module/org_alfresco_module_rm/test/AllUnitTestSuite.java @@ -26,6 +26,7 @@ import org.alfresco.module.org_alfresco_module_rm.bootstrap.RecordContributorsGr import org.alfresco.module.org_alfresco_module_rm.capability.RMEntryVoterUnitTest; import org.alfresco.module.org_alfresco_module_rm.capability.declarative.condition.CapabilityDeclarativeConditionSuite; import org.alfresco.module.org_alfresco_module_rm.capability.impl.EditNonRecordsMetadataCapabilityUnitTest; +import org.alfresco.module.org_alfresco_module_rm.classification.ClassificationSuite; import org.alfresco.module.org_alfresco_module_rm.forms.RecordsManagementTypeFormFilterUnitTest; import org.alfresco.module.org_alfresco_module_rm.hold.HoldServiceImplUnitTest; import org.alfresco.module.org_alfresco_module_rm.job.DispositionLifecycleJobExecuterUnitTest; @@ -92,10 +93,11 @@ import org.junit.runners.Suite.SuiteClasses; // bootstrap BootstrapImporterModuleComponentUnitTest.class, RecordContributorsGroupBootstrapComponentUnitTest.class, - + // suites by package CapabilityDeclarativeConditionSuite.class, - PatchV22Suite.class + PatchV22Suite.class, + ClassificationSuite.class }) public class AllUnitTestSuite