Mike Hatfield created CMIS-784:
----------------------------------
Summary: Unit tests: New server env. for 1.1 browser binding.
Tests run as non-admin user
Key: CMIS-784
URL: https://issues.apache.org/jira/browse/CMIS-784
Project: Chemistry
Issue Type: Improvement
Components: objectivecmis
Affects Versions: ObjectiveCMIS 0.3
Reporter: Mike Hatfield
Attachments: CMIS-784.diff
In order to facilitate development of the browser binding, I have populated an
Alfresco 4.2E server with the required content.
Due to changes in repository versioning behaviour it has been necessary to
reverse logic for the "isLatestMajorVersion" assertion. This causes 3 tests to
fail when run against the current test server (v4.0.0E). When committing this
patch it will be necessary to update the test content on the existing server so
that tests can be run consistently across the two. Either coordinate with
myself before committing or I'll just watch for a test failure and update
afterwards.
I have removed the requirement for the tests to run as the admin user. A new
user "cmis", password "unittest" has been created and given the required
permissions to the "/ios-test" folder. Unit tests no longer attempt to create
content in the root folder.
I have also added a "disabled" flag and "summary" string to the env-cfg.plist
file for convenience. The browser binding URL has been added but is disabled
for now.
--
This message was sent by Atlassian JIRA
(v6.2#6252)