mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ProjectProblemsViewPropertyTest: check if file has reported problems before modifications
GitOrigin-RevId: 6928ce906c06f7a189043d24379f6ca11a29a7e3
This commit is contained in:
committed by
intellij-monorepo-bot
parent
480f8ce774
commit
4fd1e215aa
+4
@@ -56,6 +56,7 @@ class ProjectProblemsViewPropertyTest : BaseUnivocityTest() {
|
||||
fun testAllFilesWithMemberNameReported() {
|
||||
RecursionManager.disableMissedCacheAssertions(testRootDisposable)
|
||||
PropertyChecker.customized()
|
||||
.withIterationCount(50)
|
||||
.checkScenarios { ImperativeCommand(this::doTestAllFilesWithMemberNameReported) }
|
||||
}
|
||||
|
||||
@@ -73,6 +74,9 @@ class ProjectProblemsViewPropertyTest : BaseUnivocityTest() {
|
||||
val members = findMembers(fileToChange)
|
||||
if (members.isEmpty()) continue
|
||||
|
||||
rehighlight(fileToChange)
|
||||
if (getFilesReportedByProblemSearch(fileToChange).isNotEmpty()) continue
|
||||
|
||||
env.logMessage("Selected file: ${fileToChange.name}")
|
||||
|
||||
val actual = changeSelectedFile(env, members, fileToChange)
|
||||
|
||||
Reference in New Issue
Block a user