diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/AbstractClassShouldBeInterfaceCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/AbstractClassShouldBeInterfaceCheckTest.kt index 3e54fa617..d47e3427c 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/AbstractClassShouldBeInterfaceCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/AbstractClassShouldBeInterfaceCheckTest.kt @@ -20,4 +20,4 @@ package org.sonarsource.kotlin.checks internal class AbstractClassShouldBeInterfaceCheckTest : CheckTest(AbstractClassShouldBeInterfaceCheck()), - CheckTestNonCompiling by CheckTestNonCompilingImpl(AbstractClassShouldBeInterfaceCheck()) + CheckTestNonCompiling by DefaultCheckTestNonCompiling(AbstractClassShouldBeInterfaceCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CheckTestNonCompiling.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CheckTestNonCompiling.kt index 4b6326f39..aecd32647 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CheckTestNonCompiling.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CheckTestNonCompiling.kt @@ -32,7 +32,7 @@ interface CheckTestNonCompiling { fun `non compiling`() } -class CheckTestNonCompilingImpl( +class DefaultCheckTestNonCompiling( val check: AbstractCheck, private val sampleFileNonCompiling: String? = null, private val shouldReport: Boolean = false,