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/10/24 13:32:20 UTC

[jira] Created: (HARMONY-1948) [classlib][awt] unit test fails: j.awt.SystemFlavorMapTest

[classlib][awt] unit test fails: j.awt.SystemFlavorMapTest
----------------------------------------------------------

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


There are two tests which fail:

testGetFlavorsForNative(java.awt.datatransfer.SystemFlavorMapTest)
junit.framework.AssertionFailedError
	at java.awt.datatransfer.SystemFlavorMapTest.testGetFlavorsForNative(SystemFlavorMapTest.java:10)

testGetNativesForFlavor(java.awt.datatransfer.SystemFlavorMapTest)
junit.framework.AssertionFailedError
	at java.awt.datatransfer.SystemFlavorMapTest.testGetNativesForFlavor(SystemFlavorMapTest.java:122)

-- 
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] Assigned: (HARMONY-1948) [classlib][awt] unit test fails: j.awt.SystemFlavorMapTest

Posted by "Nathan Beyer (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1948?page=all ]

Nathan Beyer reassigned HARMONY-1948:
-------------------------------------

    Assignee: Nathan Beyer

> [classlib][awt] unit test fails: j.awt.SystemFlavorMapTest
> ----------------------------------------------------------
>
>                 Key: HARMONY-1948
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1948
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>         Assigned To: Nathan Beyer
>         Attachments: H1948-build.xml.patch, H1948-SystemFlavorMap.patch
>
>
> There are two tests which fail:
> testGetFlavorsForNative(java.awt.datatransfer.SystemFlavorMapTest)
> junit.framework.AssertionFailedError
> 	at java.awt.datatransfer.SystemFlavorMapTest.testGetFlavorsForNative(SystemFlavorMapTest.java:10)
> testGetNativesForFlavor(java.awt.datatransfer.SystemFlavorMapTest)
> junit.framework.AssertionFailedError
> 	at java.awt.datatransfer.SystemFlavorMapTest.testGetNativesForFlavor(SystemFlavorMapTest.java:122)

-- 
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] Resolved: (HARMONY-1948) [classlib][awt] unit test fails: j.awt.SystemFlavorMapTest

Posted by "Nathan Beyer (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1948?page=all ]

Nathan Beyer resolved HARMONY-1948.
-----------------------------------

    Resolution: Fixed

Patch applied. Please verify the results. Thanks.

> [classlib][awt] unit test fails: j.awt.SystemFlavorMapTest
> ----------------------------------------------------------
>
>                 Key: HARMONY-1948
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1948
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>         Assigned To: Nathan Beyer
>         Attachments: H1948-build.xml.patch, H1948-SystemFlavorMap.patch
>
>
> There are two tests which fail:
> testGetFlavorsForNative(java.awt.datatransfer.SystemFlavorMapTest)
> junit.framework.AssertionFailedError
> 	at java.awt.datatransfer.SystemFlavorMapTest.testGetFlavorsForNative(SystemFlavorMapTest.java:10)
> testGetNativesForFlavor(java.awt.datatransfer.SystemFlavorMapTest)
> junit.framework.AssertionFailedError
> 	at java.awt.datatransfer.SystemFlavorMapTest.testGetNativesForFlavor(SystemFlavorMapTest.java:122)

-- 
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] Closed: (HARMONY-1948) [classlib][awt] unit test fails: j.awt.SystemFlavorMapTest

Posted by "Nathan Beyer (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1948?page=all ]

Nathan Beyer closed HARMONY-1948.
---------------------------------


Verified.

> [classlib][awt] unit test fails: j.awt.SystemFlavorMapTest
> ----------------------------------------------------------
>
>                 Key: HARMONY-1948
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1948
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>         Assigned To: Nathan Beyer
>         Attachments: H1948-build.xml.patch, H1948-SystemFlavorMap.patch
>
>
> There are two tests which fail:
> testGetFlavorsForNative(java.awt.datatransfer.SystemFlavorMapTest)
> junit.framework.AssertionFailedError
> 	at java.awt.datatransfer.SystemFlavorMapTest.testGetFlavorsForNative(SystemFlavorMapTest.java:10)
> testGetNativesForFlavor(java.awt.datatransfer.SystemFlavorMapTest)
> junit.framework.AssertionFailedError
> 	at java.awt.datatransfer.SystemFlavorMapTest.testGetNativesForFlavor(SystemFlavorMapTest.java:122)

-- 
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-1948) [classlib][awt] unit test fails: j.awt.SystemFlavorMapTest

Posted by "Alexey A. Ivanov (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-1948?page=comments#action_12444615 ] 
            
Alexey A. Ivanov commented on HARMONY-1948:
-------------------------------------------

Works find. Thank you.

> [classlib][awt] unit test fails: j.awt.SystemFlavorMapTest
> ----------------------------------------------------------
>
>                 Key: HARMONY-1948
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1948
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>         Assigned To: Nathan Beyer
>         Attachments: H1948-build.xml.patch, H1948-SystemFlavorMap.patch
>
>
> There are two tests which fail:
> testGetFlavorsForNative(java.awt.datatransfer.SystemFlavorMapTest)
> junit.framework.AssertionFailedError
> 	at java.awt.datatransfer.SystemFlavorMapTest.testGetFlavorsForNative(SystemFlavorMapTest.java:10)
> testGetNativesForFlavor(java.awt.datatransfer.SystemFlavorMapTest)
> junit.framework.AssertionFailedError
> 	at java.awt.datatransfer.SystemFlavorMapTest.testGetNativesForFlavor(SystemFlavorMapTest.java:122)

-- 
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] Updated: (HARMONY-1948) [classlib][awt] unit test fails: j.awt.SystemFlavorMapTest

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

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

    Attachment: H1948-SystemFlavorMap.patch

Fixes the code so that the unit test passes successfully.

The reason for failure was that the wrong field was used to populate the returned list of flavors/natives.

> [classlib][awt] unit test fails: j.awt.SystemFlavorMapTest
> ----------------------------------------------------------
>
>                 Key: HARMONY-1948
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1948
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>         Attachments: H1948-build.xml.patch, H1948-SystemFlavorMap.patch
>
>
> There are two tests which fail:
> testGetFlavorsForNative(java.awt.datatransfer.SystemFlavorMapTest)
> junit.framework.AssertionFailedError
> 	at java.awt.datatransfer.SystemFlavorMapTest.testGetFlavorsForNative(SystemFlavorMapTest.java:10)
> testGetNativesForFlavor(java.awt.datatransfer.SystemFlavorMapTest)
> junit.framework.AssertionFailedError
> 	at java.awt.datatransfer.SystemFlavorMapTest.testGetNativesForFlavor(SystemFlavorMapTest.java:122)

-- 
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] Updated: (HARMONY-1948) [classlib][awt] unit test fails: j.awt.SystemFlavorMapTest

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

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

    Attachment: H1948-build.xml.patch

Excludes java.awt.datatransfer.SystemFlavorMapTest from the exclude list.

> [classlib][awt] unit test fails: j.awt.SystemFlavorMapTest
> ----------------------------------------------------------
>
>                 Key: HARMONY-1948
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1948
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>         Attachments: H1948-build.xml.patch
>
>
> There are two tests which fail:
> testGetFlavorsForNative(java.awt.datatransfer.SystemFlavorMapTest)
> junit.framework.AssertionFailedError
> 	at java.awt.datatransfer.SystemFlavorMapTest.testGetFlavorsForNative(SystemFlavorMapTest.java:10)
> testGetNativesForFlavor(java.awt.datatransfer.SystemFlavorMapTest)
> junit.framework.AssertionFailedError
> 	at java.awt.datatransfer.SystemFlavorMapTest.testGetNativesForFlavor(SystemFlavorMapTest.java:122)

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