From d4d164f76575e87b0c3d0f34d85df5d9c37566ee Mon Sep 17 00:00:00 2001 From: Tuna Aksoy Date: Sun, 16 Sep 2012 19:42:21 +0000 Subject: [PATCH] Example file plan for the unit tests git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@41631 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- rm-server/test/resources/test-filePlan.xml | 285 +++++++++++++++++++++ 1 file changed, 285 insertions(+) create mode 100644 rm-server/test/resources/test-filePlan.xml diff --git a/rm-server/test/resources/test-filePlan.xml b/rm-server/test/resources/test-filePlan.xml new file mode 100644 index 0000000000..b12a93f680 --- /dev/null +++ b/rm-server/test/resources/test-filePlan.xml @@ -0,0 +1,285 @@ + + + + + + TestRecordCategory1 + 0001 + TestRecordCategory1 + TestRecordCategory1 description + + + + + + + + + TestRecordCategory11 + 0001-01 + TestRecordCategory11 + TestRecordCategory11 description + week|1 + true + + + + + + T0-000-00-1 item 001 + Cut off monthly, hold 1 month, then destroy. + + + + + + cutoff + monthend|1 + + + + + destroy + month|1 + {http://www.alfresco.org/model/recordsmanagement/1.0}cutOffDate + + + + + + + + + + TestRecordFolder1 + TestRecordFolder1 + 0001-01-01 + week|1 + true + + + + + TestRecordFolder2 + TestRecordFolder2 + 0001-01-02 + week|1 + true + + + + + + + + + + + TestRecordCategory12 + 0001-02 + TestRecordCategory12 + TestRecordCategory12 description + + + + + + T0-000-00-1 item 002 + Cut off every 3 months, hold 3 months, then destroy. + + + + + + cutoff + quarterend|1 + + + + + destroy + month|3 + {http://www.alfresco.org/model/recordsmanagement/1.0}cutOffDate + + + + + + + + + + TestRecordFolder3 + 0001-02-01 + TestRecordFolder3 + + + + + + + + + + + TestRecordCategory13 + 0001-03 + TestRecordCategory13 + TestRecordCategory13 description + + + + + + T0-000-00-1 item 003 + Cut off at end of FY, hold 3 years, then destroy. + + + + + + cutoff + fyend|1 + + + + + destroy + year|3 + {http://www.alfresco.org/model/recordsmanagement/1.0}cutOffDate + + + + + + + + + + + + + + TestRecordCategory2 + 0002 + TestRecordCategory2 + TestRecordCategory2 description + + + + + + + + + TestRecordCategory21 + 0002-01 + TestRecordCategory21 + TestRecordCategory21 description + + + + + + T0-000-00-2 item 001 + Cut off when superseded, hold 5 years, then destroy. + true + + + + + + cutoff + superseded + + + + + destroy + year|5 + {http://www.alfresco.org/model/recordsmanagement/1.0}cutOffDate + + + + + + + + + + + + + + TestRecordCategory22 + 0002-02 + TestRecordCategory22 + TestRecordCategory22 description + + + + + + T0-000-00-2 item 002 + Cut off when no longer needed and destroy immediately. + + + + + + cutoff + no_longer_needed + + + + + destroy + immediately|0 + + + + + + + + + + TestRecordFolder4 + 0002-02-01 + TestRecordFolder4 + + + + + TestRecordFolder5 + 0002-02-02 + TestRecordFolder5 + + + + + + + + + \ No newline at end of file