Skip to content

Commit 4abfb69

Browse files
committed
Imports and dependencies
1 parent 6e5cd0e commit 4abfb69

File tree

166 files changed

+151
-489
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

166 files changed

+151
-489
lines changed

utbot-analytics/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ dependencies {
3333
implementation group: 'org.apache.commons', name: 'commons-text', version: '1.9'
3434
implementation group: 'com.github.javaparser', name: 'javaparser-core', version: '3.22.1'
3535

36+
testImplementation project(':utbot-framework-test').sourceSets.main.output
3637
testImplementation project(':utbot-framework').sourceSets.test.output
3738
}
3839

utbot-analytics/src/main/kotlin/org/utbot/features/FeatureProcessorWithStatesRepetition.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class FeatureProcessorWithStatesRepetition(
107107
}
108108
}
109109

110-
internal class RewardEstimator {
110+
class RewardEstimator {
111111

112112
fun calculateRewards(testCases: List<TestCase>): Map<Int, Double> {
113113
val rewards = mutableMapOf<Int, Double>()

utbot-analytics/src/test/kotlin/org/utbot/features/FeatureProcessorWithRepetitionTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import org.junit.jupiter.api.Assertions
55
import org.junit.jupiter.api.BeforeAll
66
import org.junit.jupiter.api.Test
77
import org.utbot.analytics.EngineAnalyticsContext
8-
import org.utbot.tests.infrastructure.UtValueTestCaseChecker
98
import org.utbot.testcheckers.eq
109
import org.utbot.testcheckers.withFeaturePath
10+
import org.utbot.testing.UtValueTestCaseChecker
1111
import java.io.File
1212
import java.io.FileInputStream
1313

utbot-framework-test/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
22
kotlinOptions {
3-
jvmTarget = JavaVersion.VERSION_11
3+
jvmTarget = JavaVersion.VERSION_1_8
44
freeCompilerArgs += ["-Xallow-result-return-type", "-Xsam-conversions=class"]
55
}
66
}

utbot-framework-test/src/test/kotlin/org/utbot/examples/algorithms/BinarySearchTest.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
package org.utbot.examples.algorithms
22

3-
import org.utbot.tests.infrastructure.UtValueTestCaseChecker
4-
import org.utbot.tests.infrastructure.ignoreExecutionsNumber
5-
import org.utbot.tests.infrastructure.isException
63
import org.utbot.framework.plugin.api.DocCodeStmt
74
import org.utbot.framework.plugin.api.DocPreTagStatement
85
import org.utbot.framework.plugin.api.DocRegularStmt
96
import org.utbot.framework.plugin.api.DocStatement
107
import org.junit.jupiter.api.Test
8+
import org.utbot.testing.UtValueTestCaseChecker
9+
import org.utbot.testing.ignoreExecutionsNumber
10+
import org.utbot.testing.isException
1111

1212
class BinarySearchTest : UtValueTestCaseChecker(testClass = BinarySearch::class,) {
1313
@Test

utbot-framework-test/src/test/kotlin/org/utbot/examples/algorithms/CorrectBracketSequencesTest.kt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,11 @@
11
package org.utbot.examples.algorithms
22

3-
import org.utbot.tests.infrastructure.UtValueTestCaseChecker
4-
import org.utbot.examples.algorithms.CorrectBracketSequences.isBracket
5-
import org.utbot.examples.algorithms.CorrectBracketSequences.isOpen
6-
import org.utbot.tests.infrastructure.ignoreExecutionsNumber
7-
import org.utbot.tests.infrastructure.isException
8-
import org.utbot.tests.infrastructure.keyMatch
93
import org.utbot.framework.plugin.api.CodegenLanguage
104
import org.utbot.framework.plugin.api.DocCodeStmt
115
import org.utbot.framework.plugin.api.DocPreTagStatement
126
import org.utbot.framework.plugin.api.DocRegularStmt
137
import org.junit.jupiter.api.Test
148
import org.utbot.testcheckers.eq
15-
import org.utbot.tests.infrastructure.CodeGeneration
169

1710
internal class CorrectBracketSequencesTest : UtValueTestCaseChecker(
1811
testClass = CorrectBracketSequences::class,

utbot-framework-test/src/test/kotlin/org/utbot/examples/algorithms/GraphTest.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
package org.utbot.examples.algorithms
22

3-
import org.utbot.tests.infrastructure.UtValueTestCaseChecker
4-
import org.utbot.tests.infrastructure.ignoreExecutionsNumber
5-
import org.utbot.tests.infrastructure.isException
63
import org.junit.jupiter.api.Tag
74
import org.junit.jupiter.api.Test
85
import org.utbot.testcheckers.eq

utbot-framework-test/src/test/kotlin/org/utbot/examples/algorithms/SortTest.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
package org.utbot.examples.algorithms
22

3-
import org.utbot.tests.infrastructure.UtValueTestCaseChecker
4-
import org.utbot.tests.infrastructure.ignoreExecutionsNumber
5-
import org.utbot.tests.infrastructure.isException
6-
import org.utbot.tests.infrastructure.keyMatch
73
import org.utbot.framework.plugin.api.DocCodeStmt
84
import org.utbot.framework.plugin.api.DocPreTagStatement
95
import org.utbot.framework.plugin.api.DocRegularStmt
@@ -12,7 +8,6 @@ import org.junit.jupiter.api.Test
128
import org.utbot.framework.plugin.api.CodegenLanguage
139
import org.utbot.testcheckers.eq
1410
import org.utbot.testcheckers.ge
15-
import org.utbot.tests.infrastructure.CodeGeneration
1611

1712
// TODO Kotlin mocks generics https://github.com/UnitTestBot/UTBotJava/issues/88
1813
internal class SortTest : UtValueTestCaseChecker(

utbot-framework-test/src/test/kotlin/org/utbot/examples/annotations/NotNullAnnotationTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package org.utbot.examples.annotations
22

3-
import org.utbot.tests.infrastructure.UtValueTestCaseChecker
43
import org.junit.jupiter.api.Disabled
54
import org.junit.jupiter.api.Test
65
import org.utbot.testcheckers.eq
6+
import org.utbot.testing.UtValueTestCaseChecker
77

88
internal class NotNullAnnotationTest : UtValueTestCaseChecker(testClass = NotNullAnnotation::class) {
99
@Test

utbot-framework-test/src/test/kotlin/org/utbot/examples/annotations/lombok/EnumWithAnnotationsTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package org.utbot.examples.annotations.lombok
22

33
import org.junit.jupiter.api.Test
4-
import org.utbot.tests.infrastructure.DoNotCalculate
5-
import org.utbot.tests.infrastructure.UtValueTestCaseChecker
64
import org.utbot.testcheckers.eq
5+
import org.utbot.testing.DoNotCalculate
6+
import org.utbot.testing.UtValueTestCaseChecker
77

88
/**
99
* Tests for Lombok annotations

0 commit comments

Comments
 (0)