Refactoring: extract method for check test is AllFilesPresent test
This commit is contained in:
committed by
Nikolay Krasko
parent
5cd23daf4e
commit
e562b73eff
+1
-2
@@ -124,8 +124,7 @@ public abstract class KotlinLightCodeInsightFixtureTestCase : LightCodeInsightFi
|
||||
return KotlinLightProjectDescriptor.INSTANCE
|
||||
}
|
||||
|
||||
protected fun isAllFilesPresentInTest(): Boolean
|
||||
= getTestName(false).startsWith("AllFilesPresentIn")
|
||||
protected fun isAllFilesPresentInTest(): Boolean = KotlinTestUtils.isAllFilesPresentTest(getTestName(false))
|
||||
|
||||
protected open fun fileName(): String
|
||||
= getTestName(false) + ".kt"
|
||||
|
||||
Reference in New Issue
Block a user