File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
utbot-framework-test/src/test/kotlin/org/utbot/examples/codegen/deepequals Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ package org.utbot.examples.codegen.deepequals
2
+
3
+ import org.junit.jupiter.api.Disabled
4
+ import org.junit.jupiter.api.Test
5
+ import org.utbot.tests.infrastructure.DoNotCalculate
6
+ import org.utbot.tests.infrastructure.UtValueTestCaseChecker
7
+ import org.utbot.framework.plugin.api.CodegenLanguage
8
+ import org.utbot.testcheckers.eq
9
+ import org.utbot.tests.infrastructure.CodeGeneration
10
+
11
+ class ClassWithCrossReferenceRelationshipTest : UtValueTestCaseChecker (
12
+ testClass = ClassWithCrossReferenceRelationship : :class,
13
+ testCodeGeneration = true ,
14
+ languagePipelines = listOf(
15
+ CodeGenerationLanguageLastStage (CodegenLanguage .JAVA ),
16
+ CodeGenerationLanguageLastStage (CodegenLanguage .KOTLIN , CodeGeneration )
17
+ )
18
+ ) {
19
+ // TODO: The test is disabled due to [https://github.com/UnitTestBot/UTBotJava/issues/812]
20
+ @Disabled
21
+ @Test
22
+ fun testClassWithCrossReferenceRelationship () {
23
+ check(
24
+ ClassWithCrossReferenceRelationship ::returnFirstClass,
25
+ eq(2 ),
26
+ coverage = DoNotCalculate
27
+ )
28
+ }
29
+ }
You can’t perform that action at this time.
0 commit comments