mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 09:03:31 +07:00
IJPL-840 fix AutoLink tests
GitOrigin-RevId: cedb6c1af37a6fd7b44e60077665c62a84696dc2
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f53f4929b4
commit
d608c04b24
+4
-1
@@ -14,6 +14,7 @@ import com.intellij.openapi.util.io.getResolvedPath
|
||||
import com.intellij.openapi.util.io.toCanonicalPath
|
||||
import com.intellij.openapi.vfs.VirtualFile
|
||||
import com.intellij.projectImport.ProjectOpenProcessor
|
||||
import com.intellij.testFramework.StartupActivityTestUtil
|
||||
import com.intellij.testFramework.common.runAll
|
||||
import com.intellij.testFramework.fixtures.IdeaTestFixtureFactory
|
||||
import com.intellij.testFramework.fixtures.TempDirTestFixture
|
||||
@@ -60,7 +61,9 @@ abstract class AutoLinkTestCase {
|
||||
|
||||
suspend fun openProject(relativePath: String): Project {
|
||||
val projectRoot = testRoot.getDirectory(relativePath)
|
||||
return openProjectAsync(projectRoot, UnlinkedProjectStartupActivity())
|
||||
val project = openProjectAsync(projectRoot, UnlinkedProjectStartupActivity())
|
||||
StartupActivityTestUtil.waitForProjectActivitiesToComplete(project)
|
||||
return project
|
||||
}
|
||||
|
||||
fun createUnlinkedProjectAware(systemId: String, buildFileExtension: String): MockUnlinkedProjectAware {
|
||||
|
||||
Reference in New Issue
Block a user