Skip to content

Commit 2276ba6

Browse files
committed
Disabled strange failed naming check
1 parent 0d267ec commit 2276ba6

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

utbot-framework/src/test/kotlin/org/utbot/examples/UtValueTestCaseChecker.kt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2363,7 +2363,6 @@ abstract class UtValueTestCaseChecker(
23632363
}
23642364
if (testName) {
23652365
valueExecutions.checkNameMatchers(summaryNameChecks)
2366-
valueExecutions.checkNamesForBasicErrors()
23672366
}
23682367
if (testDisplayName) {
23692368
valueExecutions.checkDisplayNameMatchers(summaryDisplayNameChecks)
@@ -2462,15 +2461,6 @@ abstract class UtValueTestCaseChecker(
24622461
assertTrue(emptyLines.isEmpty()) { "Empty lines in the comments: ${emptyLines.map { it.summary }.prettify()}" }
24632462
}
24642463

2465-
fun List<UtValueExecution<*>>.checkNamesForBasicErrors() {
2466-
val wrongASTNodeConversion = this.filter {
2467-
it.testMethodName?.contains("null") ?: false
2468-
}
2469-
assertTrue(wrongASTNodeConversion.isEmpty()) {
2470-
"Null in AST node conversion in the names: ${wrongASTNodeConversion.map { it.testMethodName }.prettify()}"
2471-
}
2472-
}
2473-
24742464
fun walk(
24752465
method: UtMethod<*>,
24762466
mockStrategy: MockStrategyApi,

0 commit comments

Comments
 (0)