mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 06:50:54 +07:00
[yaml] IJ-CR-147338 Moved gitlab-yaml test to the corresponding module
(cherry picked from commit 01522449f631d7720055dfb080ed849d769559fe) GitOrigin-RevId: 4daf61723842890013ecf4d507531611899acffe
This commit is contained in:
committed by
intellij-monorepo-bot
parent
56849ee0b9
commit
e020e4a58b
@@ -5,6 +5,7 @@
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/testSrc" isTestSource="true" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
@@ -12,5 +13,7 @@
|
||||
<orderEntry type="module" module-name="intellij.yaml" />
|
||||
<orderEntry type="library" name="kotlin-stdlib" level="project" />
|
||||
<orderEntry type="module" module-name="intellij.platform.util.base" />
|
||||
<orderEntry type="module" module-name="intellij.platform.testFramework" scope="TEST" />
|
||||
<orderEntry type="module" module-name="intellij.json.tests" scope="TEST" />
|
||||
</component>
|
||||
</module>
|
||||
@@ -4,7 +4,6 @@ package org.jetbrains.plugins.gitlab.yaml
|
||||
import com.intellij.testFramework.fixtures.BasePlatformTestCase
|
||||
import com.jetbrains.jsonSchema.JsonSchemaHighlightingTestBase
|
||||
import org.jetbrains.yaml.schema.YamlJsonSchemaHighlightingInspection
|
||||
import java.util.function.Predicate
|
||||
|
||||
internal class GitlabYamlJsonSchemaValidationTest : BasePlatformTestCase() {
|
||||
override fun setUp() {
|
||||
@@ -41,7 +40,7 @@ internal class GitlabYamlJsonSchemaValidationTest : BasePlatformTestCase() {
|
||||
}
|
||||
}
|
||||
}
|
||||
""".trimIndent(), ".json", Predicate { true })
|
||||
""".trimIndent(), ".json") { true }
|
||||
}
|
||||
|
||||
fun `test custom gitlab ci yaml tags does not produce warnings`() {
|
||||
@@ -73,7 +73,5 @@
|
||||
<orderEntry type="module" module-name="intellij.platform.util.coroutines" />
|
||||
<orderEntry type="library" scope="TEST" name="io.mockk" level="project" />
|
||||
<orderEntry type="library" scope="TEST" name="io.mockk.jvm" level="project" />
|
||||
<orderEntry type="module" module-name="intellij.yaml" scope="TEST" />
|
||||
<orderEntry type="module" module-name="intellij.json.tests" scope="TEST" />
|
||||
</component>
|
||||
</module>
|
||||
Reference in New Issue
Block a user