Package-level declarations
Types
Link copied to clipboard
The object to use the Kotlin Analysis API for code compilation.
Link copied to clipboard
class KotlinEnvironmentContainer(val javaSourceRoots: List<Path>, val jvmClasspathRoots: List<Path>)
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
fun compileContentForTest(content: String, environment: KotlinEnvironmentContainer, kotlinAnalysisApiEngine: KotlinAnalysisApiEngine, filename: String = "Test.kt"): KtFile
Use this method if you define a kt file/class as a plain string in your test.
Link copied to clipboard
Use this method if you test a kt file/class in the test resources.
Link copied to clipboard
fun createEnvironment(additionalJavaSourceRootPaths: List<Path> = emptyList()): KotlinEnvironmentContainer
Create a KotlinEnvironmentContainer used for test.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard