mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Fix up script service tests to expect native JavaScript array return types instead of assuming java arrays
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5869 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
var id = root.id;
|
||||
var name = root.name;
|
||||
out.println("Name: " + name);
|
||||
logger.log("Name: " + name);
|
||||
var type = root.type;
|
||||
out.println("ID: " + id + " of type: " + type);
|
||||
logger.log("ID: " + id + " of type: " + type);
|
||||
var noderef = root.nodeRef;
|
||||
out.println("NodeRef: " + noderef);
|
||||
logger.log("NodeRef: " + noderef);
|
||||
var childList = root.children;
|
||||
out.println("Has " + childList.length + " child nodes");
|
||||
logger.log("Has " + childList.length + " child nodes");
|
||||
var properties = root.properties;
|
||||
out.println("Property Count: " + properties.length);
|
||||
logger.log("Property Count: " + properties.length);
|
||||
var assocs = root.assocs;
|
||||
out.println("Assoc Count: " + assocs.length);
|
||||
logger.log("Assoc Count: " + assocs.length);
|
||||
|
||||
// test various access mechanisms
|
||||
var childname1 = childList[0].name;
|
||||
|
Reference in New Issue
Block a user