Refactoring: extract method for check test is AllFilesPresent test

This commit is contained in:
Nikolay Krasko
2015-12-14 16:28:36 +03:00
committed by Nikolay Krasko
parent 5cd23daf4e
commit e562b73eff
4 changed files with 9 additions and 4 deletions
@@ -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"