mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[python] Add intellij.python.pyproject._test module descriptor to run tests in dev-mode (IJPL-116621)
GitOrigin-RevId: 6b0cddaa77c2357ae5a1168e315e08946beac7d5
This commit is contained in:
committed by
intellij-monorepo-bot
parent
733b787659
commit
1e3bda186d
@@ -92,7 +92,7 @@
|
||||
files:
|
||||
- name: $MAVEN_REPOSITORY$/io/consensys/tuweni/tuweni-toml/2/tuweni-toml-2.jar
|
||||
- name: $MAVEN_REPOSITORY$/org/antlr/antlr4-runtime/4/antlr4-runtime-4.jar
|
||||
reason: <- intellij.python.pyproject
|
||||
reason: <- intellij.python.community.impl
|
||||
- name: lib/xmlrpc.jar
|
||||
library: XmlRPC
|
||||
files:
|
||||
|
||||
@@ -7,6 +7,12 @@ jvm_resources(
|
||||
strip_prefix = "resources"
|
||||
)
|
||||
|
||||
jvm_resources(
|
||||
name = "pyproject_test_resources",
|
||||
files = glob(["testResources/**/*"]),
|
||||
strip_prefix = "testResources"
|
||||
)
|
||||
|
||||
jvm_library(
|
||||
name = "pyproject",
|
||||
module_name = "intellij.python.pyproject",
|
||||
@@ -20,7 +26,7 @@ jvm_library(
|
||||
"//python/python-sdk:sdk",
|
||||
"//platform/util",
|
||||
"//plugins/toml/core",
|
||||
"@lib//:tuweni-toml",
|
||||
"@lib//:tuweni-toml-provided",
|
||||
],
|
||||
runtime_deps = [":pyproject_resources"]
|
||||
)
|
||||
@@ -40,10 +46,11 @@ jvm_library(
|
||||
"//python/python-sdk:sdk_test_lib",
|
||||
"//platform/util",
|
||||
"//plugins/toml/core",
|
||||
"@lib//:tuweni-toml",
|
||||
"@lib//:tuweni-toml-provided",
|
||||
"@lib//:junit5",
|
||||
"@lib//:junit5Params",
|
||||
]
|
||||
],
|
||||
runtime_deps = [":pyproject_test_resources"]
|
||||
)
|
||||
### auto-generated section `build intellij.python.pyproject` end
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/testResources" type="java-test-resource" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
@@ -16,7 +17,7 @@
|
||||
<orderEntry type="module" module-name="intellij.python.sdk" />
|
||||
<orderEntry type="module" module-name="intellij.platform.util" />
|
||||
<orderEntry type="module" module-name="intellij.toml.core" />
|
||||
<orderEntry type="library" name="tuweni-toml" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="tuweni-toml" level="project" />
|
||||
<orderEntry type="library" scope="TEST" name="JUnit5" level="project" />
|
||||
<orderEntry type="library" scope="TEST" name="JUnit5Params" level="project" />
|
||||
</component>
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
<idea-plugin>
|
||||
<dependencies>
|
||||
<module name="intellij.libraries.junit5.params"/>
|
||||
<module name="intellij.python.pyproject"/>
|
||||
</dependencies>
|
||||
</idea-plugin>
|
||||
Reference in New Issue
Block a user