mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Don't reuse the same progress monitor across test runs.
This commit is contained in:
parent
054a1f7bf3
commit
6a55086327
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ public class DefinitionFinderTest extends RefactoringTestBase {
|
|||
for (IASTDeclaration declaration : ast.getDeclarations()) {
|
||||
if (declaration instanceof IASTSimpleDeclaration) {
|
||||
IASTName name = ((IASTSimpleDeclaration) declaration).getDeclarators()[0].getName();
|
||||
assertNotNull(DefinitionFinder.getDefinition(name, refactoringContext, NULL_PROGRESS_MONITOR));
|
||||
assertNotNull(DefinitionFinder.getDefinition(name, refactoringContext, npm()));
|
||||
}
|
||||
}
|
||||
} finally {
|
||||
|
|
Loading…
Add table
Reference in a new issue