mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Fixed broken build.
This commit is contained in:
parent
fc2f938a9f
commit
a0f44dc7cd
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ import org.eclipse.cdt.core.model.ITranslationUnit;
|
||||||
import org.eclipse.cdt.ui.tests.refactoring.RefactoringTest;
|
import org.eclipse.cdt.ui.tests.refactoring.RefactoringTest;
|
||||||
import org.eclipse.cdt.ui.tests.refactoring.TestSourceFile;
|
import org.eclipse.cdt.ui.tests.refactoring.TestSourceFile;
|
||||||
|
|
||||||
import org.eclipse.cdt.internal.ui.refactoring.utils.DefinitionFinder2;
|
import org.eclipse.cdt.internal.ui.refactoring.utils.DefinitionFinder;
|
||||||
|
|
||||||
public class DefinitionFinderTest extends RefactoringTest {
|
public class DefinitionFinderTest extends RefactoringTest {
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ public class DefinitionFinderTest extends RefactoringTest {
|
||||||
IASTTranslationUnit ast = astCache.getAST((ITranslationUnit) element, null);
|
IASTTranslationUnit ast = astCache.getAST((ITranslationUnit) element, null);
|
||||||
for (IASTDeclaration declaration : ast.getDeclarations()) {
|
for (IASTDeclaration declaration : ast.getDeclarations()) {
|
||||||
if (declaration instanceof IASTSimpleDeclaration) {
|
if (declaration instanceof IASTSimpleDeclaration) {
|
||||||
assertNotNull(DefinitionFinder2.getDefinition((IASTSimpleDeclaration) declaration, astCache, NULL_PROGRESS_MONITOR));
|
assertNotNull(DefinitionFinder.getDefinition((IASTSimpleDeclaration) declaration, astCache, NULL_PROGRESS_MONITOR));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue