mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
Includes declarativish testing of line mapping. GitOrigin-RevId: fc792139f4d40a2f5c88f09342030837be9839c8
52 lines
1.7 KiB
Python
52 lines
1.7 KiB
Python
### auto-generated section `build intellij.platform.diff.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(["testData/**/*"]),
|
|
strip_prefix = "testData"
|
|
)
|
|
|
|
java_library(
|
|
name = "tests",
|
|
visibility = ["//visibility:public"]
|
|
)
|
|
|
|
jvm_library(
|
|
name = "tests_test_lib",
|
|
visibility = ["//visibility:public"],
|
|
srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java"], allow_empty = True),
|
|
associates = ["//platform/diff-impl"],
|
|
deps = [
|
|
"//platform/core-api:core",
|
|
"//platform/diff-api:diff",
|
|
"//platform/editor-ui-api:editor-ui",
|
|
"//platform/testFramework",
|
|
"//platform/testFramework:testFramework_test_lib",
|
|
"//platform/platform-api:ide",
|
|
"//platform/platform-impl:ide-impl",
|
|
"//platform/platform-impl:ide-impl_test_lib",
|
|
"//platform/util/diff",
|
|
"//platform/vcs-api/vcs-api-core:vcs-core",
|
|
"//platform/vcs-api/vcs-api-core:vcs-core_test_lib",
|
|
"@lib//:mockito",
|
|
"//platform/analysis-api:analysis",
|
|
"//platform/editor-ui-ex:editor-ex",
|
|
"//platform/core-impl",
|
|
"@lib//:kotlin-test",
|
|
"//platform/vcs-impl",
|
|
"//platform/vcs-impl:vcs-impl_test_lib",
|
|
"//platform/platform-tests:tests_test_lib",
|
|
"//platform/core-ui",
|
|
"//tools/intellij.tools.ide.metrics.benchmark:ide-metrics-benchmark",
|
|
"//tools/intellij.tools.ide.metrics.benchmark:ide-metrics-benchmark_test_lib",
|
|
],
|
|
runtime_deps = [":tests_test_resources"]
|
|
)
|
|
|
|
jvm_test(
|
|
name = "tests_test",
|
|
runtime_deps = [":tests_test_lib"]
|
|
)
|
|
### auto-generated section `build intellij.platform.diff.tests` end |