mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
66 lines
2.0 KiB
Python
66 lines
2.0 KiB
Python
### auto-generated section `build intellij.xml.tests` start
|
|
load("@rules_java//java:defs.bzl", "java_library")
|
|
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test")
|
|
|
|
jvm_resources(
|
|
name = "tests_test_resources",
|
|
files = glob(["testResources/**/*"]),
|
|
strip_prefix = "testResources"
|
|
)
|
|
|
|
java_library(
|
|
name = "tests",
|
|
visibility = ["//visibility:public"]
|
|
)
|
|
|
|
jvm_library(
|
|
name = "tests_test_lib",
|
|
visibility = ["//visibility:public"],
|
|
srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True),
|
|
associates = ["//xml/impl"],
|
|
deps = [
|
|
"@lib//:junit4",
|
|
"//platform/editor-ui-api:editor-ui",
|
|
"//platform/refactoring",
|
|
"//platform/structure-view-impl:structureView-impl",
|
|
"//java/testFramework",
|
|
"@lib//:xerces",
|
|
"//java/idea-ui:ui",
|
|
"//java/java-impl:impl",
|
|
"//platform/editor-ui-ex:editor-ex",
|
|
"//xml/testFramework",
|
|
"//platform/testFramework",
|
|
"//platform/testFramework:testFramework_test_lib",
|
|
"//plugins/ant",
|
|
"//plugins/ant:ant_test_lib",
|
|
"//plugins/xpath",
|
|
"//plugins/xpath:xpath_test_lib",
|
|
"//xml/dom-impl",
|
|
"//platform/platform-tests:tests_test_lib",
|
|
"//platform/ide-core-impl",
|
|
"@lib//:xml-resolver",
|
|
"//RegExpSupport:regexp",
|
|
"//RegExpSupport:regexp_test_lib",
|
|
"//platform/util/nanoxml",
|
|
"//plugins/IntelliLang:langInjection",
|
|
"//plugins/IntelliLang/java-support:java-langInjection",
|
|
"//xml/xml-analysis-impl:analysis-impl",
|
|
"//platform/core-ui",
|
|
"@lib//:assert_j",
|
|
"@lib//:guava",
|
|
"@lib//:jackson",
|
|
"//tools/intellij.tools.ide.metrics.benchmark:ide-metrics-benchmark",
|
|
"//tools/intellij.tools.ide.metrics.benchmark:ide-metrics-benchmark_test_lib",
|
|
"//images/backend.svg",
|
|
],
|
|
runtime_deps = [
|
|
":tests_test_resources",
|
|
"//plugins/IntelliLang/xml-support:xml-langInjection",
|
|
]
|
|
)
|
|
|
|
jvm_test(
|
|
name = "tests_test",
|
|
runtime_deps = [":tests_test_lib"]
|
|
)
|
|
### auto-generated section `build intellij.xml.tests` end |