mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
Move all tests and service classes for test to separate module
GitOrigin-RevId: 277d91be9d83cf4df38c2193ac923c2de2da114c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
5a2483751f
commit
192a0355ad
22
python/python-analysis-tool/intellij.python.analysisTool.iml
Normal file
22
python/python-analysis-tool/intellij.python.analysisTool.iml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?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$/src" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="module" module-name="intellij.platform.core" />
|
||||
<orderEntry type="module" module-name="intellij.python.psi" />
|
||||
<orderEntry type="module" module-name="intellij.python.psi.impl" />
|
||||
<orderEntry type="library" name="kotlin-stdlib-jdk8" level="project" />
|
||||
<orderEntry type="module" module-name="intellij.platform.core.impl" />
|
||||
<orderEntry type="module" module-name="intellij.platform.projectModel.impl" />
|
||||
<orderEntry type="module" module-name="intellij.platform.analysis.impl" />
|
||||
<orderEntry type="module" module-name="intellij.platform.serviceContainer" />
|
||||
<orderEntry type="library" name="JUnit4" level="project" scope="TEST"/>
|
||||
</component>
|
||||
</module>
|
||||
@@ -3,7 +3,6 @@ package com.intellij.openapi.vfs
|
||||
import com.intellij.openapi.util.text.StringUtil
|
||||
import java.io.*
|
||||
import java.nio.charset.Charset
|
||||
import java.nio.file.Files
|
||||
|
||||
private const val TEST_LOCAL_FS_PROTOCOL = "test_local"
|
||||
|
||||
@@ -76,7 +76,7 @@ open class PyPsiTestCase : TestCase() {
|
||||
protected var myPsiFile: PsiFile? = null
|
||||
|
||||
init {
|
||||
System.setProperty(PlatformUtils.PLATFORM_PREFIX_KEY, "PythonPsi")
|
||||
System.setProperty(PlatformUtils.PLATFORM_PREFIX_KEY, "PythonAnalysisTool")
|
||||
val loadedPlugins = PluginManagerCore.getLoadedPlugins(PyPsiTestCase::class.java.classLoader)
|
||||
myApplication.registerComponents(loadedPlugins)
|
||||
myApplication.picoContainer.registerComponentInstance(FileTypeRegistry::class.java, myFileTypeManager)
|
||||
@@ -5,7 +5,6 @@
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/gen" isTestSource="false" generated="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
@@ -22,6 +21,5 @@
|
||||
<orderEntry type="module" module-name="intellij.platform.projectModel.impl" />
|
||||
<orderEntry type="module" module-name="intellij.platform.analysis.impl" />
|
||||
<orderEntry type="module" module-name="intellij.platform.serviceContainer" />
|
||||
<orderEntry type="library" name="JUnit4" level="project" scope="TEST"/>
|
||||
</component>
|
||||
</module>
|
||||
Reference in New Issue
Block a user