[Native][tests] Minor. Rename internal functions
This commit is contained in:
+1
-1
@@ -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()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user