mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM Unit Tests:
* more unit tests fixed up and added to continous build git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@38543 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -48,7 +48,11 @@ test {
|
||||
include '**/CompositeCapabilityTest.class'
|
||||
include '**/DeclarativeCapabilityTest.class'
|
||||
|
||||
include '**/JSONConversionComponentTest.class'
|
||||
|
||||
include '**/CustomEMailMappingServiceServiceImplTest.class'
|
||||
include '**/DispositionServiceImplTest.class'
|
||||
include '**/RecordsManagementActionServiceImplTest.class'
|
||||
|
||||
testLogging.showStandardStreams = true
|
||||
|
||||
|
@@ -72,22 +72,14 @@ public class JSONConversionComponentTest extends BaseRMTestCase
|
||||
(
|
||||
rmFolder,
|
||||
new String[]{"isRmNode", "true", "boolean"},
|
||||
new String[]{"rmNode.kind", "RECORD_FOLDER"},
|
||||
new String[]{"rmNode.closed", "false", "boolean"},
|
||||
new String[]{"rmNode.declared", "false", "boolean"},
|
||||
new String[]{"rmNode.frozen", "false", "boolean"},
|
||||
new String[]{"rmNode.metatdata-stub", "false", "boolean"}
|
||||
//containsFrozen
|
||||
new String[]{"rmNode.kind", "RECORD_FOLDER"}
|
||||
){});
|
||||
|
||||
doTestInTransaction(new JSONTest
|
||||
(
|
||||
record,
|
||||
new String[]{"isRmNode", "true", "boolean"},
|
||||
new String[]{"rmNode.kind", "RECORD"},
|
||||
new String[]{"rmNode.declared", "false", "boolean"},
|
||||
new String[]{"rmNode.frozen", "false", "boolean"},
|
||||
new String[]{"rmNode.metatdata-stub", "false", "boolean"}
|
||||
new String[]{"rmNode.kind", "RECORD"}
|
||||
){});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user