[Native][tests] Minor. Rename internal functions

This commit is contained in:
Dmitriy Dolovov
2021-11-12 17:21:51 +03:00
parent fb0dda5a24
commit 55a2d5cb4a
2 changed files with 2 additions and 2 deletions
@@ -14,6 +14,6 @@ abstract class AbstractNativeBlackBoxTest {
internal lateinit var testRunProvider: TestRunProvider internal lateinit var testRunProvider: TestRunProvider
fun runTest(@TestDataFile testDataFilePath: String) { fun runTest(@TestDataFile testDataFilePath: String) {
testRunProvider.getSingleTestRunForTestDataFile(getAbsoluteFile(testDataFilePath)).runAndVerify() testRunProvider.getSingleTestRun(getAbsoluteFile(testDataFilePath)).runAndVerify()
} }
} }
@@ -22,7 +22,7 @@ internal class TestRunProvider(
private val compilationFactory = TestCompilationFactory(environment) private val compilationFactory = TestCompilationFactory(environment)
private val cachedCompilations = ThreadSafeCache<TestCompilationCacheKey, TestCompilation>() private val cachedCompilations = ThreadSafeCache<TestCompilationCacheKey, TestCompilation>()
fun getSingleTestRunForTestDataFile(testDataFile: File): TestRun { fun getSingleTestRun(testDataFile: File): TestRun {
environment.assertNotDisposed() environment.assertNotDisposed()
val testDataDir = testDataFile.parentFile val testDataDir = testDataFile.parentFile