dev@jsftemplating.java.net

Re: JSFTemplating: junit tests status

From: Ken Paulsen <Ken.Paulsen_at_Sun.COM>
Date: Thu, 25 Jan 2007 21:43:23 -0800

Hi Scott,

I don't have a test for Ajax. The tests that I do have are not yet
checked in... and they all focused on parsing. I hope to using Selenium
soon and integrating this with the build.

The integration with Dynamic Faces is fairly recent. I don't have a lot
of examples yet. I have one demo which is discussed on my blog:

    http://blogs.sun.com/paulsen/entry/jsftemplating_dynamicfaces_easy_ajax

Or you can just download the ajaxdemo.war file from:

    https://jsftemplating.dev.java.net/servlets/ProjectDocumentList

Ken

scott hutinger wrote:
> I noticed that http://script.aculo.us/ was at version 1.7.0 - January
> 19, 2007 (pretty new).
>
> In build.properties:
> junit.jar=test/junit/junit.jar
>
> I know that should be up to me to put the reference to junit.jar :-)
> test/junit/junit.jar doesn't exist in cvs.
>
> 'ant test'
>
> [java] java.io.FileNotFoundException:
> src/java/com/sun/jsftemplating/layout/template/TemplateFormat.txt (No
> such file or directory)
> ...
> find . -name '*.txt'
> ./cddl1.txt
> ./lib/external/README.txt
> ./README.txt
> ./samples/lib/README.txt
>
> I was checking to see if any ajax tests existed :-)
>
> What is the state of the junit tests, and how much can you test in
> this instance with junit?
> Also, any tips on the version of http://script.aculo.us/ and how it's
> wired into jsftemplating?
>
> thanks,
> scott