add intellij.platform.testFramework.junit5 for extracting JUnit 5 integration into it

GitOrigin-RevId: c6abcc3db3efea6ae7f5a11fb503493094351808
This commit is contained in:
Daniil Ovchinnikov
2022-07-08 12:29:53 +02:00
committed by intellij-monorepo-bot
parent 3adadae647
commit e2f69db523
8 changed files with 22 additions and 0 deletions

1
.idea/modules.xml generated
View File

@@ -880,6 +880,7 @@
<module fileurl="file://$PROJECT_DIR$/platform/testFramework/intellij.platform.testFramework.iml" filepath="$PROJECT_DIR$/platform/testFramework/intellij.platform.testFramework.iml" />
<module fileurl="file://$PROJECT_DIR$/platform/testFramework/common/intellij.platform.testFramework.common.iml" filepath="$PROJECT_DIR$/platform/testFramework/common/intellij.platform.testFramework.common.iml" />
<module fileurl="file://$PROJECT_DIR$/platform/testFramework/core/intellij.platform.testFramework.core.iml" filepath="$PROJECT_DIR$/platform/testFramework/core/intellij.platform.testFramework.core.iml" />
<module fileurl="file://$PROJECT_DIR$/platform/testFramework/junit5/intellij.platform.testFramework.junit5.iml" filepath="$PROJECT_DIR$/platform/testFramework/junit5/intellij.platform.testFramework.junit5.iml" />
<module fileurl="file://$PROJECT_DIR$/platform/testFramework/ui/intellij.platform.testFramework.ui.iml" filepath="$PROJECT_DIR$/platform/testFramework/ui/intellij.platform.testFramework.ui.iml" />
<module fileurl="file://$PROJECT_DIR$/platform/testRunner/intellij.platform.testRunner.iml" filepath="$PROJECT_DIR$/platform/testRunner/intellij.platform.testRunner.iml" />
<module fileurl="file://$PROJECT_DIR$/platform/platform-tests/intellij.platform.tests.iml" filepath="$PROJECT_DIR$/platform/platform-tests/intellij.platform.tests.iml" />

View File

@@ -24,6 +24,7 @@ private val JAVA_IDE_API_MODULES: List<String> = java.util.List.of(
private val JAVA_IDE_IMPLEMENTATION_MODULES: List<String> = java.util.List.of(
"intellij.xml.dom.impl",
"intellij.platform.testFramework.common",
"intellij.platform.testFramework.junit5",
"intellij.platform.testFramework",
"intellij.tools.testsBootstrap"
)

View File

@@ -13,6 +13,7 @@ class MavenArtifactsBuilderTest {
checkCoordinates("intellij.java.debugger", "com.jetbrains.intellij.java", "java-debugger")
checkCoordinates("intellij.platform.util", "com.jetbrains.intellij.platform", "util")
checkCoordinates("intellij.platform.testFramework.common", "com.jetbrains.intellij.platform", "test-framework-common")
checkCoordinates("intellij.platform.testFramework.junit5", "com.jetbrains.intellij.platform", "test-framework-junit5")
checkCoordinates("intellij.platform.testFramework", "com.jetbrains.intellij.platform", "test-framework")
checkCoordinates("intellij.java.compiler.antTasks", "com.jetbrains.intellij.java", "java-compiler-ant-tasks")
checkCoordinates("intellij.platform.vcs.log", "com.jetbrains.intellij.platform", "vcs-log")

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" packagePrefix="com.intellij.testFramework.junit5" />
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" packagePrefix="com.intellij.testFramework.junit5" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="intellij.platform.testFramework.common" exported="" />
</component>
</module>

View File

@@ -0,0 +1 @@
]

View File

@@ -0,0 +1 @@
]

View File

@@ -0,0 +1 @@
]

View File

@@ -16,6 +16,7 @@ abstract class PyCharmPropertiesBase extends JetBrainsProductProperties {
productLayout.withAdditionalPlatformJar("testFramework.jar",
"intellij.platform.testFramework.core",
"intellij.platform.testFramework.common",
"intellij.platform.testFramework.junit5",
"intellij.platform.testFramework",
"intellij.tools.testsBootstrap",
"intellij.java.rt")
@@ -24,6 +25,7 @@ abstract class PyCharmPropertiesBase extends JetBrainsProductProperties {
mavenArtifacts.additionalModules = List.of(
"intellij.java.compiler.antTasks",
"intellij.platform.testFramework.common",
"intellij.platform.testFramework.junit5",
"intellij.platform.testFramework"
)
}