toggle menu
detekt
1.23.2
jvm
switch theme
search in API
detekt-test-utils
/
io.github.detekt.test.utils
/
compileContentForTest
compile
Content
For
Test
fun
compileContentForTest
(
content
:
String
,
filename
:
String
=
TEST_FILENAME
)
:
KtFile
Use this method if you define a kt file/class as a plain string in your test.