TCK: catch more exceptions on unknown type
------------------------------------------
Key: CMIS-460
URL: https://issues.apache.org/jira/browse/CMIS-460
Project: Chemistry
Issue Type: Improvement
Components: tck
Affects Versions: OpenCMIS 0.5.0
Reporter: Florent Guillaume
Assignee: Florent Guillaume
Fix For: OpenCMIS 0.6.0
{{AbstractSessionTest.hasPolicies}} and {{hasRelationships}} checks the
presence of policies and relationships by calling {{session.getTypeDefinition}}
and catching an exception.
However it only catches {{CmisObjectNotFoundException}}, but the spec is vague
and a {{CmisInvalidArgumentException}} could be returned as well.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira