Package-level declarations

Types

Link copied to clipboard
class FindingAssert(val actual: Finding?) : AbstractAssert<FindingAssert, Finding>
Link copied to clipboard
class FindingsAssert(actual: List<Finding>) : AbstractListAssert<FindingsAssert, List<Finding>, Finding, FindingAssert>
Link copied to clipboard
class TestConfig(val parent: Config?, pairs: Pair<String, Any>) : Config

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun Rule.compileAndLint(content: String, compilerResources: CompilerResources = FakeCompilerResources()): List<Finding>
Link copied to clipboard
fun Rule.compileAndLintWithContext(environment: KotlinCoreEnvironment, content: String, compilerResources: CompilerResources = CompilerResources( environment.configuration.languageVersionSettings, DataFlowValueFactoryImpl(environment.configuration.languageVersionSettings) )): List<Finding>
Link copied to clipboard
fun KotlinCoreEnvironment.createBindingContext(files: List<KtFile>): BindingContext
Link copied to clipboard
fun FakeCompilerResources(mode: ExplicitApiMode = ExplicitApiMode.DISABLED): CompilerResources
Link copied to clipboard
fun Rule.lint(content: String, compilerResources: CompilerResources = FakeCompilerResources()): List<Finding>
fun Rule.lint(ktFile: KtFile, compilerResources: CompilerResources = FakeCompilerResources()): List<Finding>
Link copied to clipboard
fun Rule.lintWithContext(environment: KotlinCoreEnvironment, content: String, vararg additionalContents: String, compilerResources: CompilerResources = CompilerResources( environment.configuration.languageVersionSettings, DataFlowValueFactoryImpl(environment.configuration.languageVersionSettings) )): List<Finding>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard