You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey A. Ivanov (JIRA)" <ji...@apache.org> on 2006/11/30 14:24:21 UTC

[jira] Created: (HARMONY-2379) [classlib][swing][html] unit test fails: j.s.text.html.MinimalHTMLWriterTest

[classlib][swing][html] unit test fails: j.s.text.html.MinimalHTMLWriterTest
----------------------------------------------------------------------------

                 Key: HARMONY-2379
                 URL: http://issues.apache.org/jira/browse/HARMONY-2379
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Alexey A. Ivanov
            Priority: Minor


Unit test javax.swing.text.html.MinimalHTMLWriterTest:

testWriteAttributes(javax.swing.text.html.MinimalHTMLWriterTest)
junit.framework.ComparisonFailure: expected:<...style: italic;~  font-family: serif...> but was:<...family: serif;~  font-style: italic...>
	at javax.swing.text.html.MinimalHTMLWriterTest.testWriteAttributes(MinimalHTMLWriterTest.java:110)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-2379) [classlib][swing][html] unit test fails: j.s.text.html.MinimalHTMLWriterTest

Posted by "Alexey Petrenko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-2379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12477286 ] 

Alexey Petrenko commented on HARMONY-2379:
------------------------------------------

If there will now volunteer to sort out the swing tests I'll move all the HTML tests to the java folder and file a new issue...
Let's wait for discussion on dev list.

> [classlib][swing][html] unit test fails: j.s.text.html.MinimalHTMLWriterTest
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-2379
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2379
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>         Assigned To: Alexey Petrenko
>            Priority: Minor
>         Attachments: H2379-MinimalHTMLWriterTest.patch
>
>
> Unit test javax.swing.text.html.MinimalHTMLWriterTest:
> testWriteAttributes(javax.swing.text.html.MinimalHTMLWriterTest)
> junit.framework.ComparisonFailure: expected:<...style: italic;~  font-family: serif...> but was:<...family: serif;~  font-style: italic...>
> 	at javax.swing.text.html.MinimalHTMLWriterTest.testWriteAttributes(MinimalHTMLWriterTest.java:110)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (HARMONY-2379) [classlib][swing][html] unit test fails: j.s.text.html.MinimalHTMLWriterTest

Posted by "Alexey A. Ivanov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-2379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey A. Ivanov closed HARMONY-2379.
-------------------------------------


Verified.
Thank you, Alexey!

> [classlib][swing][html] unit test fails: j.s.text.html.MinimalHTMLWriterTest
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-2379
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2379
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>            Assignee: Alexey Petrenko
>            Priority: Minor
>         Attachments: H2379-MinimalHTMLWriterTest.patch
>
>
> Unit test javax.swing.text.html.MinimalHTMLWriterTest:
> testWriteAttributes(javax.swing.text.html.MinimalHTMLWriterTest)
> junit.framework.ComparisonFailure: expected:<...style: italic;~  font-family: serif...> but was:<...family: serif;~  font-style: italic...>
> 	at javax.swing.text.html.MinimalHTMLWriterTest.testWriteAttributes(MinimalHTMLWriterTest.java:110)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HARMONY-2379) [classlib][swing][html] unit test fails: j.s.text.html.MinimalHTMLWriterTest

Posted by "Alexey Petrenko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-2379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Petrenko reassigned HARMONY-2379:
----------------------------------------

    Assignee: Alexey Petrenko

> [classlib][swing][html] unit test fails: j.s.text.html.MinimalHTMLWriterTest
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-2379
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2379
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>         Assigned To: Alexey Petrenko
>            Priority: Minor
>         Attachments: H2379-MinimalHTMLWriterTest.patch
>
>
> Unit test javax.swing.text.html.MinimalHTMLWriterTest:
> testWriteAttributes(javax.swing.text.html.MinimalHTMLWriterTest)
> junit.framework.ComparisonFailure: expected:<...style: italic;~  font-family: serif...> but was:<...family: serif;~  font-style: italic...>
> 	at javax.swing.text.html.MinimalHTMLWriterTest.testWriteAttributes(MinimalHTMLWriterTest.java:110)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-2379) [classlib][swing][html] unit test fails: j.s.text.html.MinimalHTMLWriterTest

Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-2379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464349 ] 

Mark Hindess commented on HARMONY-2379:
---------------------------------------

Is that test actually executed?  I see no reference to the java.injected subdirectory in build.xml?  Otherwise we are just fixing tests that aren't used.



> [classlib][swing][html] unit test fails: j.s.text.html.MinimalHTMLWriterTest
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-2379
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2379
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>            Priority: Minor
>         Attachments: H2379-MinimalHTMLWriterTest.patch
>
>
> Unit test javax.swing.text.html.MinimalHTMLWriterTest:
> testWriteAttributes(javax.swing.text.html.MinimalHTMLWriterTest)
> junit.framework.ComparisonFailure: expected:<...style: italic;~  font-family: serif...> but was:<...family: serif;~  font-style: italic...>
> 	at javax.swing.text.html.MinimalHTMLWriterTest.testWriteAttributes(MinimalHTMLWriterTest.java:110)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (HARMONY-2379) [classlib][swing][html] unit test fails: j.s.text.html.MinimalHTMLWriterTest

Posted by "Alexey Petrenko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-2379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Petrenko resolved HARMONY-2379.
--------------------------------------

    Resolution: Fixed

The tests has been moved to java.injected and the patch has been applied.
Please verify.

> [classlib][swing][html] unit test fails: j.s.text.html.MinimalHTMLWriterTest
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-2379
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2379
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>         Assigned To: Alexey Petrenko
>            Priority: Minor
>         Attachments: H2379-MinimalHTMLWriterTest.patch
>
>
> Unit test javax.swing.text.html.MinimalHTMLWriterTest:
> testWriteAttributes(javax.swing.text.html.MinimalHTMLWriterTest)
> junit.framework.ComparisonFailure: expected:<...style: italic;~  font-family: serif...> but was:<...family: serif;~  font-style: italic...>
> 	at javax.swing.text.html.MinimalHTMLWriterTest.testWriteAttributes(MinimalHTMLWriterTest.java:110)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-2379) [classlib][swing][html] unit test fails: j.s.text.html.MinimalHTMLWriterTest

Posted by "Alexey A. Ivanov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-2379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465163 ] 

Alexey A. Ivanov commented on HARMONY-2379:
-------------------------------------------

Yes, Mark, you are right. These tests are not executed.

I started the discussion about this problem at http://thread.gmane.org/gmane.comp.java.harmony.devel/16591/focus=16591. But there was no reply at all.

Now that we have HTML parser, this problem should be resolved.

> [classlib][swing][html] unit test fails: j.s.text.html.MinimalHTMLWriterTest
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-2379
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2379
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>            Priority: Minor
>         Attachments: H2379-MinimalHTMLWriterTest.patch
>
>
> Unit test javax.swing.text.html.MinimalHTMLWriterTest:
> testWriteAttributes(javax.swing.text.html.MinimalHTMLWriterTest)
> junit.framework.ComparisonFailure: expected:<...style: italic;~  font-family: serif...> but was:<...family: serif;~  font-style: italic...>
> 	at javax.swing.text.html.MinimalHTMLWriterTest.testWriteAttributes(MinimalHTMLWriterTest.java:110)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2379) [classlib][swing][html] unit test fails: j.s.text.html.MinimalHTMLWriterTest

Posted by "Alexey A. Ivanov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2379?page=all ]

Alexey A. Ivanov updated HARMONY-2379:
--------------------------------------

    Attachment: H2379-MinimalHTMLWriterTest.patch

The order of attributes in any Element is not well-defined -- they may be returned in any order. There are two attributes in this test, both possible combinations are checked (and only one of them are allowed using XOR boolean operator).

> [classlib][swing][html] unit test fails: j.s.text.html.MinimalHTMLWriterTest
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-2379
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2379
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>            Priority: Minor
>         Attachments: H2379-MinimalHTMLWriterTest.patch
>
>
> Unit test javax.swing.text.html.MinimalHTMLWriterTest:
> testWriteAttributes(javax.swing.text.html.MinimalHTMLWriterTest)
> junit.framework.ComparisonFailure: expected:<...style: italic;~  font-family: serif...> but was:<...family: serif;~  font-style: italic...>
> 	at javax.swing.text.html.MinimalHTMLWriterTest.testWriteAttributes(MinimalHTMLWriterTest.java:110)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira