1
0
Fork 0
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:
Sergey Prigogin 2013-03-12 20:08:16 -07:00
parent 054a1f7bf3
commit 6a55086327

View file

@ -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 {