Skip to main content
summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorAlexander Kurtakov2014-07-28 16:20:19 -0400
committerMarc Khouzam2014-07-29 08:15:40 -0400
commit6534051b1ba5da445dd4d70a33c3f8d28b140c54 (patch)
treee381d231f4f954176101a737a0b155c9609a819e /util
parente26e8a60c064b7eeb52b2029ad91ee35e03e2b5f (diff)
downloadorg.eclipse.cdt-6534051b1ba5da445dd4d70a33c3f8d28b140c54.tar.gz
org.eclipse.cdt-6534051b1ba5da445dd4d70a33c3f8d28b140c54.tar.xz
org.eclipse.cdt-6534051b1ba5da445dd4d70a33c3f8d28b140c54.zip
Don't use deprecated junit.framework.Assert.
The replacment is org.junit.Assert. Change-Id: I44bd6da6e19f9d69f91eb1ad251bd6e259ff67a9 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/30629 Tested-by: Hudson CI Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
Diffstat (limited to 'util')
-rw-r--r--util/org.eclipse.cdt.util/src/org/eclipse/cdt/internal/core/parser/util/DOMSearchUtil.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/org.eclipse.cdt.util/src/org/eclipse/cdt/internal/core/parser/util/DOMSearchUtil.java b/util/org.eclipse.cdt.util/src/org/eclipse/cdt/internal/core/parser/util/DOMSearchUtil.java
index baff606b4b..76eb335737 100644
--- a/util/org.eclipse.cdt.util/src/org/eclipse/cdt/internal/core/parser/util/DOMSearchUtil.java
+++ b/util/org.eclipse.cdt.util/src/org/eclipse/cdt/internal/core/parser/util/DOMSearchUtil.java
@@ -11,11 +11,11 @@
*******************************************************************************/
package org.eclipse.cdt.internal.core.parser.util;
+import static org.junit.Assert.fail;
+
import java.util.ArrayList;
import java.util.List;
-import junit.framework.Assert;
-
import org.eclipse.cdt.core.CCorePlugin;
import org.eclipse.cdt.core.dom.IName;
import org.eclipse.cdt.core.dom.ast.ASTVisitor;
@@ -135,7 +135,7 @@ public class DOMSearchUtil {
IBinding binding = searchName.resolveBinding();
if (binding instanceof IIndexBinding) {
- Assert.fail("Not implemented");
+ fail("Not implemented");
// try {
// ArrayList pdomNames = new ArrayList();
// IPDOMResolver pdom= ((PDOMBinding) binding).getPDOM();

Back to the top