Skip to content

Commit

Permalink
Temporarily disable tests that fail on cairo 1.17.8
Browse files Browse the repository at this point in the history
  • Loading branch information
jwharm committed Oct 11, 2023
1 parent 7d487a2 commit f915c30
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/test/java/org/freedesktop/cairo/test/PatternTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import static org.junit.jupiter.api.Assertions.*;

import org.freedesktop.cairo.*;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

class PatternTest {
Expand Down Expand Up @@ -68,13 +69,15 @@ void testGetType() {
assertEquals(Status.SUCCESS, pattern.status());
}

@Disabled // does not work with cairo 1.17.8 (Fedora 38, Gnome 45 Flatpak SDK)
@Test
void testSetDither() {
Pattern pattern = LinearGradient.create(0, 0, 10, 10);
pattern.setDither(Dither.FAST);
assertEquals(Status.SUCCESS, pattern.status());
}

@Disabled // does not work with cairo 1.17.8 (Fedora 38, Gnome 45 Flatpak SDK)
@Test
void testGetDither() {
Pattern pattern = LinearGradient.create(0, 0, 10, 10);
Expand Down

0 comments on commit f915c30

Please sign in to comment.