From bfb85786b9a38eef9c93440b4f69a3c20cb35fbb Mon Sep 17 00:00:00 2001 From: Tom Page Date: Fri, 19 Jun 2015 14:53:27 +0000 Subject: [PATCH] RM-2322 Check modifying the exemption categories. The unit test was already written - just applying the acceptance criteria to it so we can track where it's tested. +review RM git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106568 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../ClassificationServiceBootstrapUnitTest.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/rm-server/unit-test/java/org/alfresco/module/org_alfresco_module_rm/classification/ClassificationServiceBootstrapUnitTest.java b/rm-server/unit-test/java/org/alfresco/module/org_alfresco_module_rm/classification/ClassificationServiceBootstrapUnitTest.java index 869f2872af..5f3af461ba 100644 --- a/rm-server/unit-test/java/org/alfresco/module/org_alfresco_module_rm/classification/ClassificationServiceBootstrapUnitTest.java +++ b/rm-server/unit-test/java/org/alfresco/module/org_alfresco_module_rm/classification/ClassificationServiceBootstrapUnitTest.java @@ -270,6 +270,14 @@ public class ClassificationServiceBootstrapUnitTest implements ClassifiedContent * Check that if the exemption categories supplied on the classpath differ from those already persisted then a * warning is logged and no change is made to the persisted categories. *

+ * RM-2322

+     * Given that I have already started the system once
+     * When I stop the system
+     * And modify the exemption categories
+     * And restart the system
+     * Then I am warned that the exemption categories have been changed
+     * And they are not altered
+     * 
* This test uses the underlying log4j implementation to insert a mock Appender, and tests this for the warning * message. If the underlying logging framework is changed then this unit test will fail, and it may not be possible * to/worth fixing.