mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[Recent Tests] Set suite magnitude to failed if it's marked as passed, but some of suite's test is failed
This commit is contained in:
@@ -79,6 +79,16 @@ class SuiteEntry(url: String, magnitude: TestStateInfo.Magnitude, runDate: Date)
|
||||
return listOf(this)
|
||||
}
|
||||
|
||||
override val magnitude: TestStateInfo.Magnitude by lazy {
|
||||
tests.forEach {
|
||||
if (it.magnitude != super.magnitude) {
|
||||
return@lazy it.magnitude
|
||||
}
|
||||
}
|
||||
|
||||
super.magnitude
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user