javac ast indices: improve a test

This commit is contained in:
Dmitry Batkovich
2016-12-21 23:20:51 +03:00
parent fcc1641323
commit 4c6c0c8bfe

View File

@@ -173,7 +173,7 @@ public class CompilerReferencesFindUsagesTest extends DaemonAnalyzerTestCase {
try {
configureByFiles(getName(), Arrays.stream(testFiles).map(f -> getName() + "/" + f).toArray(String[]::new));
excludesConfigurationPatcher.consume(excludesConfiguration);
//assertSize(expectedUsagesCount, FunctionalExpressionSearch.search(myJavaFacade.findClass(CommonClassNames.JAVA_LANG_RUNNABLE)).findAll());
assertSize(expectedUsagesCount, FunctionalExpressionSearch.search(myJavaFacade.findClass(CommonClassNames.JAVA_LANG_RUNNABLE)).findAll());
myCompilerTester.rebuild();
assertSize(expectedUsagesCount, FunctionalExpressionSearch.search(myJavaFacade.findClass(CommonClassNames.JAVA_LANG_RUNNABLE)).findAll());
} finally {