[python] Add intellij.pycharm.community.ide.impl._test module descriptor to run tests in dev-mode (IJPL-116621)

GitOrigin-RevId: 3917526df9dbcb19638a2dbc4b442dc289eef33a
This commit is contained in:
Ilia Kirianovskii
2025-09-25 08:30:23 +00:00
committed by intellij-monorepo-bot
parent 4aef697527
commit 0e673a7f7f
3 changed files with 14 additions and 0 deletions
+7
View File
@@ -7,6 +7,12 @@ jvm_resources(
strip_prefix = "resources"
)
jvm_resources(
name = "impl_test_resources",
files = glob(["testResources/**/*"]),
strip_prefix = "testResources"
)
jvm_library(
name = "impl",
module_name = "intellij.pycharm.community.ide.impl",
@@ -126,6 +132,7 @@ jvm_library(
"@lib//:tuweni-toml-provided",
"//platform/non-modal-welcome-screen",
],
runtime_deps = [":impl_test_resources"],
plugins = ["@lib//:compose-plugin"]
)
### auto-generated section `build intellij.pycharm.community.ide.impl` end
@@ -28,6 +28,7 @@
<sourceFolder url="file://$MODULE_DIR$/gen" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/testResources" type="java-test-resource" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
@@ -0,0 +1,6 @@
<idea-plugin>
<dependencies>
<module name="intellij.platform.testFramework.junit5"/>
<module name="intellij.pycharm.community.ide.impl"/>
</dependencies>
</idea-plugin>