| View Changeset
/hippo
Jump to revision: Previous Next
Author: aschrijvers
Date: Tue Dec 11 17:57:49 2012 UTC (9 years, 6 months ago)
Log Message:
HSTTWO-2366 HSTTWO-2393 added unit tests that validate expected behavior for DocumentResource. Also split off the 'getBestLink' in DocumentResource for better unit testing. Also added an extra distinguisher in finding the best mount: When multiple mounts can serve as best link because of same number of types and equal depth of contentpath, then, the depth of the mount is also a factor to decide the best mount : The deeper the mount, the more specific it is considered to be

Changed paths

Path Details
Directoryhippo-cms7/site-toolkit/trunk/client-modules/cms-rest/pom.xml modified , text changed
Directoryhippo-cms7/site-toolkit/trunk/client-modules/cms-rest/src/main/java/org/hippoecm/hst/cmsrest/services/DocumentsResource.java modified , text changed
Directoryhippo-cms7/site-toolkit/trunk/client-modules/cms-rest/src/test/ added
Directoryhippo-cms7/site-toolkit/trunk/client-modules/cms-rest/src/test/java/ added
Directoryhippo-cms7/site-toolkit/trunk/client-modules/cms-rest/src/test/java/org/ added
Directoryhippo-cms7/site-toolkit/trunk/client-modules/cms-rest/src/test/java/org/hippoecm/ added
Directoryhippo-cms7/site-toolkit/trunk/client-modules/cms-rest/src/test/java/org/hippoecm/hst/ added
Directoryhippo-cms7/site-toolkit/trunk/client-modules/cms-rest/src/test/java/org/hippoecm/hst/cmsrest/ added
Directoryhippo-cms7/site-toolkit/trunk/client-modules/cms-rest/src/test/java/org/hippoecm/hst/cmsrest/AbstractCmsRestTest.java added
Directoryhippo-cms7/site-toolkit/trunk/client-modules/cms-rest/src/test/java/org/hippoecm/hst/cmsrest/services/ added
Directoryhippo-cms7/site-toolkit/trunk/client-modules/cms-rest/src/test/java/org/hippoecm/hst/cmsrest/services/DocumentsResourceTest.java added
Directoryhippo-cms7/site-toolkit/trunk/client-modules/cms-rest/src/test/java/org/hippoecm/hst/container/ added
Directoryhippo-cms7/site-toolkit/trunk/client-modules/cms-rest/src/test/java/org/hippoecm/hst/container/RequestContextProviderSetter.java added
Directoryhippo-cms7/site-toolkit/trunk/client-modules/cms-rest/src/test/resources/ added
Directoryhippo-cms7/site-toolkit/trunk/client-modules/cms-rest/src/test/resources/org/ added
Directoryhippo-cms7/site-toolkit/trunk/client-modules/cms-rest/src/test/resources/org/hippoecm/ added
Directoryhippo-cms7/site-toolkit/trunk/client-modules/cms-rest/src/test/resources/org/hippoecm/hst/ added
Directoryhippo-cms7/site-toolkit/trunk/client-modules/cms-rest/src/test/resources/org/hippoecm/hst/cmsrest/ added
Directoryhippo-cms7/site-toolkit/trunk/client-modules/cms-rest/src/test/resources/org/hippoecm/hst/cmsrest/GeneralMultiplePoolingRepository.xml added
Directoryhippo-cms7/site-toolkit/trunk/client-modules/cms-rest/src/test/resources/org/hippoecm/hst/cmsrest/services/ added
Directoryhippo-cms7/site-toolkit/trunk/client-modules/cms-rest/src/test/resources/org/hippoecm/hst/cmsrest/services/DocumentsResourceTest.xml added