IDEA 142.4859.6: Invalidate library cache in setUp() to prevent access to
ClsFiles invalidated by the previous test
This commit is contained in:
committed by
Alexey Sedunov
parent
a892d3f995
commit
8603a36404
+7
@@ -26,6 +26,7 @@ import com.intellij.openapi.util.text.StringUtil;
|
||||
import org.apache.commons.lang.SystemUtils;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.kotlin.idea.completion.test.TestPackage;
|
||||
import org.jetbrains.kotlin.idea.test.TestUtilsKt;
|
||||
import org.jetbrains.kotlin.test.InTextDirectivesUtils;
|
||||
|
||||
import java.io.File;
|
||||
@@ -53,6 +54,12 @@ public class JetConfidenceTest extends LightCompletionTestCase {
|
||||
doTest();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void setUp() throws Exception {
|
||||
super.setUp();
|
||||
TestUtilsKt.invalidateLibraryCache(getProject());
|
||||
}
|
||||
|
||||
protected void doTest() {
|
||||
boolean completeByChars = CodeInsightSettings.getInstance().SELECT_AUTOPOPUP_SUGGESTIONS_BY_CHARS;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user