chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Zavizionov <alexey.zavizio...@gmail.com>
Subject TCK should check variables related to CMISUriTemplate
Date Thu, 25 Feb 2010 17:02:46 GMT
Hello!

The TCK tests should check that uri templates have appropriate variables.

=== related code ===
...
        CMISUriTemplate objectByIdTemplate =
client.getObjectByIdUriTemplate(client.getWorkspace());
        Map<String, Object> variables = new HashMap<String, Object>(5);
        variables.put("id", objectId);                 // <<< to check in
objectByIdTemplate
        variables.put("includeACL", "true");          // <<< to check in
objectByIdTemplate
        IRI objectByIdRequest = objectByIdTemplate.generateUri(variables);
...
=================

Regards,
Alexey.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message