You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Antonio Sanso (JIRA)" <ji...@apache.org> on 2012/07/22 12:43:33 UTC

[jira] [Updated] (SLING-2544) Restore tests included in the no longer existing JcrResourceResolverTest

     [ https://issues.apache.org/jira/browse/SLING-2544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Sanso updated SLING-2544:
---------------------------------

    Attachment: SynchronousJcrResourceListener.java
                JcrResourceResolverTest.java

Attached migrated tests. I have run them in the org.apache.sling.resourceresolver project but I am not sure is the right place where to have them due the dependencies to the org.apache.sling.jcr.resource module.
Those Junit tests might deserve a separate project.

Note:

all the original tests have been migrated successfully but test_attributes_from_session and test_resolve_with_sling_alias_limited_access. I have commented those tests for now and I'll investigate why they fail.
                
> Restore tests included in the no longer existing JcrResourceResolverTest 
> -------------------------------------------------------------------------
>
>                 Key: SLING-2544
>                 URL: https://issues.apache.org/jira/browse/SLING-2544
>             Project: Sling
>          Issue Type: New Feature
>          Components: ResourceResolver
>            Reporter: Antonio Sanso
>         Attachments: JcrResourceResolverTest.java, SynchronousJcrResourceListener.java
>
>
> With SLING-2396 almost all the testsincluded in the no longer existing JcrResourceResolverTest e.g. testResolveVirtualHostHttp80()/ testResolveResourceAlias()/ ... have been "lost in translation".
> I think it would be really useful to restore them specially for regression detection

--
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