mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 11:53:49 +07:00
76 lines
2.6 KiB
Python
76 lines
2.6 KiB
Python
### auto-generated section `build intellij.devkit.java.tests` start
|
|
load("@rules_java//java:defs.bzl", "java_library")
|
|
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test")
|
|
|
|
jvm_resources(
|
|
name = "java-tests_test_resources",
|
|
files = glob(["testData/**/*"]),
|
|
strip_prefix = "testData"
|
|
)
|
|
|
|
java_library(
|
|
name = "java-tests",
|
|
visibility = ["//visibility:public"]
|
|
)
|
|
|
|
jvm_library(
|
|
name = "java-tests_test_lib",
|
|
visibility = ["//visibility:public"],
|
|
srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java"], allow_empty = True),
|
|
associates = ["//plugins/devkit/devkit-core:core"],
|
|
deps = [
|
|
"@lib//:jetbrains-annotations",
|
|
"//platform/editor-ui-api:editor-ui",
|
|
"//platform/indexing-api:indexing",
|
|
"//jps/model-api:model",
|
|
"//platform/refactoring",
|
|
"//platform/structure-view-impl:structureView-impl",
|
|
"//xml/xml-psi-impl:psi-impl",
|
|
"//spellchecker",
|
|
"//spellchecker:spellchecker_test_lib",
|
|
"//xml/xml-analysis-impl:analysis-impl",
|
|
"//platform/ide-core-impl",
|
|
"//java/execution/openapi:java-execution",
|
|
"//java/idea-ui:ui",
|
|
"//java/openapi:java",
|
|
"@lib//:assert_j",
|
|
"//xml/dom-impl",
|
|
"//jvm/jvm-analysis-api:analysis",
|
|
"//platform/usageView",
|
|
"//plugins/devkit/devkit-tests:testFramework",
|
|
"//plugins/devkit/devkit-tests:testFramework_test_lib",
|
|
"//platform/testFramework",
|
|
"//platform/testFramework:testFramework_test_lib",
|
|
"//java/compiler:compiler-tests_test_lib",
|
|
"//java/testFramework",
|
|
"//xml/dom-tests:dom-tests_test_lib",
|
|
"//plugins/properties:properties-backend",
|
|
"//platform/core-ui",
|
|
"//plugins/properties/properties-psi-impl:backend-psi",
|
|
"//plugins/devkit/intellij.devkit.themes:themes",
|
|
"//plugins/devkit/intellij.devkit.themes:themes_test_lib",
|
|
"//platform/platform-util-io:ide-util-io",
|
|
"//platform/util:util-ui",
|
|
"//tools/intellij.tools.ide.metrics.benchmark:ide-metrics-benchmark",
|
|
"//tools/intellij.tools.ide.metrics.benchmark:ide-metrics-benchmark_test_lib",
|
|
"//platform/testFramework/junit5",
|
|
"//platform/testFramework/junit5:junit5_test_lib",
|
|
"//java/compiler/impl",
|
|
"//plugins/devkit/runtimeModuleRepository/jps",
|
|
"//plugins/devkit/runtimeModuleRepository/jps:jps_test_lib",
|
|
"//plugins/kotlin/base/test:test_test_lib",
|
|
"//plugins/kotlin/base/plugin",
|
|
"//plugins/kotlin/base/plugin:plugin_test_lib",
|
|
"//java/codeserver/highlighting",
|
|
],
|
|
runtime_deps = [
|
|
":java-tests_test_resources",
|
|
"//plugins/devkit",
|
|
]
|
|
)
|
|
|
|
jvm_test(
|
|
name = "java-tests_test",
|
|
runtime_deps = [":java-tests_test_lib"]
|
|
)
|
|
### auto-generated section `build intellij.devkit.java.tests` end |