Add cache comparator for incremental gradle tests
Add logic that rebuilds all sources after the last incremental round of each Gradle IC test and compares caches. The same was already implemented for JPS, but not for Gradle. After all rounds of incremental compilation are completed, another clean build from scratch is produced. All caches after the rebuild are compared with the caches of the last round of incremental compilation. This check is necessary because incremental compilation artifacts should depend on the state of the project, source files, and configuration, and not the chain of changes and incremental builds that led to this state. After the launch, there were several tests that did not satisfy the above conditions, and were muted (KT-56681, KT-55195, KT-56242, KT-56698) #KT-54991 In Progress
This commit is contained in:
committed by
Space Team
parent
ae8428e8d0
commit
2e453051f9
@@ -54,7 +54,7 @@ abstract class BasicMap<K : Comparable<K>, V, StorageType : LazyStorage<K, V>>(
|
|||||||
fun dump(): String {
|
fun dump(): String {
|
||||||
return with(StringBuilder()) {
|
return with(StringBuilder()) {
|
||||||
with(Printer(this)) {
|
with(Printer(this)) {
|
||||||
println(this@BasicMap::class.java.simpleName)
|
println("${storageFile.name.substringBefore(".tab")} (${this@BasicMap::class.java.simpleName})")
|
||||||
pushIndent()
|
pushIndent()
|
||||||
|
|
||||||
for (key in storage.keys.sorted()) {
|
for (key in storage.keys.sorted()) {
|
||||||
|
|||||||
+1
-1
@@ -68,7 +68,7 @@ abstract class IncrementalCachesManager<PlatformCache : AbstractIncrementalCache
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class IncrementalJvmCachesManager(
|
open class IncrementalJvmCachesManager(
|
||||||
icContext: IncrementalCompilationContext,
|
icContext: IncrementalCompilationContext,
|
||||||
outputDir: File?,
|
outputDir: File?,
|
||||||
cachesRootDir: File,
|
cachesRootDir: File,
|
||||||
|
|||||||
+3
-1
@@ -456,7 +456,7 @@ abstract class IncrementalCompilerRunner<
|
|||||||
caches.platformCache.markDirty(dirtySources)
|
caches.platformCache.markDirty(dirtySources)
|
||||||
caches.inputsCache.removeOutputForSourceFiles(dirtySources)
|
caches.inputsCache.removeOutputForSourceFiles(dirtySources)
|
||||||
|
|
||||||
val lookupTracker = LookupTrackerImpl(LookupTracker.DO_NOTHING)
|
val lookupTracker = LookupTrackerImpl(getLookupTrackerDelegate())
|
||||||
val expectActualTracker = ExpectActualTrackerImpl()
|
val expectActualTracker = ExpectActualTrackerImpl()
|
||||||
//TODO(valtman) sourceToCompile calculate based on abiSnapshot
|
//TODO(valtman) sourceToCompile calculate based on abiSnapshot
|
||||||
val (sourcesToCompile, removedKotlinSources) = dirtySources.partition { it.exists() && allKotlinSources.contains(it) }
|
val (sourcesToCompile, removedKotlinSources) = dirtySources.partition { it.exists() && allKotlinSources.contains(it) }
|
||||||
@@ -577,6 +577,8 @@ abstract class IncrementalCompilerRunner<
|
|||||||
return exitCode
|
return exitCode
|
||||||
}
|
}
|
||||||
|
|
||||||
|
open fun getLookupTrackerDelegate(): LookupTracker = LookupTracker.DO_NOTHING
|
||||||
|
|
||||||
protected fun getRemovedClassesChanges(
|
protected fun getRemovedClassesChanges(
|
||||||
caches: IncrementalCachesManager<*>,
|
caches: IncrementalCachesManager<*>,
|
||||||
changedFiles: ChangedFiles.Known
|
changedFiles: ChangedFiles.Known
|
||||||
|
|||||||
+1
-1
@@ -62,7 +62,7 @@ import org.jetbrains.kotlin.platform.jvm.JvmPlatforms
|
|||||||
import org.jetbrains.kotlin.progress.CompilationCanceledException
|
import org.jetbrains.kotlin.progress.CompilationCanceledException
|
||||||
import java.io.File
|
import java.io.File
|
||||||
|
|
||||||
class IncrementalFirJvmCompilerRunner(
|
open class IncrementalFirJvmCompilerRunner(
|
||||||
workingDir: File,
|
workingDir: File,
|
||||||
reporter: BuildReporter,
|
reporter: BuildReporter,
|
||||||
buildHistoryFile: File,
|
buildHistoryFile: File,
|
||||||
|
|||||||
+43
-6
@@ -27,10 +27,25 @@ import org.junit.Assert
|
|||||||
import java.io.File
|
import java.io.File
|
||||||
|
|
||||||
abstract class AbstractIncrementalCompilerRunnerTestBase<Args : CommonCompilerArguments> : TestWithWorkingDir() {
|
abstract class AbstractIncrementalCompilerRunnerTestBase<Args : CommonCompilerArguments> : TestWithWorkingDir() {
|
||||||
|
protected lateinit var lookupsDuringTest: MutableSet<LookupSymbol>
|
||||||
protected abstract fun createCompilerArguments(destinationDir: File, testDir: File): Args
|
protected abstract fun createCompilerArguments(destinationDir: File, testDir: File): Args
|
||||||
|
|
||||||
protected open val moduleNames: Collection<String>? get() = null
|
protected open val moduleNames: Collection<String>? get() = null
|
||||||
|
|
||||||
|
override fun setUp() {
|
||||||
|
lookupsDuringTest = hashSetOf()
|
||||||
|
super.setUp()
|
||||||
|
}
|
||||||
|
|
||||||
|
override fun tearDown() {
|
||||||
|
try {
|
||||||
|
super.tearDown()
|
||||||
|
} finally {
|
||||||
|
lookupsDuringTest.clear()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
protected open fun setupTest(testDir: File, srcDir: File, cacheDir: File, outDir: File): List<File> =
|
protected open fun setupTest(testDir: File, srcDir: File, cacheDir: File, outDir: File): List<File> =
|
||||||
listOf(srcDir)
|
listOf(srcDir)
|
||||||
|
|
||||||
@@ -69,7 +84,10 @@ abstract class AbstractIncrementalCompilerRunnerTestBase<Args : CommonCompilerAr
|
|||||||
val mapWorkingToOriginalFile = HashMap(copyTestSources(testDir, srcDir, filePrefix = ""))
|
val mapWorkingToOriginalFile = HashMap(copyTestSources(testDir, srcDir, filePrefix = ""))
|
||||||
val sourceRoots = setupTest(testDir, srcDir, cacheDir, outDir)
|
val sourceRoots = setupTest(testDir, srcDir, cacheDir, outDir)
|
||||||
val args = createCompilerArgumentsImpl(outDir, testDir)
|
val args = createCompilerArgumentsImpl(outDir, testDir)
|
||||||
val (_, _, errors) = initialMake(cacheDir, outDir, sourceRoots, args)
|
|
||||||
|
val (initialExitCode, _, errors, initialCachesDump) = initialMake(cacheDir, outDir, sourceRoots, args)
|
||||||
|
var lastExitCode = initialExitCode
|
||||||
|
var lastCachesDump = initialCachesDump
|
||||||
check(errors.isEmpty()) { "Initial build failed: \n${errors.joinToString("\n")}" }
|
check(errors.isEmpty()) { "Initial build failed: \n${errors.joinToString("\n")}" }
|
||||||
|
|
||||||
// modifications
|
// modifications
|
||||||
@@ -97,7 +115,18 @@ abstract class AbstractIncrementalCompilerRunnerTestBase<Args : CommonCompilerAr
|
|||||||
var step = 1
|
var step = 1
|
||||||
for ((modificationStep, buildLogStep) in modifications.zip(buildLogSteps)) {
|
for ((modificationStep, buildLogStep) in modifications.zip(buildLogSteps)) {
|
||||||
modificationStep.forEach { it.perform(workingDir, mapWorkingToOriginalFile) }
|
modificationStep.forEach { it.perform(workingDir, mapWorkingToOriginalFile) }
|
||||||
val (_, compiledSources, compileErrors) = incrementalMake(cacheDir, outDir, sourceRoots, createCompilerArgumentsImpl(outDir, testDir))
|
val (incrementalExitCode, compiledSources, compileErrors, incrementalCachesDump) = incrementalMake(
|
||||||
|
cacheDir,
|
||||||
|
outDir,
|
||||||
|
sourceRoots,
|
||||||
|
createCompilerArgumentsImpl(
|
||||||
|
outDir,
|
||||||
|
testDir
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
lastExitCode = incrementalExitCode
|
||||||
|
lastCachesDump = incrementalCachesDump
|
||||||
|
|
||||||
expectedSB.appendLine(stepLogAsString(step, buildLogStep.compiledKotlinFiles, buildLogStep.compileErrors))
|
expectedSB.appendLine(stepLogAsString(step, buildLogStep.compiledKotlinFiles, buildLogStep.compileErrors))
|
||||||
expectedSBWithoutErrors.appendLine(
|
expectedSBWithoutErrors.appendLine(
|
||||||
@@ -122,7 +151,7 @@ abstract class AbstractIncrementalCompilerRunnerTestBase<Args : CommonCompilerAr
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
rebuildAndCompareOutput(sourceRoots, testDir, buildLogSteps, outDir)
|
rebuildAndCompareOutput(sourceRoots, testDir, buildLogSteps, outDir, lastExitCode, lastCachesDump)
|
||||||
}
|
}
|
||||||
|
|
||||||
// these functions are needed only to simplify debugging of IC tests
|
// these functions are needed only to simplify debugging of IC tests
|
||||||
@@ -131,13 +160,14 @@ abstract class AbstractIncrementalCompilerRunnerTestBase<Args : CommonCompilerAr
|
|||||||
private fun incrementalMake(cacheDir: File, outDir: File, sourceRoots: List<File>, args: Args) =
|
private fun incrementalMake(cacheDir: File, outDir: File, sourceRoots: List<File>, args: Args) =
|
||||||
make(cacheDir, outDir, sourceRoots, args)
|
make(cacheDir, outDir, sourceRoots, args)
|
||||||
|
|
||||||
protected open fun rebuildAndCompareOutput(
|
private fun rebuildAndCompareOutput(
|
||||||
sourceRoots: List<File>,
|
sourceRoots: List<File>,
|
||||||
testDir: File,
|
testDir: File,
|
||||||
buildLogSteps: List<BuildStep>,
|
buildLogSteps: List<BuildStep>,
|
||||||
outDir: File
|
outDir: File,
|
||||||
|
finalExitCode: ExitCode,
|
||||||
|
finalMappingDump: String?
|
||||||
) {
|
) {
|
||||||
// todo: also compare caches
|
|
||||||
val rebuildOutDir = File(workingDir, "rebuild-out").apply { mkdirs() }
|
val rebuildOutDir = File(workingDir, "rebuild-out").apply { mkdirs() }
|
||||||
val rebuildCacheDir = File(workingDir, "rebuild-cache").apply { mkdirs() }
|
val rebuildCacheDir = File(workingDir, "rebuild-cache").apply { mkdirs() }
|
||||||
resetTest(testDir, rebuildOutDir, rebuildCacheDir)
|
resetTest(testDir, rebuildOutDir, rebuildCacheDir)
|
||||||
@@ -148,9 +178,16 @@ abstract class AbstractIncrementalCompilerRunnerTestBase<Args : CommonCompilerAr
|
|||||||
val rebuildSucceeded = rebuildResult.exitCode == ExitCode.OK
|
val rebuildSucceeded = rebuildResult.exitCode == ExitCode.OK
|
||||||
Assert.assertEquals("Rebuild exit code differs from incremental exit code", rebuildExpectedToSucceed, rebuildSucceeded)
|
Assert.assertEquals("Rebuild exit code differs from incremental exit code", rebuildExpectedToSucceed, rebuildSucceeded)
|
||||||
|
|
||||||
|
Assert.assertEquals("Compilation result differs", rebuildResult.exitCode, finalExitCode)
|
||||||
|
if (finalExitCode != ExitCode.OK) {
|
||||||
|
return
|
||||||
|
}
|
||||||
if (rebuildSucceeded) {
|
if (rebuildSucceeded) {
|
||||||
assertEqualDirectories(rebuildOutDir, outDir, forgiveExtraFiles = false)
|
assertEqualDirectories(rebuildOutDir, outDir, forgiveExtraFiles = false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// compare caches
|
||||||
|
assertEquals(rebuildResult.mappingsDump, finalMappingDump)
|
||||||
}
|
}
|
||||||
|
|
||||||
protected open val buildLogFinder: BuildLogFinder
|
protected open val buildLogFinder: BuildLogFinder
|
||||||
|
|||||||
+67
-6
@@ -16,11 +16,13 @@
|
|||||||
|
|
||||||
package org.jetbrains.kotlin.incremental
|
package org.jetbrains.kotlin.incremental
|
||||||
|
|
||||||
|
import org.jetbrains.kotlin.build.DEFAULT_KOTLIN_SOURCE_FILES_EXTENSIONS
|
||||||
|
import org.jetbrains.kotlin.build.report.metrics.DoNothingBuildMetricsReporter
|
||||||
import org.jetbrains.kotlin.cli.common.ExitCode
|
import org.jetbrains.kotlin.cli.common.ExitCode
|
||||||
import org.jetbrains.kotlin.cli.common.arguments.K2JVMCompilerArguments
|
import org.jetbrains.kotlin.cli.common.arguments.K2JVMCompilerArguments
|
||||||
import org.jetbrains.kotlin.incremental.utils.TestCompilationResult
|
import org.jetbrains.kotlin.cli.common.messages.MessageCollector
|
||||||
import org.jetbrains.kotlin.incremental.utils.TestICReporter
|
import org.jetbrains.kotlin.incremental.multiproject.EmptyModulesApiHistory
|
||||||
import org.jetbrains.kotlin.incremental.utils.TestMessageCollector
|
import org.jetbrains.kotlin.incremental.utils.*
|
||||||
import org.jetbrains.kotlin.test.util.KtTestUtil
|
import org.jetbrains.kotlin.test.util.KtTestUtil
|
||||||
import java.io.ByteArrayOutputStream
|
import java.io.ByteArrayOutputStream
|
||||||
import java.io.File
|
import java.io.File
|
||||||
@@ -30,7 +32,17 @@ abstract class AbstractIncrementalJvmCompilerRunnerTest : AbstractIncrementalCom
|
|||||||
override fun make(cacheDir: File, outDir: File, sourceRoots: Iterable<File>, args: K2JVMCompilerArguments): TestCompilationResult {
|
override fun make(cacheDir: File, outDir: File, sourceRoots: Iterable<File>, args: K2JVMCompilerArguments): TestCompilationResult {
|
||||||
val reporter = TestICReporter()
|
val reporter = TestICReporter()
|
||||||
val messageCollector = TestMessageCollector()
|
val messageCollector = TestMessageCollector()
|
||||||
makeJvmIncrementally(cacheDir, sourceRoots, args, reporter = reporter, messageCollector = messageCollector)
|
val testLookupTracker = TestLookupTracker(lookupsDuringTest)
|
||||||
|
|
||||||
|
makeIncrementallyForTests(
|
||||||
|
cacheDir,
|
||||||
|
sourceRoots,
|
||||||
|
args,
|
||||||
|
reporter = reporter,
|
||||||
|
messageCollector = messageCollector,
|
||||||
|
testLookupTracker = testLookupTracker
|
||||||
|
)
|
||||||
|
|
||||||
val kotlinCompileResult = TestCompilationResult(reporter, messageCollector)
|
val kotlinCompileResult = TestCompilationResult(reporter, messageCollector)
|
||||||
if (kotlinCompileResult.exitCode != ExitCode.OK) return kotlinCompileResult
|
if (kotlinCompileResult.exitCode != ExitCode.OK) return kotlinCompileResult
|
||||||
|
|
||||||
@@ -41,12 +53,61 @@ abstract class AbstractIncrementalJvmCompilerRunnerTest : AbstractIncrementalCom
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// extension of org.jetbrains.kotlin.incremental.CompilerRunnerUtilsKt.makeJvmIncrementally for tests
|
||||||
|
private fun makeIncrementallyForTests(
|
||||||
|
cachesDir: File,
|
||||||
|
sourceRoots: Iterable<File>,
|
||||||
|
args: K2JVMCompilerArguments,
|
||||||
|
messageCollector: MessageCollector = MessageCollector.NONE,
|
||||||
|
reporter: TestICReporter,
|
||||||
|
testLookupTracker: TestLookupTracker
|
||||||
|
) {
|
||||||
|
val kotlinExtensions = DEFAULT_KOTLIN_SOURCE_FILES_EXTENSIONS
|
||||||
|
val allExtensions = kotlinExtensions + "java"
|
||||||
|
val rootsWalk = sourceRoots.asSequence().flatMap { it.walk() }
|
||||||
|
val files = rootsWalk.filter(File::isFile)
|
||||||
|
val sourceFiles = files.filter { it.extension.lowercase() in allExtensions }.toList()
|
||||||
|
val buildHistoryFile = File(cachesDir, "build-history.bin")
|
||||||
|
args.javaSourceRoots = sourceRoots.map { it.absolutePath }.toTypedArray()
|
||||||
|
val buildReporter = TestBuildReporter(testICReporter = reporter, buildMetricsReporter = DoNothingBuildMetricsReporter)
|
||||||
|
|
||||||
|
withIncrementalCompilation(args) {
|
||||||
|
val compiler =
|
||||||
|
if (args.useK2 && args.useFirIC && args.useFirLT /* TODO by @Ilya.Chernikov: move LT check into runner */)
|
||||||
|
IncrementalFirJvmCompilerTestRunner(
|
||||||
|
cachesDir,
|
||||||
|
buildReporter,
|
||||||
|
buildHistoryFile,
|
||||||
|
outputDirs = null,
|
||||||
|
EmptyModulesApiHistory,
|
||||||
|
kotlinExtensions,
|
||||||
|
ClasspathChanges.ClasspathSnapshotDisabled,
|
||||||
|
testLookupTracker
|
||||||
|
)
|
||||||
|
else
|
||||||
|
IncrementalJvmCompilerTestRunner(
|
||||||
|
cachesDir,
|
||||||
|
buildReporter,
|
||||||
|
// Use precise setting in case of non-Gradle build
|
||||||
|
usePreciseJavaTracking = !args.useK2, // TODO by @Ilya.Chernikov: add fir-based java classes tracker when available and set this to true
|
||||||
|
buildHistoryFile = buildHistoryFile,
|
||||||
|
outputDirs = null,
|
||||||
|
modulesApiHistory = EmptyModulesApiHistory,
|
||||||
|
kotlinSourceFilesExtensions = kotlinExtensions,
|
||||||
|
classpathChanges = ClasspathChanges.ClasspathSnapshotDisabled,
|
||||||
|
testLookupTracker = testLookupTracker
|
||||||
|
)
|
||||||
|
//TODO by @Ilya.Chernikov: set properly
|
||||||
|
compiler.compile(sourceFiles, args, messageCollector, changedFiles = null)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private fun compileJava(sourceRoots: Iterable<File>, kotlinClassesPath: String): TestCompilationResult {
|
private fun compileJava(sourceRoots: Iterable<File>, kotlinClassesPath: String): TestCompilationResult {
|
||||||
val javaSources = arrayListOf<File>()
|
val javaSources = arrayListOf<File>()
|
||||||
for (root in sourceRoots) {
|
for (root in sourceRoots) {
|
||||||
javaSources.addAll(root.walk().filter { it.isFile && it.extension == "java" })
|
javaSources.addAll(root.walk().filter { it.isFile && it.extension == "java" })
|
||||||
}
|
}
|
||||||
if (javaSources.isEmpty()) return TestCompilationResult(ExitCode.OK, emptyList(), emptyList())
|
if (javaSources.isEmpty()) return TestCompilationResult(ExitCode.OK, emptyList(), emptyList(), "")
|
||||||
|
|
||||||
val javaClasspath = compileClasspath + File.pathSeparator + kotlinClassesPath
|
val javaClasspath = compileClasspath + File.pathSeparator + kotlinClassesPath
|
||||||
val javaDestinationDir = File(workingDir, "java-classes").apply {
|
val javaDestinationDir = File(workingDir, "java-classes").apply {
|
||||||
@@ -67,7 +128,7 @@ abstract class AbstractIncrementalJvmCompilerRunnerTest : AbstractIncrementalCom
|
|||||||
|
|
||||||
val exitCode = if (rc == 0) ExitCode.OK else ExitCode.COMPILATION_ERROR
|
val exitCode = if (rc == 0) ExitCode.OK else ExitCode.COMPILATION_ERROR
|
||||||
val errors = err.toString().split("\n")
|
val errors = err.toString().split("\n")
|
||||||
return TestCompilationResult(exitCode, javaSources, errors)
|
return TestCompilationResult(exitCode, javaSources, errors, "")
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun createCompilerArguments(destinationDir: File, testDir: File): K2JVMCompilerArguments =
|
override fun createCompilerArguments(destinationDir: File, testDir: File): K2JVMCompilerArguments =
|
||||||
|
|||||||
+83
-103
@@ -48,18 +48,13 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/addFileWithFunctionOverload/");
|
runTest("jps/jps-plugin/testData/incremental/pureKotlin/addFileWithFunctionOverload/");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("addMemberTypeAlias")
|
|
||||||
public void testAddMemberTypeAlias() throws Exception {
|
|
||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/addMemberTypeAlias/");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("addTopLevelTypeAlias")
|
@TestMetadata("addTopLevelTypeAlias")
|
||||||
public void testAddTopLevelTypeAlias() throws Exception {
|
public void testAddTopLevelTypeAlias() throws Exception {
|
||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/addTopLevelTypeAlias/");
|
runTest("jps/jps-plugin/testData/incremental/pureKotlin/addTopLevelTypeAlias/");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInPureKotlin() throws Exception {
|
public void testAllFilesPresentInPureKotlin() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/pureKotlin"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^.*Expect.*)"), TargetBackend.JVM_IR, false);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/pureKotlin"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^.*Expect.*)|(^removeMemberTypeAlias)|(^addMemberTypeAlias)|(^companionConstantChanged))"), TargetBackend.JVM_IR, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("annotations")
|
@TestMetadata("annotations")
|
||||||
@@ -122,11 +117,6 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/classSignatureUnchanged/");
|
runTest("jps/jps-plugin/testData/incremental/pureKotlin/classSignatureUnchanged/");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("companionConstantChanged")
|
|
||||||
public void testCompanionConstantChanged() throws Exception {
|
|
||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/companionConstantChanged/");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("compilationErrorThenFixedOtherPackage")
|
@TestMetadata("compilationErrorThenFixedOtherPackage")
|
||||||
public void testCompilationErrorThenFixedOtherPackage() throws Exception {
|
public void testCompilationErrorThenFixedOtherPackage() throws Exception {
|
||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/compilationErrorThenFixedOtherPackage/");
|
runTest("jps/jps-plugin/testData/incremental/pureKotlin/compilationErrorThenFixedOtherPackage/");
|
||||||
@@ -562,11 +552,6 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/removeFileWithFunctionOverload/");
|
runTest("jps/jps-plugin/testData/incremental/pureKotlin/removeFileWithFunctionOverload/");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("removeMemberTypeAlias")
|
|
||||||
public void testRemoveMemberTypeAlias() throws Exception {
|
|
||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/removeMemberTypeAlias/");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("removeTopLevelTypeAlias")
|
@TestMetadata("removeTopLevelTypeAlias")
|
||||||
public void testRemoveTopLevelTypeAlias() throws Exception {
|
public void testRemoveTopLevelTypeAlias() throws Exception {
|
||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/removeTopLevelTypeAlias/");
|
runTest("jps/jps-plugin/testData/incremental/pureKotlin/removeTopLevelTypeAlias/");
|
||||||
@@ -1203,7 +1188,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInWithJava() throws Exception {
|
public void testAllFilesPresentInWithJava() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("jps/jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin")
|
@TestMetadata("jps/jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin")
|
||||||
@@ -1215,7 +1200,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInConvertBetweenJavaAndKotlin() throws Exception {
|
public void testAllFilesPresentInConvertBetweenJavaAndKotlin() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("javaToKotlin")
|
@TestMetadata("javaToKotlin")
|
||||||
@@ -1247,7 +1232,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInJavaToKotlin() throws Exception {
|
public void testAllFilesPresentInJavaToKotlin() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin/javaToKotlin"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin/javaToKotlin"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1260,7 +1245,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInJavaToKotlinAndBack() throws Exception {
|
public void testAllFilesPresentInJavaToKotlinAndBack() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin/javaToKotlinAndBack"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin/javaToKotlinAndBack"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1273,7 +1258,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInJavaToKotlinAndRemove() throws Exception {
|
public void testAllFilesPresentInJavaToKotlinAndRemove() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin/javaToKotlinAndRemove"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin/javaToKotlinAndRemove"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1286,7 +1271,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInKotlinToJava() throws Exception {
|
public void testAllFilesPresentInKotlinToJava() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin/kotlinToJava"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin/kotlinToJava"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1300,7 +1285,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInJavaUsedInKotlin() throws Exception {
|
public void testAllFilesPresentInJavaUsedInKotlin() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("changeFieldType")
|
@TestMetadata("changeFieldType")
|
||||||
@@ -1422,7 +1407,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInChangeFieldType() throws Exception {
|
public void testAllFilesPresentInChangeFieldType() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeFieldType"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeFieldType"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1435,7 +1420,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInChangeNotUsedSignature() throws Exception {
|
public void testAllFilesPresentInChangeNotUsedSignature() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeNotUsedSignature"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeNotUsedSignature"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1448,7 +1433,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInChangePropertyOverrideType() throws Exception {
|
public void testAllFilesPresentInChangePropertyOverrideType() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changePropertyOverrideType"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changePropertyOverrideType"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1461,7 +1446,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInChangeSignature() throws Exception {
|
public void testAllFilesPresentInChangeSignature() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeSignature"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeSignature"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1474,7 +1459,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInChangeSignaturePackagePrivate() throws Exception {
|
public void testAllFilesPresentInChangeSignaturePackagePrivate() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeSignaturePackagePrivate"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeSignaturePackagePrivate"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1487,7 +1472,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInChangeSignaturePackagePrivateNonRoot() throws Exception {
|
public void testAllFilesPresentInChangeSignaturePackagePrivateNonRoot() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeSignaturePackagePrivateNonRoot"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeSignaturePackagePrivateNonRoot"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1500,7 +1485,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInChangeSignatureStatic() throws Exception {
|
public void testAllFilesPresentInChangeSignatureStatic() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeSignatureStatic"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeSignatureStatic"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1513,7 +1498,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInConstantChanged() throws Exception {
|
public void testAllFilesPresentInConstantChanged() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/constantChanged"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/constantChanged"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1526,7 +1511,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInConstantPropertyChanged() throws Exception {
|
public void testAllFilesPresentInConstantPropertyChanged() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/constantPropertyChanged"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/constantPropertyChanged"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1539,7 +1524,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInConstantUnchanged() throws Exception {
|
public void testAllFilesPresentInConstantUnchanged() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/constantUnchanged"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/constantUnchanged"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1552,7 +1537,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInEnumEntryAdded() throws Exception {
|
public void testAllFilesPresentInEnumEntryAdded() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/enumEntryAdded"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/enumEntryAdded"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1565,7 +1550,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInEnumEntryRemoved() throws Exception {
|
public void testAllFilesPresentInEnumEntryRemoved() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/enumEntryRemoved"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/enumEntryRemoved"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1578,7 +1563,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInJavaAndKotlinChangedSimultaneously() throws Exception {
|
public void testAllFilesPresentInJavaAndKotlinChangedSimultaneously() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/javaAndKotlinChangedSimultaneously"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/javaAndKotlinChangedSimultaneously"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1591,7 +1576,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInJavaFieldNullabilityChanged() throws Exception {
|
public void testAllFilesPresentInJavaFieldNullabilityChanged() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/javaFieldNullabilityChanged"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/javaFieldNullabilityChanged"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1604,7 +1589,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInJavaMethodParamNullabilityChanged() throws Exception {
|
public void testAllFilesPresentInJavaMethodParamNullabilityChanged() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/javaMethodParamNullabilityChanged"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/javaMethodParamNullabilityChanged"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1617,7 +1602,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInJavaMethodReturnTypeNullabilityChanged() throws Exception {
|
public void testAllFilesPresentInJavaMethodReturnTypeNullabilityChanged() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/javaMethodReturnTypeNullabilityChanged"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/javaMethodReturnTypeNullabilityChanged"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1630,7 +1615,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMethodAddedInSuper() throws Exception {
|
public void testAllFilesPresentInMethodAddedInSuper() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/methodAddedInSuper"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/methodAddedInSuper"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1643,7 +1628,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMethodRenamed() throws Exception {
|
public void testAllFilesPresentInMethodRenamed() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/methodRenamed"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/methodRenamed"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1656,7 +1641,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMixedInheritance() throws Exception {
|
public void testAllFilesPresentInMixedInheritance() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/mixedInheritance"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/mixedInheritance"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1669,7 +1654,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInNotChangeSignature() throws Exception {
|
public void testAllFilesPresentInNotChangeSignature() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/notChangeSignature"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/notChangeSignature"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1682,7 +1667,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInRawErrorTypeDuringSerialization() throws Exception {
|
public void testAllFilesPresentInRawErrorTypeDuringSerialization() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/rawErrorTypeDuringSerialization"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/rawErrorTypeDuringSerialization"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1695,7 +1680,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInRemoveAnnotation() throws Exception {
|
public void testAllFilesPresentInRemoveAnnotation() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/removeAnnotation"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/removeAnnotation"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1708,7 +1693,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInSamConversions() throws Exception {
|
public void testAllFilesPresentInSamConversions() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("methodAddDefault")
|
@TestMetadata("methodAddDefault")
|
||||||
@@ -1745,7 +1730,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMethodAddDefault() throws Exception {
|
public void testAllFilesPresentInMethodAddDefault() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions/methodAddDefault"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions/methodAddDefault"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1758,7 +1743,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMethodAdded() throws Exception {
|
public void testAllFilesPresentInMethodAdded() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions/methodAdded"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions/methodAdded"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1771,7 +1756,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMethodAddedSamAdapter() throws Exception {
|
public void testAllFilesPresentInMethodAddedSamAdapter() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions/methodAddedSamAdapter"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions/methodAddedSamAdapter"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1784,7 +1769,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMethodSignatureChanged() throws Exception {
|
public void testAllFilesPresentInMethodSignatureChanged() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions/methodSignatureChanged"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions/methodSignatureChanged"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1797,7 +1782,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMethodSignatureChangedSamAdapter() throws Exception {
|
public void testAllFilesPresentInMethodSignatureChangedSamAdapter() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions/methodSignatureChangedSamAdapter"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions/methodSignatureChangedSamAdapter"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1817,7 +1802,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInKotlinUsedInJava() throws Exception {
|
public void testAllFilesPresentInKotlinUsedInJava() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("changeNotUsedSignature")
|
@TestMetadata("changeNotUsedSignature")
|
||||||
@@ -1894,7 +1879,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInAddOptionalParameter() throws Exception {
|
public void testAllFilesPresentInAddOptionalParameter() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/addOptionalParameter"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/addOptionalParameter"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1907,7 +1892,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInChangeNotUsedSignature() throws Exception {
|
public void testAllFilesPresentInChangeNotUsedSignature() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/changeNotUsedSignature"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/changeNotUsedSignature"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1920,7 +1905,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInChangeSignature() throws Exception {
|
public void testAllFilesPresentInChangeSignature() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/changeSignature"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/changeSignature"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1933,7 +1918,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInConstantChanged() throws Exception {
|
public void testAllFilesPresentInConstantChanged() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/constantChanged"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/constantChanged"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1946,7 +1931,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInConstantUnchanged() throws Exception {
|
public void testAllFilesPresentInConstantUnchanged() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/constantUnchanged"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/constantUnchanged"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1959,7 +1944,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInFunRenamed() throws Exception {
|
public void testAllFilesPresentInFunRenamed() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/funRenamed"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/funRenamed"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1972,7 +1957,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInJvmFieldChanged() throws Exception {
|
public void testAllFilesPresentInJvmFieldChanged() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/jvmFieldChanged"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/jvmFieldChanged"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1985,7 +1970,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInJvmFieldUnchanged() throws Exception {
|
public void testAllFilesPresentInJvmFieldUnchanged() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/jvmFieldUnchanged"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/jvmFieldUnchanged"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1998,7 +1983,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMethodAddedInSuper() throws Exception {
|
public void testAllFilesPresentInMethodAddedInSuper() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/methodAddedInSuper"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/methodAddedInSuper"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2011,7 +1996,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInNotChangeSignature() throws Exception {
|
public void testAllFilesPresentInNotChangeSignature() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/notChangeSignature"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/notChangeSignature"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2024,7 +2009,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInOnlyTopLevelFunctionInFileRemoved() throws Exception {
|
public void testAllFilesPresentInOnlyTopLevelFunctionInFileRemoved() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/onlyTopLevelFunctionInFileRemoved"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/onlyTopLevelFunctionInFileRemoved"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2037,7 +2022,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInPackageFileAdded() throws Exception {
|
public void testAllFilesPresentInPackageFileAdded() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/packageFileAdded"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/packageFileAdded"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2050,7 +2035,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInPrivateChanges() throws Exception {
|
public void testAllFilesPresentInPrivateChanges() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/privateChanges"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/privateChanges"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2063,7 +2048,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInPropertyRenamed() throws Exception {
|
public void testAllFilesPresentInPropertyRenamed() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/propertyRenamed"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/propertyRenamed"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -2082,7 +2067,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInOther() throws Exception {
|
public void testAllFilesPresentInOther() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("allKotlinFilesRemovedThenNewAdded")
|
@TestMetadata("allKotlinFilesRemovedThenNewAdded")
|
||||||
@@ -2095,11 +2080,6 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
runTest("jps/jps-plugin/testData/incremental/withJava/other/classRedeclaration/");
|
runTest("jps/jps-plugin/testData/incremental/withJava/other/classRedeclaration/");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("classToPackageFacade")
|
|
||||||
public void testClassToPackageFacade() throws Exception {
|
|
||||||
runTest("jps/jps-plugin/testData/incremental/withJava/other/classToPackageFacade/");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("conflictingPlatformDeclarations")
|
@TestMetadata("conflictingPlatformDeclarations")
|
||||||
public void testConflictingPlatformDeclarations() throws Exception {
|
public void testConflictingPlatformDeclarations() throws Exception {
|
||||||
runTest("jps/jps-plugin/testData/incremental/withJava/other/conflictingPlatformDeclarations/");
|
runTest("jps/jps-plugin/testData/incremental/withJava/other/conflictingPlatformDeclarations/");
|
||||||
@@ -2244,7 +2224,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInAccessingFunctionsViaRenamedFileClass() throws Exception {
|
public void testAllFilesPresentInAccessingFunctionsViaRenamedFileClass() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/accessingFunctionsViaRenamedFileClass"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/accessingFunctionsViaRenamedFileClass"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2257,7 +2237,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInAllKotlinFilesRemovedThenNewAdded() throws Exception {
|
public void testAllFilesPresentInAllKotlinFilesRemovedThenNewAdded() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/allKotlinFilesRemovedThenNewAdded"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/allKotlinFilesRemovedThenNewAdded"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2270,7 +2250,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInClassRedeclaration() throws Exception {
|
public void testAllFilesPresentInClassRedeclaration() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/classRedeclaration"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/classRedeclaration"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2283,7 +2263,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInClassToPackageFacade() throws Exception {
|
public void testAllFilesPresentInClassToPackageFacade() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/classToPackageFacade"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/classToPackageFacade"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2296,7 +2276,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInConflictingPlatformDeclarations() throws Exception {
|
public void testAllFilesPresentInConflictingPlatformDeclarations() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/conflictingPlatformDeclarations"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/conflictingPlatformDeclarations"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2309,7 +2289,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInDefaultValueInConstructorAdded() throws Exception {
|
public void testAllFilesPresentInDefaultValueInConstructorAdded() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/defaultValueInConstructorAdded"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/defaultValueInConstructorAdded"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2322,7 +2302,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInInlineFunctionWithJvmNameInClass() throws Exception {
|
public void testAllFilesPresentInInlineFunctionWithJvmNameInClass() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/inlineFunctionWithJvmNameInClass"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/inlineFunctionWithJvmNameInClass"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2335,7 +2315,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInInlineTopLevelFunctionWithJvmName() throws Exception {
|
public void testAllFilesPresentInInlineTopLevelFunctionWithJvmName() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/inlineTopLevelFunctionWithJvmName"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/inlineTopLevelFunctionWithJvmName"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2348,7 +2328,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInInlineTopLevelValPropertyWithJvmName() throws Exception {
|
public void testAllFilesPresentInInlineTopLevelValPropertyWithJvmName() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/inlineTopLevelValPropertyWithJvmName"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/inlineTopLevelValPropertyWithJvmName"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2361,7 +2341,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInInnerClassNotGeneratedWhenRebuilding() throws Exception {
|
public void testAllFilesPresentInInnerClassNotGeneratedWhenRebuilding() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/innerClassNotGeneratedWhenRebuilding"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/innerClassNotGeneratedWhenRebuilding"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2374,7 +2354,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInJvmNameChanged() throws Exception {
|
public void testAllFilesPresentInJvmNameChanged() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/jvmNameChanged"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/jvmNameChanged"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2387,7 +2367,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMainRedeclaration() throws Exception {
|
public void testAllFilesPresentInMainRedeclaration() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/mainRedeclaration"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/mainRedeclaration"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2400,7 +2380,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMultifileClassAddTopLevelFunWithDefault() throws Exception {
|
public void testAllFilesPresentInMultifileClassAddTopLevelFunWithDefault() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassAddTopLevelFunWithDefault"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassAddTopLevelFunWithDefault"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2413,7 +2393,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMultifileClassFileAdded() throws Exception {
|
public void testAllFilesPresentInMultifileClassFileAdded() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassFileAdded"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassFileAdded"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2426,7 +2406,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMultifileClassFileChanged() throws Exception {
|
public void testAllFilesPresentInMultifileClassFileChanged() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassFileChanged"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassFileChanged"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2439,7 +2419,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMultifileClassFileMovedToAnotherMultifileClass() throws Exception {
|
public void testAllFilesPresentInMultifileClassFileMovedToAnotherMultifileClass() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassFileMovedToAnotherMultifileClass"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassFileMovedToAnotherMultifileClass"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2452,7 +2432,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMultifileClassInlineFunction() throws Exception {
|
public void testAllFilesPresentInMultifileClassInlineFunction() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassInlineFunction"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassInlineFunction"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2465,7 +2445,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMultifileClassInlineFunctionAccessingField() throws Exception {
|
public void testAllFilesPresentInMultifileClassInlineFunctionAccessingField() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassInlineFunctionAccessingField"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassInlineFunctionAccessingField"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2478,7 +2458,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMultifileClassRecreated() throws Exception {
|
public void testAllFilesPresentInMultifileClassRecreated() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassRecreated"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassRecreated"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2491,7 +2471,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMultifileClassRecreatedAfterRenaming() throws Exception {
|
public void testAllFilesPresentInMultifileClassRecreatedAfterRenaming() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassRecreatedAfterRenaming"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassRecreatedAfterRenaming"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2504,7 +2484,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMultifileClassRemoved() throws Exception {
|
public void testAllFilesPresentInMultifileClassRemoved() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassRemoved"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassRemoved"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2517,7 +2497,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMultifileDependantUsage() throws Exception {
|
public void testAllFilesPresentInMultifileDependantUsage() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileDependantUsage"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileDependantUsage"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2530,7 +2510,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMultifilePackagePartMethodAdded() throws Exception {
|
public void testAllFilesPresentInMultifilePackagePartMethodAdded() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifilePackagePartMethodAdded"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifilePackagePartMethodAdded"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2543,7 +2523,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMultifilePartsWithProperties() throws Exception {
|
public void testAllFilesPresentInMultifilePartsWithProperties() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifilePartsWithProperties"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifilePartsWithProperties"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2556,7 +2536,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInOptionalParameter() throws Exception {
|
public void testAllFilesPresentInOptionalParameter() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/optionalParameter"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/optionalParameter"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2569,7 +2549,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInPackageFacadeToClass() throws Exception {
|
public void testAllFilesPresentInPackageFacadeToClass() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/packageFacadeToClass"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/packageFacadeToClass"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2582,7 +2562,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInPackageMultifileClassOneFileWithPublicChanges() throws Exception {
|
public void testAllFilesPresentInPackageMultifileClassOneFileWithPublicChanges() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/packageMultifileClassOneFileWithPublicChanges"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/packageMultifileClassOneFileWithPublicChanges"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2595,7 +2575,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInPackageMultifileClassPrivateOnlyChanged() throws Exception {
|
public void testAllFilesPresentInPackageMultifileClassPrivateOnlyChanged() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/packageMultifileClassPrivateOnlyChanged"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/packageMultifileClassPrivateOnlyChanged"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2608,7 +2588,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInPublicPropertyWithPrivateSetterMultiFileFacade() throws Exception {
|
public void testAllFilesPresentInPublicPropertyWithPrivateSetterMultiFileFacade() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/publicPropertyWithPrivateSetterMultiFileFacade"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/publicPropertyWithPrivateSetterMultiFileFacade"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2621,7 +2601,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInTopLevelFunctionWithJvmName() throws Exception {
|
public void testAllFilesPresentInTopLevelFunctionWithJvmName() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/topLevelFunctionWithJvmName"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/topLevelFunctionWithJvmName"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2634,7 +2614,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInTopLevelPropertyWithJvmName() throws Exception {
|
public void testAllFilesPresentInTopLevelPropertyWithJvmName() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/topLevelPropertyWithJvmName"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/topLevelPropertyWithJvmName"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^classToPackageFacade)"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-16
@@ -48,18 +48,13 @@ public class IncrementalFirJvmCompilerRunnerTestGenerated extends AbstractIncrem
|
|||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/addFileWithFunctionOverload/");
|
runTest("jps/jps-plugin/testData/incremental/pureKotlin/addFileWithFunctionOverload/");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("addMemberTypeAlias")
|
|
||||||
public void testAddMemberTypeAlias() throws Exception {
|
|
||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/addMemberTypeAlias/");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("addTopLevelTypeAlias")
|
@TestMetadata("addTopLevelTypeAlias")
|
||||||
public void testAddTopLevelTypeAlias() throws Exception {
|
public void testAddTopLevelTypeAlias() throws Exception {
|
||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/addTopLevelTypeAlias/");
|
runTest("jps/jps-plugin/testData/incremental/pureKotlin/addTopLevelTypeAlias/");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInPureKotlin() throws Exception {
|
public void testAllFilesPresentInPureKotlin() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/pureKotlin"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^.*Expect.*)"), TargetBackend.JVM_IR, false);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/pureKotlin"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^.*Expect.*)|(^removeMemberTypeAlias)|(^addMemberTypeAlias)|(^companionConstantChanged))"), TargetBackend.JVM_IR, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("annotations")
|
@TestMetadata("annotations")
|
||||||
@@ -122,11 +117,6 @@ public class IncrementalFirJvmCompilerRunnerTestGenerated extends AbstractIncrem
|
|||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/classSignatureUnchanged/");
|
runTest("jps/jps-plugin/testData/incremental/pureKotlin/classSignatureUnchanged/");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("companionConstantChanged")
|
|
||||||
public void testCompanionConstantChanged() throws Exception {
|
|
||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/companionConstantChanged/");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("compilationErrorThenFixedOtherPackage")
|
@TestMetadata("compilationErrorThenFixedOtherPackage")
|
||||||
public void testCompilationErrorThenFixedOtherPackage() throws Exception {
|
public void testCompilationErrorThenFixedOtherPackage() throws Exception {
|
||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/compilationErrorThenFixedOtherPackage/");
|
runTest("jps/jps-plugin/testData/incremental/pureKotlin/compilationErrorThenFixedOtherPackage/");
|
||||||
@@ -562,11 +552,6 @@ public class IncrementalFirJvmCompilerRunnerTestGenerated extends AbstractIncrem
|
|||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/removeFileWithFunctionOverload/");
|
runTest("jps/jps-plugin/testData/incremental/pureKotlin/removeFileWithFunctionOverload/");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("removeMemberTypeAlias")
|
|
||||||
public void testRemoveMemberTypeAlias() throws Exception {
|
|
||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/removeMemberTypeAlias/");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("removeTopLevelTypeAlias")
|
@TestMetadata("removeTopLevelTypeAlias")
|
||||||
public void testRemoveTopLevelTypeAlias() throws Exception {
|
public void testRemoveTopLevelTypeAlias() throws Exception {
|
||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/removeTopLevelTypeAlias/");
|
runTest("jps/jps-plugin/testData/incremental/pureKotlin/removeTopLevelTypeAlias/");
|
||||||
|
|||||||
+52
@@ -0,0 +1,52 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||||
|
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package org.jetbrains.kotlin.incremental
|
||||||
|
|
||||||
|
import org.jetbrains.kotlin.build.DEFAULT_KOTLIN_SOURCE_FILES_EXTENSIONS
|
||||||
|
import org.jetbrains.kotlin.cli.common.arguments.K2JVMCompilerArguments
|
||||||
|
import org.jetbrains.kotlin.incremental.multiproject.ModulesApiHistory
|
||||||
|
import org.jetbrains.kotlin.incremental.utils.TestBuildReporter
|
||||||
|
import org.jetbrains.kotlin.incremental.utils.TestLookupTracker
|
||||||
|
import java.io.File
|
||||||
|
|
||||||
|
class IncrementalFirJvmCompilerTestRunner(
|
||||||
|
workingDir: File,
|
||||||
|
val testReporter: TestBuildReporter,
|
||||||
|
buildHistoryFile: File,
|
||||||
|
outputDirs: Collection<File>?,
|
||||||
|
modulesApiHistory: ModulesApiHistory,
|
||||||
|
kotlinSourceFilesExtensions: List<String> = DEFAULT_KOTLIN_SOURCE_FILES_EXTENSIONS,
|
||||||
|
classpathChanges: ClasspathChanges,
|
||||||
|
val testLookupTracker: TestLookupTracker
|
||||||
|
) : IncrementalFirJvmCompilerRunner(
|
||||||
|
workingDir,
|
||||||
|
testReporter,
|
||||||
|
buildHistoryFile,
|
||||||
|
outputDirs,
|
||||||
|
modulesApiHistory,
|
||||||
|
kotlinSourceFilesExtensions,
|
||||||
|
classpathChanges
|
||||||
|
) {
|
||||||
|
override fun createCacheManager(icContext: IncrementalCompilationContext, args: K2JVMCompilerArguments): IncrementalJvmCachesManager =
|
||||||
|
object : IncrementalJvmCachesManager(
|
||||||
|
icContext, args.destination?.let { File(it) }, cacheDirectory
|
||||||
|
) {
|
||||||
|
override fun close() {
|
||||||
|
val platformCachesDump = this.platformCache.dump() +
|
||||||
|
"\n=============\n" +
|
||||||
|
this.inputsCache.dump().replace("rebuild-out", "out")
|
||||||
|
|
||||||
|
testLookupTracker.lookups.mapTo(testLookupTracker.savedLookups) { LookupSymbol(it.name, it.scopeFqName) }
|
||||||
|
this.lookupCache.forceGC()
|
||||||
|
val lookupsDump = this.lookupCache.dump(testLookupTracker.savedLookups)
|
||||||
|
|
||||||
|
testReporter.reportCachesDump("$platformCachesDump\n=============\n$lookupsDump")
|
||||||
|
super.close()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
override fun getLookupTrackerDelegate() = testLookupTracker
|
||||||
|
}
|
||||||
+1
-16
@@ -48,18 +48,13 @@ public class IncrementalFirLightTreeJvmCompilerRunnerTestGenerated extends Abstr
|
|||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/addFileWithFunctionOverload/");
|
runTest("jps/jps-plugin/testData/incremental/pureKotlin/addFileWithFunctionOverload/");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("addMemberTypeAlias")
|
|
||||||
public void testAddMemberTypeAlias() throws Exception {
|
|
||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/addMemberTypeAlias/");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("addTopLevelTypeAlias")
|
@TestMetadata("addTopLevelTypeAlias")
|
||||||
public void testAddTopLevelTypeAlias() throws Exception {
|
public void testAddTopLevelTypeAlias() throws Exception {
|
||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/addTopLevelTypeAlias/");
|
runTest("jps/jps-plugin/testData/incremental/pureKotlin/addTopLevelTypeAlias/");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInPureKotlin() throws Exception {
|
public void testAllFilesPresentInPureKotlin() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/pureKotlin"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("(^.*Expect.*)"), TargetBackend.JVM_IR, false);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/pureKotlin"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^.*Expect.*)|(^removeMemberTypeAlias)|(^addMemberTypeAlias)|(^companionConstantChanged))"), TargetBackend.JVM_IR, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("annotations")
|
@TestMetadata("annotations")
|
||||||
@@ -122,11 +117,6 @@ public class IncrementalFirLightTreeJvmCompilerRunnerTestGenerated extends Abstr
|
|||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/classSignatureUnchanged/");
|
runTest("jps/jps-plugin/testData/incremental/pureKotlin/classSignatureUnchanged/");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("companionConstantChanged")
|
|
||||||
public void testCompanionConstantChanged() throws Exception {
|
|
||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/companionConstantChanged/");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("compilationErrorThenFixedOtherPackage")
|
@TestMetadata("compilationErrorThenFixedOtherPackage")
|
||||||
public void testCompilationErrorThenFixedOtherPackage() throws Exception {
|
public void testCompilationErrorThenFixedOtherPackage() throws Exception {
|
||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/compilationErrorThenFixedOtherPackage/");
|
runTest("jps/jps-plugin/testData/incremental/pureKotlin/compilationErrorThenFixedOtherPackage/");
|
||||||
@@ -562,11 +552,6 @@ public class IncrementalFirLightTreeJvmCompilerRunnerTestGenerated extends Abstr
|
|||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/removeFileWithFunctionOverload/");
|
runTest("jps/jps-plugin/testData/incremental/pureKotlin/removeFileWithFunctionOverload/");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("removeMemberTypeAlias")
|
|
||||||
public void testRemoveMemberTypeAlias() throws Exception {
|
|
||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/removeMemberTypeAlias/");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("removeTopLevelTypeAlias")
|
@TestMetadata("removeTopLevelTypeAlias")
|
||||||
public void testRemoveTopLevelTypeAlias() throws Exception {
|
public void testRemoveTopLevelTypeAlias() throws Exception {
|
||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/removeTopLevelTypeAlias/");
|
runTest("jps/jps-plugin/testData/incremental/pureKotlin/removeTopLevelTypeAlias/");
|
||||||
|
|||||||
+82
-112
@@ -1203,7 +1203,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInWithJava() throws Exception {
|
public void testAllFilesPresentInWithJava() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("jps/jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin")
|
@TestMetadata("jps/jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin")
|
||||||
@@ -1215,17 +1215,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInConvertBetweenJavaAndKotlin() throws Exception {
|
public void testAllFilesPresentInConvertBetweenJavaAndKotlin() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("javaToKotlin")
|
|
||||||
public void testJavaToKotlin() throws Exception {
|
|
||||||
runTest("jps/jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin/javaToKotlin/");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("javaToKotlinAndBack")
|
|
||||||
public void testJavaToKotlinAndBack() throws Exception {
|
|
||||||
runTest("jps/jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin/javaToKotlinAndBack/");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("javaToKotlinAndRemove")
|
@TestMetadata("javaToKotlinAndRemove")
|
||||||
@@ -1233,11 +1223,6 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
runTest("jps/jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin/javaToKotlinAndRemove/");
|
runTest("jps/jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin/javaToKotlinAndRemove/");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("kotlinToJava")
|
|
||||||
public void testKotlinToJava() throws Exception {
|
|
||||||
runTest("jps/jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin/kotlinToJava/");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("jps/jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin/javaToKotlin")
|
@TestMetadata("jps/jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin/javaToKotlin")
|
||||||
@TestDataPath("$PROJECT_ROOT")
|
@TestDataPath("$PROJECT_ROOT")
|
||||||
@RunWith(JUnit3RunnerWithInners.class)
|
@RunWith(JUnit3RunnerWithInners.class)
|
||||||
@@ -1247,7 +1232,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInJavaToKotlin() throws Exception {
|
public void testAllFilesPresentInJavaToKotlin() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin/javaToKotlin"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin/javaToKotlin"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1260,7 +1245,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInJavaToKotlinAndBack() throws Exception {
|
public void testAllFilesPresentInJavaToKotlinAndBack() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin/javaToKotlinAndBack"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin/javaToKotlinAndBack"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1273,7 +1258,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInJavaToKotlinAndRemove() throws Exception {
|
public void testAllFilesPresentInJavaToKotlinAndRemove() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin/javaToKotlinAndRemove"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin/javaToKotlinAndRemove"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1286,7 +1271,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInKotlinToJava() throws Exception {
|
public void testAllFilesPresentInKotlinToJava() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin/kotlinToJava"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin/kotlinToJava"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1300,7 +1285,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInJavaUsedInKotlin() throws Exception {
|
public void testAllFilesPresentInJavaUsedInKotlin() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("changeFieldType")
|
@TestMetadata("changeFieldType")
|
||||||
@@ -1308,11 +1293,6 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
runTest("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeFieldType/");
|
runTest("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeFieldType/");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("changeNotUsedSignature")
|
|
||||||
public void testChangeNotUsedSignature() throws Exception {
|
|
||||||
runTest("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeNotUsedSignature/");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("changePropertyOverrideType")
|
@TestMetadata("changePropertyOverrideType")
|
||||||
public void testChangePropertyOverrideType() throws Exception {
|
public void testChangePropertyOverrideType() throws Exception {
|
||||||
runTest("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changePropertyOverrideType/");
|
runTest("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changePropertyOverrideType/");
|
||||||
@@ -1422,7 +1402,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInChangeFieldType() throws Exception {
|
public void testAllFilesPresentInChangeFieldType() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeFieldType"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeFieldType"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1435,7 +1415,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInChangeNotUsedSignature() throws Exception {
|
public void testAllFilesPresentInChangeNotUsedSignature() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeNotUsedSignature"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeNotUsedSignature"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1448,7 +1428,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInChangePropertyOverrideType() throws Exception {
|
public void testAllFilesPresentInChangePropertyOverrideType() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changePropertyOverrideType"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changePropertyOverrideType"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1461,7 +1441,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInChangeSignature() throws Exception {
|
public void testAllFilesPresentInChangeSignature() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeSignature"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeSignature"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1474,7 +1454,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInChangeSignaturePackagePrivate() throws Exception {
|
public void testAllFilesPresentInChangeSignaturePackagePrivate() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeSignaturePackagePrivate"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeSignaturePackagePrivate"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1487,7 +1467,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInChangeSignaturePackagePrivateNonRoot() throws Exception {
|
public void testAllFilesPresentInChangeSignaturePackagePrivateNonRoot() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeSignaturePackagePrivateNonRoot"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeSignaturePackagePrivateNonRoot"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1500,7 +1480,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInChangeSignatureStatic() throws Exception {
|
public void testAllFilesPresentInChangeSignatureStatic() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeSignatureStatic"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeSignatureStatic"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1513,7 +1493,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInConstantChanged() throws Exception {
|
public void testAllFilesPresentInConstantChanged() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/constantChanged"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/constantChanged"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1526,7 +1506,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInConstantPropertyChanged() throws Exception {
|
public void testAllFilesPresentInConstantPropertyChanged() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/constantPropertyChanged"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/constantPropertyChanged"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1539,7 +1519,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInConstantUnchanged() throws Exception {
|
public void testAllFilesPresentInConstantUnchanged() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/constantUnchanged"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/constantUnchanged"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1552,7 +1532,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInEnumEntryAdded() throws Exception {
|
public void testAllFilesPresentInEnumEntryAdded() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/enumEntryAdded"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/enumEntryAdded"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1565,7 +1545,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInEnumEntryRemoved() throws Exception {
|
public void testAllFilesPresentInEnumEntryRemoved() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/enumEntryRemoved"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/enumEntryRemoved"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1578,7 +1558,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInJavaAndKotlinChangedSimultaneously() throws Exception {
|
public void testAllFilesPresentInJavaAndKotlinChangedSimultaneously() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/javaAndKotlinChangedSimultaneously"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/javaAndKotlinChangedSimultaneously"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1591,7 +1571,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInJavaFieldNullabilityChanged() throws Exception {
|
public void testAllFilesPresentInJavaFieldNullabilityChanged() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/javaFieldNullabilityChanged"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/javaFieldNullabilityChanged"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1604,7 +1584,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInJavaMethodParamNullabilityChanged() throws Exception {
|
public void testAllFilesPresentInJavaMethodParamNullabilityChanged() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/javaMethodParamNullabilityChanged"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/javaMethodParamNullabilityChanged"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1617,7 +1597,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInJavaMethodReturnTypeNullabilityChanged() throws Exception {
|
public void testAllFilesPresentInJavaMethodReturnTypeNullabilityChanged() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/javaMethodReturnTypeNullabilityChanged"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/javaMethodReturnTypeNullabilityChanged"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1630,7 +1610,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMethodAddedInSuper() throws Exception {
|
public void testAllFilesPresentInMethodAddedInSuper() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/methodAddedInSuper"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/methodAddedInSuper"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1643,7 +1623,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMethodRenamed() throws Exception {
|
public void testAllFilesPresentInMethodRenamed() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/methodRenamed"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/methodRenamed"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1656,7 +1636,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMixedInheritance() throws Exception {
|
public void testAllFilesPresentInMixedInheritance() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/mixedInheritance"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/mixedInheritance"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1669,7 +1649,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInNotChangeSignature() throws Exception {
|
public void testAllFilesPresentInNotChangeSignature() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/notChangeSignature"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/notChangeSignature"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1682,7 +1662,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInRawErrorTypeDuringSerialization() throws Exception {
|
public void testAllFilesPresentInRawErrorTypeDuringSerialization() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/rawErrorTypeDuringSerialization"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/rawErrorTypeDuringSerialization"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1695,7 +1675,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInRemoveAnnotation() throws Exception {
|
public void testAllFilesPresentInRemoveAnnotation() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/removeAnnotation"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/removeAnnotation"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1708,7 +1688,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInSamConversions() throws Exception {
|
public void testAllFilesPresentInSamConversions() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("methodAddDefault")
|
@TestMetadata("methodAddDefault")
|
||||||
@@ -1745,7 +1725,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMethodAddDefault() throws Exception {
|
public void testAllFilesPresentInMethodAddDefault() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions/methodAddDefault"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions/methodAddDefault"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1758,7 +1738,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMethodAdded() throws Exception {
|
public void testAllFilesPresentInMethodAdded() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions/methodAdded"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions/methodAdded"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1771,7 +1751,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMethodAddedSamAdapter() throws Exception {
|
public void testAllFilesPresentInMethodAddedSamAdapter() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions/methodAddedSamAdapter"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions/methodAddedSamAdapter"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1784,7 +1764,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMethodSignatureChanged() throws Exception {
|
public void testAllFilesPresentInMethodSignatureChanged() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions/methodSignatureChanged"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions/methodSignatureChanged"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1797,7 +1777,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMethodSignatureChangedSamAdapter() throws Exception {
|
public void testAllFilesPresentInMethodSignatureChangedSamAdapter() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions/methodSignatureChangedSamAdapter"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions/methodSignatureChangedSamAdapter"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1817,12 +1797,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInKotlinUsedInJava() throws Exception {
|
public void testAllFilesPresentInKotlinUsedInJava() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("changeNotUsedSignature")
|
|
||||||
public void testChangeNotUsedSignature() throws Exception {
|
|
||||||
runTest("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/changeNotUsedSignature/");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("changeSignature")
|
@TestMetadata("changeSignature")
|
||||||
@@ -1870,11 +1845,6 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
runTest("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/onlyTopLevelFunctionInFileRemoved/");
|
runTest("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/onlyTopLevelFunctionInFileRemoved/");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("packageFileAdded")
|
|
||||||
public void testPackageFileAdded() throws Exception {
|
|
||||||
runTest("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/packageFileAdded/");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("privateChanges")
|
@TestMetadata("privateChanges")
|
||||||
public void testPrivateChanges() throws Exception {
|
public void testPrivateChanges() throws Exception {
|
||||||
runTest("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/privateChanges/");
|
runTest("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/privateChanges/");
|
||||||
@@ -1894,7 +1864,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInAddOptionalParameter() throws Exception {
|
public void testAllFilesPresentInAddOptionalParameter() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/addOptionalParameter"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/addOptionalParameter"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1907,7 +1877,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInChangeNotUsedSignature() throws Exception {
|
public void testAllFilesPresentInChangeNotUsedSignature() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/changeNotUsedSignature"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/changeNotUsedSignature"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1920,7 +1890,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInChangeSignature() throws Exception {
|
public void testAllFilesPresentInChangeSignature() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/changeSignature"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/changeSignature"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1933,7 +1903,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInConstantChanged() throws Exception {
|
public void testAllFilesPresentInConstantChanged() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/constantChanged"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/constantChanged"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1946,7 +1916,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInConstantUnchanged() throws Exception {
|
public void testAllFilesPresentInConstantUnchanged() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/constantUnchanged"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/constantUnchanged"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1959,7 +1929,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInFunRenamed() throws Exception {
|
public void testAllFilesPresentInFunRenamed() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/funRenamed"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/funRenamed"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1972,7 +1942,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInJvmFieldChanged() throws Exception {
|
public void testAllFilesPresentInJvmFieldChanged() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/jvmFieldChanged"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/jvmFieldChanged"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1985,7 +1955,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInJvmFieldUnchanged() throws Exception {
|
public void testAllFilesPresentInJvmFieldUnchanged() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/jvmFieldUnchanged"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/jvmFieldUnchanged"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1998,7 +1968,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMethodAddedInSuper() throws Exception {
|
public void testAllFilesPresentInMethodAddedInSuper() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/methodAddedInSuper"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/methodAddedInSuper"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2011,7 +1981,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInNotChangeSignature() throws Exception {
|
public void testAllFilesPresentInNotChangeSignature() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/notChangeSignature"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/notChangeSignature"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2024,7 +1994,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInOnlyTopLevelFunctionInFileRemoved() throws Exception {
|
public void testAllFilesPresentInOnlyTopLevelFunctionInFileRemoved() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/onlyTopLevelFunctionInFileRemoved"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/onlyTopLevelFunctionInFileRemoved"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2037,7 +2007,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInPackageFileAdded() throws Exception {
|
public void testAllFilesPresentInPackageFileAdded() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/packageFileAdded"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/packageFileAdded"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2050,7 +2020,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInPrivateChanges() throws Exception {
|
public void testAllFilesPresentInPrivateChanges() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/privateChanges"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/privateChanges"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2063,7 +2033,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInPropertyRenamed() throws Exception {
|
public void testAllFilesPresentInPropertyRenamed() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/propertyRenamed"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/kotlinUsedInJava/propertyRenamed"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -2082,7 +2052,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInOther() throws Exception {
|
public void testAllFilesPresentInOther() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("allKotlinFilesRemovedThenNewAdded")
|
@TestMetadata("allKotlinFilesRemovedThenNewAdded")
|
||||||
@@ -2244,7 +2214,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInAccessingFunctionsViaRenamedFileClass() throws Exception {
|
public void testAllFilesPresentInAccessingFunctionsViaRenamedFileClass() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/accessingFunctionsViaRenamedFileClass"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/accessingFunctionsViaRenamedFileClass"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2257,7 +2227,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInAllKotlinFilesRemovedThenNewAdded() throws Exception {
|
public void testAllFilesPresentInAllKotlinFilesRemovedThenNewAdded() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/allKotlinFilesRemovedThenNewAdded"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/allKotlinFilesRemovedThenNewAdded"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2270,7 +2240,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInClassRedeclaration() throws Exception {
|
public void testAllFilesPresentInClassRedeclaration() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/classRedeclaration"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/classRedeclaration"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2283,7 +2253,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInClassToPackageFacade() throws Exception {
|
public void testAllFilesPresentInClassToPackageFacade() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/classToPackageFacade"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/classToPackageFacade"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2296,7 +2266,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInConflictingPlatformDeclarations() throws Exception {
|
public void testAllFilesPresentInConflictingPlatformDeclarations() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/conflictingPlatformDeclarations"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/conflictingPlatformDeclarations"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2309,7 +2279,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInDefaultValueInConstructorAdded() throws Exception {
|
public void testAllFilesPresentInDefaultValueInConstructorAdded() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/defaultValueInConstructorAdded"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/defaultValueInConstructorAdded"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2322,7 +2292,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInInlineFunctionWithJvmNameInClass() throws Exception {
|
public void testAllFilesPresentInInlineFunctionWithJvmNameInClass() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/inlineFunctionWithJvmNameInClass"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/inlineFunctionWithJvmNameInClass"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2335,7 +2305,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInInlineTopLevelFunctionWithJvmName() throws Exception {
|
public void testAllFilesPresentInInlineTopLevelFunctionWithJvmName() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/inlineTopLevelFunctionWithJvmName"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/inlineTopLevelFunctionWithJvmName"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2348,7 +2318,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInInlineTopLevelValPropertyWithJvmName() throws Exception {
|
public void testAllFilesPresentInInlineTopLevelValPropertyWithJvmName() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/inlineTopLevelValPropertyWithJvmName"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/inlineTopLevelValPropertyWithJvmName"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2361,7 +2331,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInInnerClassNotGeneratedWhenRebuilding() throws Exception {
|
public void testAllFilesPresentInInnerClassNotGeneratedWhenRebuilding() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/innerClassNotGeneratedWhenRebuilding"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/innerClassNotGeneratedWhenRebuilding"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2374,7 +2344,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInJvmNameChanged() throws Exception {
|
public void testAllFilesPresentInJvmNameChanged() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/jvmNameChanged"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/jvmNameChanged"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2387,7 +2357,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMainRedeclaration() throws Exception {
|
public void testAllFilesPresentInMainRedeclaration() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/mainRedeclaration"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/mainRedeclaration"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2400,7 +2370,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMultifileClassAddTopLevelFunWithDefault() throws Exception {
|
public void testAllFilesPresentInMultifileClassAddTopLevelFunWithDefault() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassAddTopLevelFunWithDefault"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassAddTopLevelFunWithDefault"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2413,7 +2383,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMultifileClassFileAdded() throws Exception {
|
public void testAllFilesPresentInMultifileClassFileAdded() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassFileAdded"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassFileAdded"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2426,7 +2396,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMultifileClassFileChanged() throws Exception {
|
public void testAllFilesPresentInMultifileClassFileChanged() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassFileChanged"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassFileChanged"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2439,7 +2409,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMultifileClassFileMovedToAnotherMultifileClass() throws Exception {
|
public void testAllFilesPresentInMultifileClassFileMovedToAnotherMultifileClass() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassFileMovedToAnotherMultifileClass"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassFileMovedToAnotherMultifileClass"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2452,7 +2422,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMultifileClassInlineFunction() throws Exception {
|
public void testAllFilesPresentInMultifileClassInlineFunction() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassInlineFunction"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassInlineFunction"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2465,7 +2435,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMultifileClassInlineFunctionAccessingField() throws Exception {
|
public void testAllFilesPresentInMultifileClassInlineFunctionAccessingField() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassInlineFunctionAccessingField"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassInlineFunctionAccessingField"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2478,7 +2448,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMultifileClassRecreated() throws Exception {
|
public void testAllFilesPresentInMultifileClassRecreated() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassRecreated"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassRecreated"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2491,7 +2461,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMultifileClassRecreatedAfterRenaming() throws Exception {
|
public void testAllFilesPresentInMultifileClassRecreatedAfterRenaming() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassRecreatedAfterRenaming"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassRecreatedAfterRenaming"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2504,7 +2474,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMultifileClassRemoved() throws Exception {
|
public void testAllFilesPresentInMultifileClassRemoved() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassRemoved"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileClassRemoved"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2517,7 +2487,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMultifileDependantUsage() throws Exception {
|
public void testAllFilesPresentInMultifileDependantUsage() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileDependantUsage"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifileDependantUsage"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2530,7 +2500,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMultifilePackagePartMethodAdded() throws Exception {
|
public void testAllFilesPresentInMultifilePackagePartMethodAdded() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifilePackagePartMethodAdded"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifilePackagePartMethodAdded"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2543,7 +2513,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInMultifilePartsWithProperties() throws Exception {
|
public void testAllFilesPresentInMultifilePartsWithProperties() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifilePartsWithProperties"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/multifilePartsWithProperties"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2556,7 +2526,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInOptionalParameter() throws Exception {
|
public void testAllFilesPresentInOptionalParameter() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/optionalParameter"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/optionalParameter"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2569,7 +2539,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInPackageFacadeToClass() throws Exception {
|
public void testAllFilesPresentInPackageFacadeToClass() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/packageFacadeToClass"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/packageFacadeToClass"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2582,7 +2552,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInPackageMultifileClassOneFileWithPublicChanges() throws Exception {
|
public void testAllFilesPresentInPackageMultifileClassOneFileWithPublicChanges() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/packageMultifileClassOneFileWithPublicChanges"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/packageMultifileClassOneFileWithPublicChanges"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2595,7 +2565,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInPackageMultifileClassPrivateOnlyChanged() throws Exception {
|
public void testAllFilesPresentInPackageMultifileClassPrivateOnlyChanged() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/packageMultifileClassPrivateOnlyChanged"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/packageMultifileClassPrivateOnlyChanged"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2608,7 +2578,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInPublicPropertyWithPrivateSetterMultiFileFacade() throws Exception {
|
public void testAllFilesPresentInPublicPropertyWithPrivateSetterMultiFileFacade() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/publicPropertyWithPrivateSetterMultiFileFacade"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/publicPropertyWithPrivateSetterMultiFileFacade"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2621,7 +2591,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInTopLevelFunctionWithJvmName() throws Exception {
|
public void testAllFilesPresentInTopLevelFunctionWithJvmName() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/topLevelFunctionWithJvmName"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/topLevelFunctionWithJvmName"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2634,7 +2604,7 @@ public class IncrementalJvmCompilerRunnerTestGenerated extends AbstractIncrement
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInTopLevelPropertyWithJvmName() throws Exception {
|
public void testAllFilesPresentInTopLevelPropertyWithJvmName() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/topLevelPropertyWithJvmName"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/withJava/other/topLevelPropertyWithJvmName"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("((^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature))"), TargetBackend.JVM_IR, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+57
@@ -0,0 +1,57 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||||
|
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package org.jetbrains.kotlin.incremental
|
||||||
|
|
||||||
|
import org.jetbrains.kotlin.build.DEFAULT_KOTLIN_SOURCE_FILES_EXTENSIONS
|
||||||
|
import org.jetbrains.kotlin.cli.common.arguments.K2JVMCompilerArguments
|
||||||
|
import org.jetbrains.kotlin.incremental.multiproject.ModulesApiHistory
|
||||||
|
import org.jetbrains.kotlin.incremental.utils.TestBuildReporter
|
||||||
|
import org.jetbrains.kotlin.incremental.utils.TestLookupTracker
|
||||||
|
import java.io.File
|
||||||
|
|
||||||
|
class IncrementalJvmCompilerTestRunner(
|
||||||
|
workingDir: File,
|
||||||
|
val testReporter: TestBuildReporter,
|
||||||
|
usePreciseJavaTracking: Boolean,
|
||||||
|
buildHistoryFile: File,
|
||||||
|
outputDirs: Collection<File>?,
|
||||||
|
modulesApiHistory: ModulesApiHistory,
|
||||||
|
override val kotlinSourceFilesExtensions: List<String> = DEFAULT_KOTLIN_SOURCE_FILES_EXTENSIONS,
|
||||||
|
classpathChanges: ClasspathChanges,
|
||||||
|
withAbiSnapshot: Boolean = false,
|
||||||
|
val testLookupTracker: TestLookupTracker
|
||||||
|
) : IncrementalJvmCompilerRunner(
|
||||||
|
workingDir,
|
||||||
|
testReporter,
|
||||||
|
usePreciseJavaTracking,
|
||||||
|
buildHistoryFile,
|
||||||
|
outputDirs,
|
||||||
|
modulesApiHistory,
|
||||||
|
kotlinSourceFilesExtensions,
|
||||||
|
classpathChanges,
|
||||||
|
withAbiSnapshot
|
||||||
|
) {
|
||||||
|
override fun createCacheManager(icContext: IncrementalCompilationContext, args: K2JVMCompilerArguments): IncrementalJvmCachesManager =
|
||||||
|
object : IncrementalJvmCachesManager(
|
||||||
|
icContext, args.destination?.let { File(it) }, cacheDirectory
|
||||||
|
) {
|
||||||
|
override fun close() {
|
||||||
|
val platformCachesDump = this.platformCache.dump() +
|
||||||
|
"\n=============\n" +
|
||||||
|
this.inputsCache.dump().replace("rebuild-out", "out")
|
||||||
|
|
||||||
|
testLookupTracker.lookups.mapTo(testLookupTracker.savedLookups) { LookupSymbol(it.name, it.scopeFqName) }
|
||||||
|
this.lookupCache.forceGC()
|
||||||
|
val lookupsDump = this.lookupCache.dump(testLookupTracker.savedLookups)
|
||||||
|
|
||||||
|
testReporter.reportCachesDump("$platformCachesDump\n=============\n$lookupsDump")
|
||||||
|
super.close()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
override fun getLookupTrackerDelegate() = testLookupTracker
|
||||||
|
|
||||||
|
}
|
||||||
+18
@@ -0,0 +1,18 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||||
|
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package org.jetbrains.kotlin.incremental.utils
|
||||||
|
|
||||||
|
import org.jetbrains.kotlin.build.report.BuildReporter
|
||||||
|
import org.jetbrains.kotlin.build.report.metrics.BuildMetricsReporter
|
||||||
|
|
||||||
|
class TestBuildReporter(
|
||||||
|
val testICReporter: TestICReporter,
|
||||||
|
buildMetricsReporter: BuildMetricsReporter
|
||||||
|
) : BuildReporter(testICReporter, buildMetricsReporter) {
|
||||||
|
fun reportCachesDump(cachesDump: String) {
|
||||||
|
testICReporter.cachesDump = cachesDump
|
||||||
|
}
|
||||||
|
}
|
||||||
+4
-3
@@ -22,10 +22,11 @@ import java.io.File
|
|||||||
data class TestCompilationResult(
|
data class TestCompilationResult(
|
||||||
val exitCode: ExitCode,
|
val exitCode: ExitCode,
|
||||||
val compiledSources: Iterable<File>,
|
val compiledSources: Iterable<File>,
|
||||||
val compileErrors: Collection<String>
|
val compileErrors: Collection<String>,
|
||||||
|
val mappingsDump: String
|
||||||
) {
|
) {
|
||||||
constructor(
|
constructor(
|
||||||
icReporter: TestICReporter,
|
icReporter: TestICReporter,
|
||||||
messageCollector: TestMessageCollector
|
messageCollector: TestMessageCollector,
|
||||||
) : this(icReporter.exitCode, icReporter.compiledSources, messageCollector.errors)
|
) : this(icReporter.exitCode, icReporter.compiledSources, messageCollector.errors, icReporter.cachesDump)
|
||||||
}
|
}
|
||||||
+2
@@ -36,4 +36,6 @@ class TestICReporter : ICReporterBase() {
|
|||||||
compiledSourcesMutable.addAll(sourceFiles)
|
compiledSourcesMutable.addAll(sourceFiles)
|
||||||
this.exitCode = exitCode
|
this.exitCode = exitCode
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var cachesDump: String = ""
|
||||||
}
|
}
|
||||||
@@ -24,6 +24,7 @@ import org.jetbrains.kotlin.generators.generateTestGroupSuiteWithJUnit5
|
|||||||
import org.jetbrains.kotlin.generators.impl.generateTestGroupSuite
|
import org.jetbrains.kotlin.generators.impl.generateTestGroupSuite
|
||||||
import org.jetbrains.kotlin.generators.model.annotation
|
import org.jetbrains.kotlin.generators.model.annotation
|
||||||
import org.jetbrains.kotlin.generators.tests.IncrementalTestsGeneratorUtil.Companion.IcTestTypes.PURE_KOTLIN
|
import org.jetbrains.kotlin.generators.tests.IncrementalTestsGeneratorUtil.Companion.IcTestTypes.PURE_KOTLIN
|
||||||
|
import org.jetbrains.kotlin.generators.tests.IncrementalTestsGeneratorUtil.Companion.IcTestTypes.WITH_JAVA
|
||||||
import org.jetbrains.kotlin.generators.tests.IncrementalTestsGeneratorUtil.Companion.incrementalJvmTestData
|
import org.jetbrains.kotlin.generators.tests.IncrementalTestsGeneratorUtil.Companion.incrementalJvmTestData
|
||||||
import org.jetbrains.kotlin.incremental.*
|
import org.jetbrains.kotlin.incremental.*
|
||||||
import org.jetbrains.kotlin.jvm.abi.AbstractCompareJvmAbiTest
|
import org.jetbrains.kotlin.jvm.abi.AbstractCompareJvmAbiTest
|
||||||
@@ -51,26 +52,44 @@ fun main(args: Array<String>) {
|
|||||||
testClass<AbstractIncrementalJvmCompilerRunnerTest>(
|
testClass<AbstractIncrementalJvmCompilerRunnerTest>(
|
||||||
init = incrementalJvmTestData(
|
init = incrementalJvmTestData(
|
||||||
targetBackend = TargetBackend.JVM_IR,
|
targetBackend = TargetBackend.JVM_IR,
|
||||||
folderToExcludePatternMap = mapOf(PURE_KOTLIN to ".*SinceK2")
|
folderToExcludePatternMap = mapOf(
|
||||||
|
PURE_KOTLIN to ".*SinceK2",
|
||||||
|
WITH_JAVA to "(^javaToKotlin)|(^javaToKotlinAndBack)|(^kotlinToJava)|(^packageFileAdded)|(^changeNotUsedSignature)" // KT-56681
|
||||||
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// K2
|
||||||
testClass<AbstractIncrementalFirJvmCompilerRunnerTest>(
|
testClass<AbstractIncrementalFirJvmCompilerRunnerTest>(
|
||||||
init = incrementalJvmTestData(
|
init = incrementalJvmTestData(
|
||||||
TargetBackend.JVM_IR,
|
TargetBackend.JVM_IR,
|
||||||
folderToExcludePatternMap = mapOf(PURE_KOTLIN to "^.*Expect.*")
|
folderToExcludePatternMap = mapOf(
|
||||||
|
PURE_KOTLIN to "(^.*Expect.*)"
|
||||||
|
+ "|(^removeMemberTypeAlias)|(^addMemberTypeAlias)" //KT-55195
|
||||||
|
+ "|(^companionConstantChanged)" //KT-56242
|
||||||
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
testClass<AbstractIncrementalFirICLightTreeJvmCompilerRunnerTest>(
|
testClass<AbstractIncrementalFirICLightTreeJvmCompilerRunnerTest>(
|
||||||
init = incrementalJvmTestData(
|
init = incrementalJvmTestData(
|
||||||
TargetBackend.JVM_IR,
|
TargetBackend.JVM_IR,
|
||||||
folderToExcludePatternMap = mapOf(PURE_KOTLIN to "^.*Expect.*")
|
folderToExcludePatternMap = mapOf(
|
||||||
|
PURE_KOTLIN to "(^.*Expect.*)"
|
||||||
|
+ "|(^removeMemberTypeAlias)|(^addMemberTypeAlias)" //KT-55195
|
||||||
|
+ "|(^companionConstantChanged)", //KT-56242
|
||||||
|
WITH_JAVA to "^classToPackageFacade" // KT-56698
|
||||||
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
testClass<AbstractIncrementalFirLightTreeJvmCompilerRunnerTest>(
|
testClass<AbstractIncrementalFirLightTreeJvmCompilerRunnerTest>(
|
||||||
init = incrementalJvmTestData(
|
init = incrementalJvmTestData(
|
||||||
TargetBackend.JVM_IR,
|
TargetBackend.JVM_IR,
|
||||||
folderToExcludePatternMap = mapOf(PURE_KOTLIN to "^.*Expect.*")
|
folderToExcludePatternMap = mapOf(
|
||||||
|
PURE_KOTLIN to "(^.*Expect.*)"
|
||||||
|
+ "|(^removeMemberTypeAlias)|(^addMemberTypeAlias)" //KT-55195
|
||||||
|
+ "|(^companionConstantChanged)" //KT-56242
|
||||||
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user