Enable tests in generators module
This commit is contained in:
@@ -59,8 +59,8 @@ class ModulesDependenciesTest : TestCase() {
|
|||||||
badModulesList.isEmpty())
|
badModulesList.isEmpty())
|
||||||
}
|
}
|
||||||
|
|
||||||
fun testNoBadReferencesInNonCompilerTests() {
|
fun testNoModulesFromOtherTestConfigurationsInNonCompilerTests() {
|
||||||
val FORBIDDEN_MODULE_NAMES = MODULES_CAN_DEPEND_ON_COMPILER_TESTS.map { it.nameWithoutExtension }
|
val FORBIDDEN_MODULE_NAMES = listOf(COMPILER_TESTS_JAVA8_MODULE_FILE, COMPILER_TESTS_MODULE_FILE).map { it.nameWithoutExtension }
|
||||||
|
|
||||||
val moduleText = NON_COMPILER_TESTS_MODULE_FILE.readText()
|
val moduleText = NON_COMPILER_TESTS_MODULE_FILE.readText()
|
||||||
val nonCompilerTestsHasForbiddenDependencies = FORBIDDEN_MODULE_NAMES.none { moduleText.contains(it) }
|
val nonCompilerTestsHasForbiddenDependencies = FORBIDDEN_MODULE_NAMES.none { moduleText.contains(it) }
|
||||||
|
|||||||
@@ -33,5 +33,6 @@
|
|||||||
<orderEntry type="module" module-name="plugins-tests" scope="TEST" />
|
<orderEntry type="module" module-name="plugins-tests" scope="TEST" />
|
||||||
<orderEntry type="module" module-name="idea-android" scope="TEST" />
|
<orderEntry type="module" module-name="idea-android" scope="TEST" />
|
||||||
<orderEntry type="module" module-name="uast-kotlin" scope="TEST" />
|
<orderEntry type="module" module-name="uast-kotlin" scope="TEST" />
|
||||||
|
<orderEntry type="module" module-name="generators" />
|
||||||
</component>
|
</component>
|
||||||
</module>
|
</module>
|
||||||
Reference in New Issue
Block a user