Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Pazderski2019-07-19 09:10:31 +0000
committerPaul Pazderski2019-07-19 09:12:48 +0000
commit1a4e369911eb875cfb5450cf0d2522a0020e66a1 (patch)
tree2860270d4930364d24c5456e18e32d3feafc327e
parentc5719c14d6248603f31bdc7b40bcdd9906c92524 (diff)
downloadeclipse.platform.swt-1a4e369911eb875cfb5450cf0d2522a0020e66a1.tar.gz
eclipse.platform.swt-1a4e369911eb875cfb5450cf0d2522a0020e66a1.tar.xz
eclipse.platform.swt-1a4e369911eb875cfb5450cf0d2522a0020e66a1.zip
Bug 549110 - Disable new tests not working on Mac
Change-Id: Iec0b75b91fc741830bcb18ea65dc28a882f642e8 Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
-rw-r--r--tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyledText.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyledText.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyledText.java
index b423653653..d67658e18b 100644
--- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyledText.java
+++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyledText.java
@@ -5268,6 +5268,7 @@ public void test_setStyleRanges_render() throws InterruptedException {
*/
@Test
public void test_lineStyleListener_styles_render() throws InterruptedException {
+ Assume.assumeFalse("Bug 536588 prevents test to work on Mac", SwtTestUtil.isCocoa);
final ArrayList<StyleRange> styles = new ArrayList<>();
styles.add(getStyle(0, 2, null, GREEN));
styles.add(getStyle(4, 1, null, GREEN));
@@ -5292,6 +5293,7 @@ public void test_lineStyleListener_styles_render() throws InterruptedException {
*/
@Test
public void test_lineStyleListener_stylesAndRanges_render() throws InterruptedException {
+ Assume.assumeFalse("Bug 536588 prevents test to work on Mac", SwtTestUtil.isCocoa);
LineStyleListener listener = (LineStyleEvent event) -> {
final StyleRange style = getStyle(0, 0, null, GREEN);
event.styles = new StyleRange[] { style, style, style, style };
@@ -5317,6 +5319,7 @@ public void test_lineStyleListener_stylesAndRanges_render() throws InterruptedEx
*/
@Test
public void test_lineStyleListener_invalidStyles_render() throws InterruptedException {
+ Assume.assumeFalse("Bug 536588 prevents test to work on Mac", SwtTestUtil.isCocoa);
LineStyleListener listener = (LineStyleEvent event) -> {
event.styles = new StyleRange[] {
getStyle(-10, 4, null, GREEN),
@@ -5482,6 +5485,7 @@ public void test_consistency_DragDetect () {
*/
@Test
public void test_GlyphMetricsOnTab_Bug549110() throws InterruptedException {
+ Assume.assumeFalse("Bug 536588 prevents test to work on Mac", SwtTestUtil.isCocoa);
shell.setVisible(true);
text.setText("ab\tcde");
text.setMargins(0, 0, 0, 0);

Back to the top