HtmlMessage and HtmlMessages fails unit test when using RI
----------------------------------------------------------

                 Key: TOMAHAWK-1022
                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1022
             Project: MyFaces Tomahawk
          Issue Type: Bug
          Components: Message(s)
            Reporter: Paul Spencer
             Fix For: 1.1.6


Below are output from the test failures.  The test are run using the following 
command:

   cd tomahawk/core
   mvn test -Djsf=ri


-------------------------------------------------------------------------------
Test set: org.apache.myfaces.component.html.ext.HtmlMessagesTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.094 sec <<< 
FAILURE!
testDefaultRenderer(org.apache.myfaces.component.html.ext.HtmlMessagesTest)  
Time elapsed: 0.032 sec  <<< ERROR!
java.lang.IllegalStateException: Parent was not null, but this component not 
related
        at 
javax.faces.component.UIComponentBase.eraseParent(UIComponentBase.java:457)
        at 
javax.faces.component.UIComponentBase.access$500(UIComponentBase.java:76)
        at 
javax.faces.component.UIComponentBase$ChildrenList.add(UIComponentBase.java:1496)
        at 
org.apache.myfaces.component.html.ext.HtmlMessagesTest.testDefaultRenderer(HtmlMessagesTest.java:66)


-------------------------------------------------------------------------------
Test set: org.apache.myfaces.component.html.ext.HtmlMessageTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.031 sec <<< 
FAILURE!
testDefaultRenderer(org.apache.myfaces.component.html.ext.HtmlMessageTest)  
Time elapsed: 0 sec  <<< ERROR!
java.lang.IllegalStateException: Parent was not null, but this component not 
related
        at 
javax.faces.component.UIComponentBase.eraseParent(UIComponentBase.java:457)
        at 
javax.faces.component.UIComponentBase.access$500(UIComponentBase.java:76)
        at 
javax.faces.component.UIComponentBase$ChildrenList.add(UIComponentBase.java:1496)
        at 
org.apache.myfaces.component.html.ext.HtmlMessageTest.testDefaultRenderer(HtmlMessageTest.java:66)



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