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:
Roy Wetherall
2012-06-29 09:45:11 +00:00
parent b917f2ed93
commit 5e96d1d55e
2 changed files with 6 additions and 10 deletions

View File

@@ -48,7 +48,11 @@ test {
include '**/CompositeCapabilityTest.class' include '**/CompositeCapabilityTest.class'
include '**/DeclarativeCapabilityTest.class' include '**/DeclarativeCapabilityTest.class'
include '**/JSONConversionComponentTest.class'
include '**/CustomEMailMappingServiceServiceImplTest.class'
include '**/DispositionServiceImplTest.class' include '**/DispositionServiceImplTest.class'
include '**/RecordsManagementActionServiceImplTest.class'
testLogging.showStandardStreams = true testLogging.showStandardStreams = true

View File

@@ -72,22 +72,14 @@ public class JSONConversionComponentTest extends BaseRMTestCase
( (
rmFolder, rmFolder,
new String[]{"isRmNode", "true", "boolean"}, new String[]{"isRmNode", "true", "boolean"},
new String[]{"rmNode.kind", "RECORD_FOLDER"}, 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
){}); ){});
doTestInTransaction(new JSONTest doTestInTransaction(new JSONTest
( (
record, record,
new String[]{"isRmNode", "true", "boolean"}, new String[]{"isRmNode", "true", "boolean"},
new String[]{"rmNode.kind", "RECORD"}, new String[]{"rmNode.kind", "RECORD"}
new String[]{"rmNode.declared", "false", "boolean"},
new String[]{"rmNode.frozen", "false", "boolean"},
new String[]{"rmNode.metatdata-stub", "false", "boolean"}
){}); ){});
} }