diff options
author | Andrey Loskutov | 2019-07-11 10:47:18 +0000 |
---|---|---|
committer | Andrey Loskutov | 2019-07-11 10:47:18 +0000 |
commit | 0bd3a714d8fc745e80c76e805bfee9fef8cd0491 (patch) | |
tree | a3cb69c080e04cc3acc6dcbaea5d7511bf043d6b | |
parent | 19631f4aaf382abcbe5229f77ceb41d376753bad (diff) | |
download | eclipse.platform.text-0bd3a714d8fc745e80c76e805bfee9fef8cd0491.tar.gz eclipse.platform.text-0bd3a714d8fc745e80c76e805bfee9fef8cd0491.tar.xz eclipse.platform.text-0bd3a714d8fc745e80c76e805bfee9fef8cd0491.zip |
Bug 547532 - disable test fails due revert for bug 549110Y20190711-2335Y20190711-0900S4_13_0_M1I20190712-0625I20190711-1805I20190711-1120I20190711-0825
Change-Id: Ibf7ad453a934b333b7a2b9c04321eb24f68408cb
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2 files changed, 4 insertions, 2 deletions
diff --git a/org.eclipse.jface.text.tests/src/org/eclipse/jface/text/tests/source/inlined/AnnotationOnTabTest.java b/org.eclipse.jface.text.tests/src/org/eclipse/jface/text/tests/source/inlined/AnnotationOnTabTest.java index 4cf6795c238..fe225fcf7f6 100644 --- a/org.eclipse.jface.text.tests/src/org/eclipse/jface/text/tests/source/inlined/AnnotationOnTabTest.java +++ b/org.eclipse.jface.text.tests/src/org/eclipse/jface/text/tests/source/inlined/AnnotationOnTabTest.java @@ -87,6 +87,7 @@ public class AnnotationOnTabTest { int referenceIndex = textWidget.getText().indexOf("reference"); Rectangle referenceBounds = textWidget.getTextBounds(referenceIndex, referenceIndex); Rectangle annotatedCharactedBounds = textWidget.getTextBounds(annotationIndex, annotationIndex); - Assert.assertTrue("Annotation didn't shift target character to the right, it most likely replaced the tab instead of expanding it", referenceBounds.x < annotatedCharactedBounds.x); + // XXX disabled due bug 549110 + // Assert.assertTrue("Annotation didn't shift target character to the right, it most likely replaced the tab instead of expanding it", referenceBounds.x < annotatedCharactedBounds.x); } } diff --git a/org.eclipse.jface.text.tests/src/org/eclipse/jface/text/tests/source/inlined/LineContentBoundsDrawingTest.java b/org.eclipse.jface.text.tests/src/org/eclipse/jface/text/tests/source/inlined/LineContentBoundsDrawingTest.java index f1606aac727..7bb84635380 100644 --- a/org.eclipse.jface.text.tests/src/org/eclipse/jface/text/tests/source/inlined/LineContentBoundsDrawingTest.java +++ b/org.eclipse.jface.text.tests/src/org/eclipse/jface/text/tests/source/inlined/LineContentBoundsDrawingTest.java @@ -144,7 +144,8 @@ public class LineContentBoundsDrawingTest { Rectangle textBounds= textWidget.getTextBounds(0, textWidget.getText().length() - 1); int supposedMostRightPaintedPixel = textBounds.x + textBounds.width - 1; int mostRightPaintedPixel= getMostRightPaintedPixel(textWidget); - Assert.assertEquals(supposedMostRightPaintedPixel, mostRightPaintedPixel, 1.5); // use double comparison with delta to tolerate variation from a system to the other + // XXX disabled due bug 549110 + // Assert.assertEquals(supposedMostRightPaintedPixel, mostRightPaintedPixel, 1.5); // use double comparison with delta to tolerate variation from a system to the other } public int getMostRightPaintedPixel(StyledText widget) { |