The 2) should be at least, but the 1) would be great! Here the issue https://issues.apache.org/jira/browse/CMIS-132
On Thu, Feb 25, 2010 at 7:58 PM, David Caruana <[email protected]>wrote: > Do you mean 1) test that the URI template has all variables as stated in > the spec? or 2) that values should only be set for variables that exist > within the URI template. > > It's my understanding that the spec requires all variables to specified in > the URI template. So, implementing 1) makes sense. > > Dave > > On 25 Feb 2010, at 17:02, Alexey Zavizionov wrote: > > > 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. > >
