File tree 1 file changed +16
-0
lines changed
kover-gradle-plugin/src/functionalTest/kotlin/kotlinx/kover/gradle/plugin/test/functional/cases
1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change
1
+ package kotlinx.kover.gradle.plugin.test.functional.cases
2
+
3
+ import kotlinx.kover.gradle.plugin.test.functional.framework.checker.CheckerContext
4
+ import kotlinx.kover.gradle.plugin.test.functional.framework.starter.TemplateTest
5
+ import kotlin.test.assertFalse
6
+
7
+ internal class GradleValidationTests {
8
+
9
+ // test on validation error https://github.com/gradle/gradle/issues/26018
10
+ @TemplateTest(" counters" , [" :koverXmlReport" ])
11
+ fun CheckerContext.testNestedTypes () {
12
+ assertFalse(" Nested classes validation error. \n Build log:\n $output " ) {
13
+ output.contains(" Nested types are expected to either declare some annotated properties or some behaviour that requires capturing the type as input" )
14
+ }
15
+ }
16
+ }
You can’t perform that action at this time.
0 commit comments