Details
-
Type: Task
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Alpha1
-
Fix Version/s: 2.0-Alpha3, 2.0.0
-
Component/s: QA
-
Labels:None
-
Environment:ICEfaces 2.0 JSF 2.0
Description
Issue Links
- blocks
-
ICE-5565 ReferenceError: "ice" is not defined ICEfaces 2 with jsf2.0 htmlunit tests
- Closed
-
ICE-5568 jsfUnit tests fail when using <head> tags as BridgeSetup requires <h:head> tags to insert configuration into head
- Closed
-
ICE-5575 input in composite component fails to update model/backing bean
- Closed
-
ICE-5640 <f:ajax tag with render for messages throwing exceptions and not supported correctly
- Closed
-
PUSH-66 Addition of snowplow (icepush) jar to htmlunit tests makes ajax tests run approx 10 times slower than normal
- Closed
- depends on
-
ICE-3182 DOMResponseWriter.writeText() escaping
- Closed
-
ICE-5543 ICEfaces2.0 htmlunit tests cause javascript error reading property "deltaSubmit"
- Closed
-
ICE-5556 DOMResponseWriter requires should support all the same options for contentType and characterEncoding as jsf2.0
- Closed
-
ICE-5589 should render proper html when using render.auto context param
- Closed
-
ICE-5625 Addition of autoid causes some failures in testcase testValueChangeActionListener and DynamicStateTestCase
- Closed
-
ICE-5640 <f:ajax tag with render for messages throwing exceptions and not supported correctly
- Closed
The instructions for checking out Mojarra from the Subversion repository are here (https://javaserverfaces.dev.java.net/checkout.html#svn) but it's probably better to simply download (https://javaserverfaces.dev.java.net/servlets/ProjectDocumentList) the source version of an official release for testing purposes (e.g https://javaserverfaces.dev.java.net/files/documents/1866/146041/mojarra-2.0.2-FCS-source.zip). I think the source version comes with the same build file and tests. There are some ant tasks provided in the Mojarra repository designed specifically for testing, for example:
test Run API, Impl, and Demo automated tests
test.with.container.refresh Stop the target container, deploy the build artifacts, restart the container and test
You'll need to rename the build.properties.glassfish.orig file to build.properties and then update the values to match your environment. At a minimum, it may only require setting jsf.build.home to point at the directory where you unzipped the src release:
jsf.build.home=/Users/deryk/Downloads/mojarra-2.0.2-FCS-source
Under the [install.dir]/jsf-ri/ directory are systest, systest-per-webapp, test, and web directories that all contain various tests. I haven't run them yet and don't have all the details about how they are run so there may be some more investigation involved. The main goal is to see if we a) get the tests to run and then b) run them with the icefaces.jar (and possibly icepush.jar) included in the classpath.