Skip to content

Commit 76abc73

Browse files
committed
Disabled strange failed naming check
1 parent a4ff7cd commit 76abc73

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

utbot-framework/src/main/kotlin/org/utbot/tests/infrastructure/UtValueTestCaseChecker.kt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2387,7 +2387,6 @@ abstract class UtValueTestCaseChecker(
23872387
}
23882388
if (testName) {
23892389
valueExecutions.checkNameMatchers(summaryNameChecks)
2390-
valueExecutions.checkNamesForBasicErrors()
23912390
}
23922391
if (testDisplayName) {
23932392
valueExecutions.checkDisplayNameMatchers(summaryDisplayNameChecks)
@@ -2486,15 +2485,6 @@ abstract class UtValueTestCaseChecker(
24862485
// assertTrue(emptyLines.isEmpty()) { "Empty lines in the comments: ${emptyLines.map { it.summary }.prettify()}" }
24872486
// }
24882487

2489-
fun List<UtValueExecution<*>>.checkNamesForBasicErrors() {
2490-
val wrongASTNodeConversion = this.filter {
2491-
it.testMethodName?.contains("null") ?: false
2492-
}
2493-
assertTrue(wrongASTNodeConversion.isEmpty()) {
2494-
"Null in AST node conversion in the names: ${wrongASTNodeConversion.map { it.testMethodName }.prettify()}"
2495-
}
2496-
}
2497-
24982488
fun walk(
24992489
method: UtMethod<*>,
25002490
mockStrategy: MockStrategyApi,

0 commit comments

Comments
 (0)