Update to 201.5259.13-EAP-SNAPSHOT

- No UIUtil.removeLeakingAppleListeners anymore
- getParameterHints nullability
- versions of lz4-java and guava were changed
This commit is contained in:
Nikolay Krasko
2020-02-14 17:42:30 +03:00
committed by Nikolay Krasko
parent 6c968859ad
commit 2340a86d8d
10 changed files with 1198 additions and 6 deletions
@@ -107,11 +107,13 @@ public abstract class KtUsefulTestCase extends TestCase {
@Override
protected void setUp() throws Exception {
// -- KOTLIN ADDITIONAL START --
application = ApplicationManager.getApplication();
if (application != null && application.isDisposed()) {
MockComponentManagerCreationTracer.diagnoseDisposedButNotClearedApplication(application);
}
// -- KOTLIN ADDITIONAL END --
super.setUp();
@@ -122,11 +124,13 @@ public abstract class KtUsefulTestCase extends TestCase {
myTempDir = FileUtil.createTempDirectory(TEMP_DIR_MARKER, testName, false);
FileUtil.resetCanonicalTempPathCache(myTempDir.getPath());
}
boolean isStressTest = isStressTest();
ApplicationInfoImpl.setInStressTest(isStressTest);
if (isPerformanceTest()) {
Timings.getStatistics();
}
// turn off Disposer debugging for performance tests
Disposer.setDebugMode(!isStressTest);
}
@@ -164,8 +168,10 @@ public abstract class KtUsefulTestCase extends TestCase {
}
finally {
super.tearDown();
// -- KOTLIN ADDITIONAL START --
TestApplicationUtilKt.resetApplicationToNull(application);
application = null;
// -- KOTLIN ADDITIONAL END --
}
}