Hi,

> The test still fails:

>junit.framework.AssertionFailedError: JSP script executed as expected...

>As the "<h1>JSP rendering result</h1>" string is not produced by the
script.

I changed it to JSP "rendering for sling.include result" in the test script
but haven't modified in the unit test.
I changed the previous to

assertTrue("JSP script executed as expected (" + content + ")",
content.contains("<h1>JSP rendering for sling.include result</h1>"));

It's working now.

> And the test doesn't demonstrate that sling:include works, that's the next
step I guess.

Yes thats the next step I'm working on it now.
thanks for the comments.

janandith.

On Thu, Jul 10, 2008 at 1:51 PM, Bertrand Delacretaz (JIRA) <[EMAIL PROTECTED]>
wrote:

>
>    [
> https://issues.apache.org/jira/browse/SLING-475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612404#action_12612404]
>
> Bertrand Delacretaz commented on SLING-475:
> -------------------------------------------
>
> The new patches compiles and runs against Sling revision 675473, thanks!
>
> The test still fails:
>
> junit.framework.AssertionFailedError: JSP script executed as expected...
>
> As the "<h1>JSP rendering result</h1>" string is not produced by the
> script.
>
> And the test doesn't demonstrate that sling:include works, that's the next
> step I guess.
>
> > Create Integration tests for the sling:include tag
> > --------------------------------------------------
> >
> >                 Key: SLING-475
> >                 URL: https://issues.apache.org/jira/browse/SLING-475
> >             Project: Sling
> >          Issue Type: Sub-task
> >          Components: Scripting JSP
> >            Reporter: Felix Meschberger
> >         Attachments: SLING-475.patch, Sling475_simple_patch.patch
> >
> >
> > Summary says it all ;-)
>
> --
> 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