Merge 'getTestJdkKind' and 'getJdkKind' and move to base class

This commit is contained in:
Mikhael Bogdanov
2020-02-25 11:32:41 +01:00
parent 6e855f3bbd
commit 999b762288
15 changed files with 31 additions and 39 deletions
@@ -219,7 +219,7 @@ class CodegenTestsOnAndroidGenerator private constructor(private val pathManager
if (hasBoxMethod(fullFileText)) {
val testFiles = createTestFiles(file, fullFileText)
val kind = extractConfigurationKind(testFiles)
val jdkKind = getJdkKind(testFiles)
val jdkKind = getTestJdkKind(testFiles)
val keyConfiguration = CompilerConfiguration()
updateConfigurationByDirectivesInTestFiles(testFiles, keyConfiguration)