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

8267621: Mark HonorDeveloperSettingsTest as unstable on Linux #517

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -28,6 +28,7 @@
import static org.junit.Assert.*;

import com.sun.javafx.css.StyleManager;
import com.sun.javafx.PlatformUtil;

import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
@@ -44,9 +45,12 @@
import com.sun.javafx.util.Logging;
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import com.sun.javafx.logging.PlatformLogger;

import static org.junit.Assume.assumeTrue;

/**
* AKA: RT-7401. Tests that the pattern used works by testing opacity
* specifically. Tests for font and text-fill should be done in the tests
@@ -68,6 +72,13 @@ private void resetStyleManager() {
sm.hasDefaultUserAgentStylesheet = false;
}

@BeforeClass
public static void setUpClass() {
if (PlatformUtil.isUnix()) {
assumeTrue(Boolean.getBoolean("unstable.test")); // JDK-8267425
}
}

@After
public void cleanup() {
resetStyleManager();