Skip to content

Commit 42fac97

Browse files
sofurihafeEgorkaKulikov
authored andcommittedOct 17, 2022
Add parameterized test generation in CI (UnitTestBot#1114)
* Add parameterized test generation in ci * Little style corrections * Move *containsMocking* flag to UtSymbolicExecution Co-authored-by: Egor Kulikov <[email protected]>
1 parent 341a917 commit 42fac97

File tree

78 files changed

+352
-239
lines changed

Some content is hidden

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

78 files changed

+352
-239
lines changed
 

‎utbot-framework-api/src/main/kotlin/org/utbot/framework/plugin/api/Api.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ class UtSymbolicExecution(
137137
val staticFields: Set<FieldId>
138138
get() = stateBefore.statics.keys
139139

140+
var containsMocking: Boolean = false
141+
140142
override fun toString(): String = buildString {
141143
append("UtSymbolicExecution(")
142144
appendLine()

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ import org.utbot.tests.infrastructure.CodeGeneration
1717
internal class CorrectBracketSequencesTest : UtValueTestCaseChecker(
1818
testClass = CorrectBracketSequences::class,
1919
testCodeGeneration = true,
20-
languagePipelines = listOf(
21-
CodeGenerationLanguageLastStage(CodegenLanguage.JAVA),
22-
CodeGenerationLanguageLastStage(CodegenLanguage.KOTLIN, CodeGeneration) // TODO generics in lists
20+
pipelines = listOf(
21+
TestLastStage(CodegenLanguage.JAVA),
22+
TestLastStage(CodegenLanguage.KOTLIN, CodeGeneration) // TODO generics in lists
2323
)
2424
) {
2525
@Test

0 commit comments

Comments
 (0)
Please sign in to comment.