You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Dominique Pfister (JIRA)" <ji...@apache.org> on 2010/03/19 11:05:27 UTC
[jira] Resolved: (CMIS-168) BasicTestCase should check repository
capability before executing a test
[ https://issues.apache.org/jira/browse/CMIS-168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dominique Pfister resolved CMIS-168.
------------------------------------
Resolution: Fixed
Fixed in revision 925156.
> 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.