checked in fixed test classes test application so that all tests pass now for jsf-ri/test.
Although altering some of the tests ensure that ICEfaces passes some of the tests (see the checked in tests for jsf-systest application), as of the following revisions the following tests still don't pass:-
glimmer rev 21318, Mojarra rev 8372
PARTIAL STATE SAVING
test.ajax
1) testCommandButtonButton (element not found testform1:msgs)
2) testAjaxTagEventarpping *say:- Expected '1', but received '3')
3) testAjaxTagKeywords "out1:- Expected '4', but received '8'
test.composite
1) testActionSource1 --IndexOutOfBoundsException
2) testActionSource2
3) testActionSource3
4) testActionSource4
5) testValidator1
6) testValidator2
7) testValidator3
8) testValidator4
9) testActions
10) testCustomActions
11) testActionListeners
12) testValidators
13) testValueChangeListeners
14) testChildrenAndFacets
15) testCompoisiteComponentActionWithArgs
test.render
1)testOutputScriptStyle
2) testScriptQuery
test.resroucelocation
1)testResourceRelocation
test.implicitnav
1)testImplicitNavigation
2) testImplicitNavigationWithredirect
test.state
1) testDeleteAddSameAction
FULL STATE SAVING:-
test.ajax
new**
i)testAjaxEcho
ii)testAjaxEchoWithStringId
iii)testAjaxEchoLT
iv) testCdataEscape1
v) testCdataEscape2
vi) testCdataEscape3
vii) testCdataEscape4
viii) testCdataEscape5
ix) testCdataEscape6
x) testCdataEscape7
xi) testTextArea
...all of these are returning empty strings instead of the proper value expected
1) testCommandButtonButton (element not found testform1:msgs)--not same error
xii) testAjaxMultiform
xiii) testAjaxMultiRender
xiv) testAjaxAndScript
xv) testAjaxCount
xvi) testAjaxRequestDefaultsButton
xvii) testAjaxRequestDefaultsButtonNoPrepend
xviii) testAjaxRequestDefaultsEdit
xix) testAjaxRequestDefaultsEditNoPrepend
xx) testAjaxEvent
xxi) testRerenderingOtherForm
xxii) testAjaxTagWrapping
xxiii) testAjaxTagEventAttribute
2) testAjaxTagEventWrapping different exception
3) testAjaxTagKeywords "out1:- Expected '4', but received '8'
too many more to mention....!!!! (at least another 5 or 6)
test.composite
same as partial except converter tests failing too.
test.facelets
i) testIssue1313 (null)
test.render
same as partial plus testCommandButtonButton
test.resourcelocation
same as partial
test.implicitnav
same as partial
test.state
same as partial
test.methodRef
i) testResourceRelocation
test.flash
i)testFlash (javascript error on property "viewID". (NEW THIS WEEK!!)
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.