mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
test code should use regular API to load project and not a custom one — migrate createProjectAndUseInLoadComponentStateMode
ProjectRule — dispose project after each test class, do not reuse for all tests setPath — use Path to have a more strict code (system dependent vs independent paths) and ability to use in-memory fs in tests GitOrigin-RevId: 121bef6a82321422b2f099c6a0ea10b951f811cb
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e92c406f07
commit
d8d7c53544
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.execution.impl
|
||||
|
||||
import com.intellij.execution.actions.ChooseRunConfigurationPopup
|
||||
@@ -41,7 +41,7 @@ internal class RunConfigurableTest {
|
||||
companion object {
|
||||
@JvmField
|
||||
@ClassRule
|
||||
val projectRule = ProjectRule()
|
||||
val projectRule = ProjectRule(runPostStartUpActivities = false)
|
||||
|
||||
private fun createRunManager(element: Element): RunManagerImpl {
|
||||
val runManager = RunManagerImpl(projectRule.project)
|
||||
|
||||
Reference in New Issue
Block a user