BasicTestCase should check repository capability before executing a test
------------------------------------------------------------------------

                 Key: CMIS-168
                 URL: https://issues.apache.org/jira/browse/CMIS-168
             Project: Chemistry
          Issue Type: Bug
            Reporter: Dominique Pfister
            Assignee: Dominique Pfister


BasicTestCase in chemistry-tests should check repository capability before 
actually testing a feature, e.g.:

    public void testGetFolderTree() {
        // check whether repository supports this feature
        RepositoryInfo info = repository.getInfo();
        if (!info.getCapabilities().hasGetFolderTree()) {
            return;
        }
        ... 
    }


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to