Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Pazderski2019-11-22 20:14:17 +0000
committerPaul Pazderski2019-11-22 21:06:22 +0000
commit90e85f0825c46d266a7cb45f9bb004b1d2d1c551 (patch)
treee830efac1713e77aa021947f8651ac1155ca7981
parenta4994de602142e35ba577b077501d3f9bb1526b0 (diff)
downloadeclipse.platform.swt-90e85f0825c46d266a7cb45f9bb004b1d2d1c551.tar.gz
eclipse.platform.swt-90e85f0825c46d266a7cb45f9bb004b1d2d1c551.tar.xz
eclipse.platform.swt-90e85f0825c46d266a7cb45f9bb004b1d2d1c551.zip
Fix wrong positioned Javadoc
Probably a little merge fault. Change-Id: I5110ba348504201cd3393d0045371736db532fef 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.java17
1 files changed, 8 insertions, 9 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 9ed7bdffee..b2e27d024c 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
@@ -5432,14 +5432,6 @@ private void testLineStyleListener(String content, LineStyleListener listener, B
}
}
-/**
- * Check if StyledText widget contains the given color.
- *
- * @param text widget to check
- * @param expectedColor color to find
- * @return <code>true</code> if the given color was found in current text widget
- * bounds
- */
@Test
public void test_variableToFixedLineHeight() throws InterruptedException {
GridData layoutData = new GridData(SWT.FILL, SWT.FILL,true, true);
@@ -5471,7 +5463,14 @@ public void test_variableToFixedLineHeight() throws InterruptedException {
assertFalse(hasPixel(text, colorForVariableHeight));
}
-
+/**
+ * Check if StyledText widget contains the given color.
+ *
+ * @param text widget to check
+ * @param expectedColor color to find
+ * @return <code>true</code> if the given color was found in current text widget
+ * bounds
+ */
private boolean hasPixel(StyledText text, Color expectedColor) {
return hasPixel(text, expectedColor, null);
}

Back to the top