Skip to content

Commit

Permalink
fix: Python tests (#6954)
Browse files Browse the repository at this point in the history
* fix: Python tests

* fix: Python tests for CE
  • Loading branch information
Tomasz Pasternak authored Nov 4, 2024
1 parent 6eba3a5 commit 06bdbb5
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions intellij_platform_sdk/BUILD.idea241
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,11 @@ java_import(
jars = glob(["plugins/cwm-plugin/lib/*.jar"]),
)

java_import(
name = "json",
jars = glob(["plugins/json/lib/*.jar"])
)

# The plugins required by IJwB. We need to include them
# when running integration tests.
java_import(
Expand Down
5 changes: 5 additions & 0 deletions intellij_platform_sdk/BUILD.idea242
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ java_import(
jars = glob(["plugins/cwm-plugin/lib/*.jar"]),
)

java_import(
name = "json",
jars = glob(["plugins/json/lib/*.jar"])
)

# The plugins required by IJwB. We need to include them
# when running integration tests.
java_import(
Expand Down
5 changes: 5 additions & 0 deletions intellij_platform_sdk/BUILD.idea243
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ java_import(
jars = glob(["plugins/cwm-plugin/lib/*.jar"]),
)

java_import(
name = "json",
jars = glob(["plugins/json/lib/*.jar"])
)

# The plugins required by IJwB. We need to include them
# when running integration tests.
java_import(
Expand Down
2 changes: 2 additions & 0 deletions python/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ intellij_integration_test_suite(
"//base",
"//base:integration_test_utils",
"//base:unit_test_utils",
"//intellij_platform_sdk:json_for_tests",
"//intellij_platform_sdk:jsr305",
"//intellij_platform_sdk:plugin_api_for_tests",
"//intellij_platform_sdk:test_libs",
Expand All @@ -92,6 +93,7 @@ intellij_integration_test_suite(
"//third_party/toml:toml_for_tests",
"@com_google_guava_guava//jar",
"@junit//jar",
"@org_opentest4j_opentest4j//jar",
],
)

Expand Down
3 changes: 3 additions & 0 deletions third_party/toml/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ java_library(
visibility = ["//visibility:private"],
exports = select_for_plugin_api({
"intellij-2024.1": ["@toml_2024_1//:toml"],
"intellij-ue-2024.1": ["@toml_2024_1//:toml"],
"intellij-2024.2": ["@toml_2024_2//:toml"],
"intellij-ue-2024.2": ["@toml_2024_2//:toml"],
"intellij-2024.3": ["@toml_2024_3//:toml"],
"intellij-ue-2024.3": ["@toml_2024_3//:toml"],
"default": [],
}),
)
Expand Down

0 comments on commit 06bdbb5

Please sign in to comment.