Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_bug493455_drawImageAlpha_srcPos fails on both MAC platforms #30

Closed
iloveeclipse opened this issue Apr 7, 2022 · 3 comments · Fixed by #41
Closed

test_bug493455_drawImageAlpha_srcPos fails on both MAC platforms #30

iloveeclipse opened this issue Apr 7, 2022 · 3 comments · Fixed by #41
Assignees
Labels
bug Something isn't working junit JUnit test failure
Milestone

Comments

@iloveeclipse
Copy link
Member

test_bug493455_drawImageAlpha_srcPos fails on both MAC platforms

See

expected:<RGB {0, 255, 0}> but was:<RGB {255, 255, 255}>

java.lang.AssertionError: expected:<RGB {0, 255, 0}> but was:<RGB {255, 255, 255}>
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.failNotEquals(Assert.java:835)
at org.junit.Assert.assertEquals(Assert.java:120)
at org.junit.Assert.assertEquals(Assert.java:146)
at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_graphics_GC.test_bug493455_drawImageAlpha_srcPos(Test_org_eclipse_swt_graphics_GC.java:681)

Originally posted by @iloveeclipse in #12 (comment)

@iloveeclipse
Copy link
Member Author

@jonathan-meier : please check. In doubt, we can disable this test on Mac, similar to #29.

@lshanmug
Copy link
Member

Bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=493455 was happening on both Windows and Mac. It has been fixed on Windows now. But, it's still a problem on Mac, causing the test failures. Will disable the test on Mac and track the Mac bug in a separate issue.

lshanmug added a commit to lshanmug/eclipse.platform.swt that referenced this issue Apr 11, 2022
test_bug493455_drawImageAlpha_srcPos fails on both MAC platforms

Test fails due to
eclipse-platform#40.
Disable the failing test on Mac.
lshanmug added a commit to lshanmug/eclipse.platform.swt that referenced this issue Apr 12, 2022
lshanmug added a commit that referenced this issue Apr 12, 2022
#30

Test fails due to
#40.
Disable the failing test on Mac.
@lshanmug
Copy link
Member

The failing test is now ignored on Mac - https://download.eclipse.org/eclipse/downloads/drops4/I20220412-1800/testResults.php and bug is tracked by #40

@niraj-modi niraj-modi added this to the 4.24 M2 milestone Apr 13, 2022
@niraj-modi niraj-modi added bug Something isn't working junit JUnit test failure labels Apr 13, 2022
@niraj-modi niraj-modi modified the milestones: 4.24 M2, 4.24 M3 Apr 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working junit JUnit test failure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants