Fix AbstractScratchRunActionTest.kt and remove usages of projectDisposable

This commit is contained in:
Nikolay Krasko
2018-04-16 18:24:40 +03:00
parent ff63ba4dc1
commit 349f16aa64
9 changed files with 41 additions and 472 deletions
@@ -0,0 +1,15 @@
/*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.compatibility
import com.intellij.openapi.Disposable
import com.intellij.testFramework.fixtures.CodeInsightTestFixture
/**
* Method was introduced in 173 idea. Should be dropped after abandoning 172 branch.
* BUNCH: 173
*/
val CodeInsightTestFixture.projectDisposableEx: Disposable get() = projectDisposable
@@ -0,0 +1,15 @@
/*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.compatibility
import com.intellij.openapi.Disposable
import com.intellij.testFramework.fixtures.CodeInsightTestFixture
/**
* Method was introduced in 173 idea. Should be dropped after abandoning 172 branch.
* BUNCH: 173
*/
val CodeInsightTestFixture.projectDisposableEx: Disposable get() = project