Adjust CLI tests for JSR305 annotations being extracted

See the previous commits
This commit is contained in:
Denis.Zharkov
2023-03-13 10:52:49 +01:00
committed by Space Team
parent 13febaf978
commit bcbe26287a
29 changed files with 39 additions and 7 deletions
@@ -17,4 +17,5 @@
package org.jetbrains.kotlin.checkers
const val FOREIGN_ANNOTATIONS_SOURCES_PATH = "third-party/annotations"
const val JSR_305_SOURCES_PATH = "third-party/jsr305"
const val FOREIGN_JDK8_ANNOTATIONS_SOURCES_PATH = "third-party/java8-annotations"
@@ -275,6 +275,10 @@ public abstract class AbstractCliTest extends TestCaseWithTmpdir {
"$FOREIGN_ANNOTATIONS_DIR$",
new File(ThirdPartyAnnotationPathsKt.FOREIGN_ANNOTATIONS_SOURCES_PATH).getPath()
)
.replace(
"$JSR_305_DECLARATIONS$",
new File(ThirdPartyAnnotationPathsKt.JSR_305_SOURCES_PATH).getPath()
)
.replace(
"$FOREIGN_JAVA8_ANNOTATIONS_DIR$",
new File(ThirdPartyAnnotationPathsKt.FOREIGN_JDK8_ANNOTATIONS_SOURCES_PATH).getPath()