Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2018-02-01 14:56:09 +0000
committerAlexander Kurtakov2018-02-01 15:19:59 +0000
commit5ea94e70056200426b2124f82323195709f99dc0 (patch)
tree20cb4a9d9c6fa277485371c1d271629641892497
parent85b977b2cbe0a6b3f4f0377fbe623504f3b3ea65 (diff)
downloadeclipse.platform.swt-5ea94e70056200426b2124f82323195709f99dc0.tar.gz
eclipse.platform.swt-5ea94e70056200426b2124f82323195709f99dc0.tar.xz
eclipse.platform.swt-5ea94e70056200426b2124f82323195709f99dc0.zip
Suppress deprecations warnings.
For tests of deprecated method. Change-Id: I0d06befc87db71586784fd970d92efd4ce980d7f Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyledText.java3
1 files changed, 2 insertions, 1 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 a4eb7adce8..c5fceeec25 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
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2017 IBM Corporation and others.
+ * Copyright (c) 2000, 2018 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -1365,6 +1365,7 @@ public void test_getOffsetAtLineI() {
text.setText("");
assertEquals(":g:", 0, text.getOffsetAtLine(0));
}
+@SuppressWarnings("deprecation")
@Test
public void test_getOffsetAtLocationLorg_eclipse_swt_graphics_Point() {
boolean exceptionThrown = false;

Back to the top