mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-10 08:31:29 +00:00
Add multi-module JS IC tests with JPS
This commit is contained in:
@@ -27,10 +27,11 @@ data class BuildLogFinder(
|
||||
private const val JS_LOG = "js-build.log"
|
||||
private const val GRADLE_LOG = "gradle-build.log"
|
||||
private const val DATA_CONTAINER_LOG = "data-container-version-build.log"
|
||||
const val JS_JPS_LOG = "js-jps-build.log"
|
||||
private const val SIMPLE_LOG = "build.log"
|
||||
|
||||
fun isJpsLogFile(file: File): Boolean =
|
||||
file.name.let { it == SIMPLE_LOG || it == DATA_CONTAINER_LOG }
|
||||
file.name in arrayOf(SIMPLE_LOG, JS_JPS_LOG, DATA_CONTAINER_LOG)
|
||||
}
|
||||
|
||||
fun findBuildLog(dir: File): File? {
|
||||
@@ -39,6 +40,7 @@ data class BuildLogFinder(
|
||||
val matchedName = when {
|
||||
isJsEnabled && JS_LOG in files -> JS_LOG
|
||||
isGradleEnabled && GRADLE_LOG in files -> GRADLE_LOG
|
||||
isJsEnabled && JS_JPS_LOG in files -> JS_JPS_LOG
|
||||
isDataContainerBuildLogEnabled && DATA_CONTAINER_LOG in files -> DATA_CONTAINER_LOG
|
||||
SIMPLE_LOG in files -> SIMPLE_LOG
|
||||
else -> null
|
||||
|
||||
@@ -928,7 +928,8 @@ fun main(args: Array<String>) {
|
||||
|
||||
testGroup("jps-plugin/jps-tests/test", "jps-plugin/testData") {
|
||||
testClass<AbstractIncrementalJpsTest> {
|
||||
model("incremental/multiModule", extension = null, excludeParentDirs = true)
|
||||
model("incremental/multiModule/common", extension = null, excludeParentDirs = true)
|
||||
model("incremental/multiModule/jvm", extension = null, excludeParentDirs = true)
|
||||
model("incremental/pureKotlin", extension = null, recursive = false)
|
||||
model("incremental/withJava", extension = null, excludeParentDirs = true)
|
||||
model("incremental/inlineFunCallSite", extension = null, excludeParentDirs = true)
|
||||
@@ -937,6 +938,10 @@ fun main(args: Array<String>) {
|
||||
|
||||
actualizeMppJpsIncTestCaseDirs(testDataRoot, "incremental/multiplatform/multiModule")
|
||||
|
||||
testClass<AbstractIncrementalJsJpsTest> {
|
||||
model("incremental/multiModule/common", extension = null, excludeParentDirs = true)
|
||||
}
|
||||
|
||||
testClass<AbstractMultiplatformJpsTest> {
|
||||
model(
|
||||
"incremental/multiplatform/multiModule", extension = null, excludeParentDirs = true,
|
||||
|
||||
@@ -917,7 +917,8 @@ fun main(args: Array<String>) {
|
||||
|
||||
testGroup("jps-plugin/jps-tests/test", "jps-plugin/testData") {
|
||||
testClass<AbstractIncrementalJpsTest> {
|
||||
model("incremental/multiModule", extension = null, excludeParentDirs = true)
|
||||
model("incremental/multiModule/common", extension = null, excludeParentDirs = true)
|
||||
model("incremental/multiModule/jvm", extension = null, excludeParentDirs = true)
|
||||
model("incremental/pureKotlin", extension = null, recursive = false)
|
||||
model("incremental/withJava", extension = null, excludeParentDirs = true)
|
||||
model("incremental/inlineFunCallSite", extension = null, excludeParentDirs = true)
|
||||
@@ -926,6 +927,10 @@ fun main(args: Array<String>) {
|
||||
|
||||
actualizeMppJpsIncTestCaseDirs(testDataRoot, "incremental/multiplatform/multiModule")
|
||||
|
||||
testClass<AbstractIncrementalJsJpsTest> {
|
||||
model("incremental/multiModule/common", extension = null, excludeParentDirs = true)
|
||||
}
|
||||
|
||||
testClass<AbstractMultiplatformJpsTest> {
|
||||
model(
|
||||
"incremental/multiplatform/multiModule", extension = null, excludeParentDirs = true,
|
||||
|
||||
@@ -928,13 +928,27 @@ fun main(args: Array<String>) {
|
||||
/* There is no jps in AS
|
||||
testGroup("jps-plugin/jps-tests/test", "jps-plugin/testData") {
|
||||
testClass<AbstractIncrementalJpsTest> {
|
||||
model("incremental/multiModule", extension = null, excludeParentDirs = true)
|
||||
model("incremental/multiModule/common", extension = null, excludeParentDirs = true)
|
||||
model("incremental/multiModule/jvm", extension = null, excludeParentDirs = true)
|
||||
model("incremental/pureKotlin", extension = null, recursive = false)
|
||||
model("incremental/withJava", extension = null, excludeParentDirs = true)
|
||||
model("incremental/inlineFunCallSite", extension = null, excludeParentDirs = true)
|
||||
model("incremental/classHierarchyAffected", extension = null, excludeParentDirs = true)
|
||||
}
|
||||
|
||||
actualizeMppJpsIncTestCaseDirs(testDataRoot, "incremental/multiplatform/multiModule")
|
||||
|
||||
testClass<AbstractIncrementalJsJpsTest> {
|
||||
model("incremental/multiModule/common", extension = null, excludeParentDirs = true)
|
||||
}
|
||||
|
||||
testClass<AbstractMultiplatformJpsTest> {
|
||||
model(
|
||||
"incremental/multiplatform/multiModule", extension = null, excludeParentDirs = true,
|
||||
testClassName = "MultiplatformMultiModule", recursive = true
|
||||
)
|
||||
}
|
||||
|
||||
testClass<AbstractJvmLookupTrackerTest> {
|
||||
model("incremental/lookupTracker/jvm", extension = null, recursive = false)
|
||||
}
|
||||
|
||||
@@ -928,13 +928,27 @@ fun main(args: Array<String>) {
|
||||
/* There is no jps in AS
|
||||
testGroup("jps-plugin/jps-tests/test", "jps-plugin/testData") {
|
||||
testClass<AbstractIncrementalJpsTest> {
|
||||
model("incremental/multiModule", extension = null, excludeParentDirs = true)
|
||||
model("incremental/multiModule/common", extension = null, excludeParentDirs = true)
|
||||
model("incremental/multiModule/jvm", extension = null, excludeParentDirs = true)
|
||||
model("incremental/pureKotlin", extension = null, recursive = false)
|
||||
model("incremental/withJava", extension = null, excludeParentDirs = true)
|
||||
model("incremental/inlineFunCallSite", extension = null, excludeParentDirs = true)
|
||||
model("incremental/classHierarchyAffected", extension = null, excludeParentDirs = true)
|
||||
}
|
||||
|
||||
actualizeMppJpsIncTestCaseDirs(testDataRoot, "incremental/multiplatform/multiModule")
|
||||
|
||||
testClass<AbstractIncrementalJsJpsTest> {
|
||||
model("incremental/multiModule/common", extension = null, excludeParentDirs = true)
|
||||
}
|
||||
|
||||
testClass<AbstractMultiplatformJpsTest> {
|
||||
model(
|
||||
"incremental/multiplatform/multiModule", extension = null, excludeParentDirs = true,
|
||||
testClassName = "MultiplatformMultiModule", recursive = true
|
||||
)
|
||||
}
|
||||
|
||||
testClass<AbstractJvmLookupTrackerTest> {
|
||||
model("incremental/lookupTracker/jvm", extension = null, recursive = false)
|
||||
}
|
||||
|
||||
@@ -428,11 +428,15 @@ abstract class AbstractIncrementalJpsTest(
|
||||
|
||||
moduleNames = nameToModule.keys
|
||||
}
|
||||
AbstractKotlinJpsBuildTestCase.addKotlinStdlibDependency(myProject)
|
||||
AbstractKotlinJpsBuildTestCase.addKotlinTestDependency(myProject)
|
||||
|
||||
configureDependencies()
|
||||
return moduleNames
|
||||
}
|
||||
|
||||
protected open fun configureDependencies() {
|
||||
AbstractKotlinJpsBuildTestCase.addKotlinStdlibDependency(myProject)
|
||||
AbstractKotlinJpsBuildTestCase.addKotlinTestDependency(myProject)
|
||||
}
|
||||
|
||||
protected open fun preProcessSources(srcDir: File) {
|
||||
}
|
||||
|
||||
@@ -427,11 +427,15 @@ abstract class AbstractIncrementalJpsTest(
|
||||
|
||||
moduleNames = nameToModule.keys
|
||||
}
|
||||
AbstractKotlinJpsBuildTestCase.addKotlinStdlibDependency(myProject)
|
||||
AbstractKotlinJpsBuildTestCase.addKotlinTestDependency(myProject)
|
||||
|
||||
configureDependencies()
|
||||
return moduleNames
|
||||
}
|
||||
|
||||
protected open fun configureDependencies() {
|
||||
AbstractKotlinJpsBuildTestCase.addKotlinStdlibDependency(myProject)
|
||||
AbstractKotlinJpsBuildTestCase.addKotlinTestDependency(myProject)
|
||||
}
|
||||
|
||||
protected open fun preProcessSources(srcDir: File) {
|
||||
}
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* Copyright 2010-2018 JetBrains s.r.o. 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.jps.build
|
||||
|
||||
import org.jetbrains.kotlin.config.IncrementalCompilation
|
||||
import org.jetbrains.kotlin.incremental.testingUtils.BuildLogFinder
|
||||
import org.jetbrains.kotlin.incremental.testingUtils.BuildLogFinder.Companion.JS_JPS_LOG
|
||||
import java.io.File
|
||||
|
||||
abstract class AbstractIncrementalJsJpsTest : AbstractIncrementalJpsTest() {
|
||||
private var isICEnabledForJsBackup: Boolean = false
|
||||
|
||||
override fun setUp() {
|
||||
super.setUp()
|
||||
isICEnabledForJsBackup = IncrementalCompilation.isEnabledForJs()
|
||||
IncrementalCompilation.setIsEnabledForJs(true)
|
||||
}
|
||||
|
||||
override fun tearDown() {
|
||||
IncrementalCompilation.setIsEnabledForJs(isICEnabledForJsBackup)
|
||||
super.tearDown()
|
||||
}
|
||||
|
||||
override fun configureDependencies() {
|
||||
AbstractKotlinJpsBuildTestCase.addKotlinJavaScriptStdlibDependency(myProject)
|
||||
}
|
||||
|
||||
override val buildLogFinder: BuildLogFinder
|
||||
get() = super.buildLogFinder.copy(isJsEnabled = true)
|
||||
|
||||
override fun doTest(testDataPath: String) {
|
||||
val buildLogFile = File(testDataPath).resolve(JS_JPS_LOG)
|
||||
if (!buildLogFile.exists()) {
|
||||
buildLogFile.writeText("JPS JS LOG PLACEHOLDER")
|
||||
}
|
||||
super.doTest(testDataPath)
|
||||
}
|
||||
}
|
||||
@@ -75,6 +75,10 @@ public abstract class AbstractKotlinJpsBuildTestCase extends BaseKotlinJpsBuildT
|
||||
return addDependency("KotlinJavaScript", PathUtil.getKotlinPathsForDistDirectory().getJsStdLibJarPath());
|
||||
}
|
||||
|
||||
static JpsLibrary addKotlinJavaScriptStdlibDependency(@NotNull JpsProject project) {
|
||||
return addDependency(project,"KotlinJavaScript", PathUtil.getKotlinPathsForDistDirectory().getJsStdLibJarPath());
|
||||
}
|
||||
|
||||
static JpsLibrary addKotlinStdlibDependency(@NotNull JpsProject project) {
|
||||
return addKotlinStdlibDependency(project.getModules(), false);
|
||||
}
|
||||
|
||||
@@ -19,224 +19,134 @@ import java.util.regex.Pattern;
|
||||
@SuppressWarnings("all")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class IncrementalJpsTestGenerated extends AbstractIncrementalJpsTest {
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule")
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class MultiModule extends AbstractIncrementalJpsTest {
|
||||
public static class Common extends AbstractIncrementalJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInMultiModule() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
|
||||
@TestMetadata("circular")
|
||||
public void testCircular() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/circular/");
|
||||
}
|
||||
|
||||
@TestMetadata("circularDependencyClasses")
|
||||
public void testCircularDependencyClasses() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/circularDependencyClasses/");
|
||||
}
|
||||
|
||||
@TestMetadata("circularDependencySamePackageUnchanged")
|
||||
public void testCircularDependencySamePackageUnchanged() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/circularDependencySamePackageUnchanged/");
|
||||
}
|
||||
|
||||
@TestMetadata("circularDependencyTopLevelFunctions")
|
||||
public void testCircularDependencyTopLevelFunctions() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/circularDependencyTopLevelFunctions/");
|
||||
}
|
||||
|
||||
@TestMetadata("circularDependencyWithAccessToInternal")
|
||||
public void testCircularDependencyWithAccessToInternal() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/circularDependencyWithAccessToInternal/");
|
||||
public void testAllFilesPresentInCommon() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
|
||||
@TestMetadata("classAdded")
|
||||
public void testClassAdded() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/classAdded/");
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/classAdded/");
|
||||
}
|
||||
|
||||
@TestMetadata("classRemoved")
|
||||
public void testClassRemoved() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/classRemoved/");
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/classRemoved/");
|
||||
}
|
||||
|
||||
@TestMetadata("constantValueChanged")
|
||||
public void testConstantValueChanged() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/constantValueChanged/");
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/constantValueChanged/");
|
||||
}
|
||||
|
||||
@TestMetadata("copyFileToAnotherModule")
|
||||
public void testCopyFileToAnotherModule() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/copyFileToAnotherModule/");
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/copyFileToAnotherModule/");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultArgumentInConstructorRemoved")
|
||||
public void testDefaultArgumentInConstructorRemoved() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/defaultArgumentInConstructorRemoved/");
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/defaultArgumentInConstructorRemoved/");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultParameterAdded")
|
||||
public void testDefaultParameterAdded() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/defaultParameterAdded/");
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/defaultParameterAdded/");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultParameterAddedForTopLevelFun")
|
||||
public void testDefaultParameterAddedForTopLevelFun() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/defaultParameterAddedForTopLevelFun/");
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/defaultParameterAddedForTopLevelFun/");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultParameterRemoved")
|
||||
public void testDefaultParameterRemoved() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/defaultParameterRemoved/");
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/defaultParameterRemoved/");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultParameterRemovedForTopLevelFun")
|
||||
public void testDefaultParameterRemovedForTopLevelFun() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/defaultParameterRemovedForTopLevelFun/");
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/defaultParameterRemovedForTopLevelFun/");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultValueInConstructorRemoved")
|
||||
public void testDefaultValueInConstructorRemoved() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/defaultValueInConstructorRemoved/");
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/defaultValueInConstructorRemoved/");
|
||||
}
|
||||
|
||||
@TestMetadata("duplicatedClass")
|
||||
public void testDuplicatedClass() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/duplicatedClass/");
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/duplicatedClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("exportedDependency")
|
||||
public void testExportedDependency() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/exportedDependency/");
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/exportedDependency/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineFunctionInlined")
|
||||
public void testInlineFunctionInlined() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/inlineFunctionInlined/");
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/inlineFunctionInlined/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineFunctionTwoPackageParts")
|
||||
public void testInlineFunctionTwoPackageParts() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/inlineFunctionTwoPackageParts/");
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/inlineFunctionTwoPackageParts/");
|
||||
}
|
||||
|
||||
@TestMetadata("moveFileToAnotherModule")
|
||||
public void testMoveFileToAnotherModule() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/moveFileToAnotherModule/");
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/moveFileToAnotherModule/");
|
||||
}
|
||||
|
||||
@TestMetadata("simple")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/simple/");
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/simple/");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleDependency")
|
||||
public void testSimpleDependency() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/simpleDependency/");
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/simpleDependency/");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleDependencyErrorOnAccessToInternal1")
|
||||
public void testSimpleDependencyErrorOnAccessToInternal1() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/simpleDependencyErrorOnAccessToInternal1/");
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal1/");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleDependencyErrorOnAccessToInternal2")
|
||||
public void testSimpleDependencyErrorOnAccessToInternal2() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/simpleDependencyErrorOnAccessToInternal2/");
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal2/");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleDependencyUnchanged")
|
||||
public void testSimpleDependencyUnchanged() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/simpleDependencyUnchanged/");
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/simpleDependencyUnchanged/");
|
||||
}
|
||||
|
||||
@TestMetadata("transitiveDependency")
|
||||
public void testTransitiveDependency() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/transitiveDependency/");
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/transitiveDependency/");
|
||||
}
|
||||
|
||||
@TestMetadata("transitiveInlining")
|
||||
public void testTransitiveInlining() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/transitiveInlining/");
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/transitiveInlining/");
|
||||
}
|
||||
|
||||
@TestMetadata("twoDependants")
|
||||
public void testTwoDependants() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/twoDependants/");
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/twoDependants/");
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/circular")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Circular extends AbstractIncrementalJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInCircular() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/circular"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/circularDependencyClasses")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class CircularDependencyClasses extends AbstractIncrementalJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInCircularDependencyClasses() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/circularDependencyClasses"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/circularDependencySamePackageUnchanged")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class CircularDependencySamePackageUnchanged extends AbstractIncrementalJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInCircularDependencySamePackageUnchanged() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/circularDependencySamePackageUnchanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/circularDependencyTopLevelFunctions")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class CircularDependencyTopLevelFunctions extends AbstractIncrementalJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInCircularDependencyTopLevelFunctions() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/circularDependencyTopLevelFunctions"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/circularDependencyWithAccessToInternal")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class CircularDependencyWithAccessToInternal extends AbstractIncrementalJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInCircularDependencyWithAccessToInternal() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/circularDependencyWithAccessToInternal"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/classAdded")
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/classAdded")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class ClassAdded extends AbstractIncrementalJpsTest {
|
||||
@@ -245,11 +155,11 @@ public class IncrementalJpsTestGenerated extends AbstractIncrementalJpsTest {
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInClassAdded() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/classAdded"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/classAdded"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/classRemoved")
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/classRemoved")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class ClassRemoved extends AbstractIncrementalJpsTest {
|
||||
@@ -258,11 +168,11 @@ public class IncrementalJpsTestGenerated extends AbstractIncrementalJpsTest {
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInClassRemoved() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/classRemoved"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/classRemoved"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/constantValueChanged")
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/constantValueChanged")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class ConstantValueChanged extends AbstractIncrementalJpsTest {
|
||||
@@ -271,11 +181,11 @@ public class IncrementalJpsTestGenerated extends AbstractIncrementalJpsTest {
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInConstantValueChanged() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/constantValueChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/constantValueChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/copyFileToAnotherModule")
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/copyFileToAnotherModule")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class CopyFileToAnotherModule extends AbstractIncrementalJpsTest {
|
||||
@@ -284,11 +194,11 @@ public class IncrementalJpsTestGenerated extends AbstractIncrementalJpsTest {
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInCopyFileToAnotherModule() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/copyFileToAnotherModule"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/copyFileToAnotherModule"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/defaultArgumentInConstructorRemoved")
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/defaultArgumentInConstructorRemoved")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultArgumentInConstructorRemoved extends AbstractIncrementalJpsTest {
|
||||
@@ -297,11 +207,11 @@ public class IncrementalJpsTestGenerated extends AbstractIncrementalJpsTest {
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInDefaultArgumentInConstructorRemoved() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/defaultArgumentInConstructorRemoved"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultArgumentInConstructorRemoved"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/defaultParameterAdded")
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/defaultParameterAdded")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultParameterAdded extends AbstractIncrementalJpsTest {
|
||||
@@ -310,11 +220,11 @@ public class IncrementalJpsTestGenerated extends AbstractIncrementalJpsTest {
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInDefaultParameterAdded() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/defaultParameterAdded"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultParameterAdded"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/defaultParameterAddedForTopLevelFun")
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/defaultParameterAddedForTopLevelFun")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultParameterAddedForTopLevelFun extends AbstractIncrementalJpsTest {
|
||||
@@ -323,11 +233,11 @@ public class IncrementalJpsTestGenerated extends AbstractIncrementalJpsTest {
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInDefaultParameterAddedForTopLevelFun() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/defaultParameterAddedForTopLevelFun"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultParameterAddedForTopLevelFun"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/defaultParameterRemoved")
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/defaultParameterRemoved")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultParameterRemoved extends AbstractIncrementalJpsTest {
|
||||
@@ -336,11 +246,11 @@ public class IncrementalJpsTestGenerated extends AbstractIncrementalJpsTest {
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInDefaultParameterRemoved() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/defaultParameterRemoved"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultParameterRemoved"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/defaultParameterRemovedForTopLevelFun")
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/defaultParameterRemovedForTopLevelFun")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultParameterRemovedForTopLevelFun extends AbstractIncrementalJpsTest {
|
||||
@@ -349,11 +259,11 @@ public class IncrementalJpsTestGenerated extends AbstractIncrementalJpsTest {
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInDefaultParameterRemovedForTopLevelFun() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/defaultParameterRemovedForTopLevelFun"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultParameterRemovedForTopLevelFun"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/defaultValueInConstructorRemoved")
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/defaultValueInConstructorRemoved")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultValueInConstructorRemoved extends AbstractIncrementalJpsTest {
|
||||
@@ -362,11 +272,11 @@ public class IncrementalJpsTestGenerated extends AbstractIncrementalJpsTest {
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInDefaultValueInConstructorRemoved() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/defaultValueInConstructorRemoved"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultValueInConstructorRemoved"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/duplicatedClass")
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/duplicatedClass")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DuplicatedClass extends AbstractIncrementalJpsTest {
|
||||
@@ -375,11 +285,11 @@ public class IncrementalJpsTestGenerated extends AbstractIncrementalJpsTest {
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInDuplicatedClass() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/duplicatedClass"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/duplicatedClass"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/exportedDependency")
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/exportedDependency")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class ExportedDependency extends AbstractIncrementalJpsTest {
|
||||
@@ -388,11 +298,11 @@ public class IncrementalJpsTestGenerated extends AbstractIncrementalJpsTest {
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInExportedDependency() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/exportedDependency"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/exportedDependency"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/inlineFunctionInlined")
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/inlineFunctionInlined")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class InlineFunctionInlined extends AbstractIncrementalJpsTest {
|
||||
@@ -401,11 +311,11 @@ public class IncrementalJpsTestGenerated extends AbstractIncrementalJpsTest {
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInInlineFunctionInlined() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/inlineFunctionInlined"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/inlineFunctionInlined"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/inlineFunctionTwoPackageParts")
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/inlineFunctionTwoPackageParts")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class InlineFunctionTwoPackageParts extends AbstractIncrementalJpsTest {
|
||||
@@ -414,11 +324,11 @@ public class IncrementalJpsTestGenerated extends AbstractIncrementalJpsTest {
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInInlineFunctionTwoPackageParts() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/inlineFunctionTwoPackageParts"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/inlineFunctionTwoPackageParts"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/moveFileToAnotherModule")
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/moveFileToAnotherModule")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class MoveFileToAnotherModule extends AbstractIncrementalJpsTest {
|
||||
@@ -427,11 +337,11 @@ public class IncrementalJpsTestGenerated extends AbstractIncrementalJpsTest {
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInMoveFileToAnotherModule() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/moveFileToAnotherModule"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/moveFileToAnotherModule"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/simple")
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/simple")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Simple extends AbstractIncrementalJpsTest {
|
||||
@@ -440,11 +350,11 @@ public class IncrementalJpsTestGenerated extends AbstractIncrementalJpsTest {
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInSimple() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/simple"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/simple"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/simpleDependency")
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/simpleDependency")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class SimpleDependency extends AbstractIncrementalJpsTest {
|
||||
@@ -453,11 +363,11 @@ public class IncrementalJpsTestGenerated extends AbstractIncrementalJpsTest {
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInSimpleDependency() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/simpleDependency"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/simpleDependency"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/simpleDependencyErrorOnAccessToInternal1")
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal1")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class SimpleDependencyErrorOnAccessToInternal1 extends AbstractIncrementalJpsTest {
|
||||
@@ -466,11 +376,11 @@ public class IncrementalJpsTestGenerated extends AbstractIncrementalJpsTest {
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInSimpleDependencyErrorOnAccessToInternal1() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/simpleDependencyErrorOnAccessToInternal1"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal1"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/simpleDependencyErrorOnAccessToInternal2")
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal2")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class SimpleDependencyErrorOnAccessToInternal2 extends AbstractIncrementalJpsTest {
|
||||
@@ -479,11 +389,11 @@ public class IncrementalJpsTestGenerated extends AbstractIncrementalJpsTest {
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInSimpleDependencyErrorOnAccessToInternal2() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/simpleDependencyErrorOnAccessToInternal2"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal2"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/simpleDependencyUnchanged")
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/simpleDependencyUnchanged")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class SimpleDependencyUnchanged extends AbstractIncrementalJpsTest {
|
||||
@@ -492,11 +402,11 @@ public class IncrementalJpsTestGenerated extends AbstractIncrementalJpsTest {
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInSimpleDependencyUnchanged() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/simpleDependencyUnchanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/simpleDependencyUnchanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/transitiveDependency")
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/transitiveDependency")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class TransitiveDependency extends AbstractIncrementalJpsTest {
|
||||
@@ -505,11 +415,11 @@ public class IncrementalJpsTestGenerated extends AbstractIncrementalJpsTest {
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInTransitiveDependency() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/transitiveDependency"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/transitiveDependency"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/transitiveInlining")
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/transitiveInlining")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class TransitiveInlining extends AbstractIncrementalJpsTest {
|
||||
@@ -518,11 +428,11 @@ public class IncrementalJpsTestGenerated extends AbstractIncrementalJpsTest {
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInTransitiveInlining() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/transitiveInlining"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/transitiveInlining"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/twoDependants")
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/twoDependants")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class TwoDependants extends AbstractIncrementalJpsTest {
|
||||
@@ -531,7 +441,110 @@ public class IncrementalJpsTestGenerated extends AbstractIncrementalJpsTest {
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInTwoDependants() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/twoDependants"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/twoDependants"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/jvm")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Jvm extends AbstractIncrementalJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInJvm() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/jvm"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
|
||||
@TestMetadata("circular")
|
||||
public void testCircular() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/jvm/circular/");
|
||||
}
|
||||
|
||||
@TestMetadata("circularDependencyClasses")
|
||||
public void testCircularDependencyClasses() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/jvm/circularDependencyClasses/");
|
||||
}
|
||||
|
||||
@TestMetadata("circularDependencySamePackageUnchanged")
|
||||
public void testCircularDependencySamePackageUnchanged() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/jvm/circularDependencySamePackageUnchanged/");
|
||||
}
|
||||
|
||||
@TestMetadata("circularDependencyTopLevelFunctions")
|
||||
public void testCircularDependencyTopLevelFunctions() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/jvm/circularDependencyTopLevelFunctions/");
|
||||
}
|
||||
|
||||
@TestMetadata("circularDependencyWithAccessToInternal")
|
||||
public void testCircularDependencyWithAccessToInternal() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/jvm/circularDependencyWithAccessToInternal/");
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/jvm/circular")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Circular extends AbstractIncrementalJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInCircular() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/jvm/circular"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/jvm/circularDependencyClasses")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class CircularDependencyClasses extends AbstractIncrementalJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInCircularDependencyClasses() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/jvm/circularDependencyClasses"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/jvm/circularDependencySamePackageUnchanged")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class CircularDependencySamePackageUnchanged extends AbstractIncrementalJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInCircularDependencySamePackageUnchanged() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/jvm/circularDependencySamePackageUnchanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/jvm/circularDependencyTopLevelFunctions")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class CircularDependencyTopLevelFunctions extends AbstractIncrementalJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInCircularDependencyTopLevelFunctions() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/jvm/circularDependencyTopLevelFunctions"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/jvm/circularDependencyWithAccessToInternal")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class CircularDependencyWithAccessToInternal extends AbstractIncrementalJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInCircularDependencyWithAccessToInternal() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/jvm/circularDependencyWithAccessToInternal"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
445
jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/IncrementalJsJpsTestGenerated.java
generated
Normal file
445
jps-plugin/jps-tests/test/org/jetbrains/kotlin/jps/build/IncrementalJsJpsTestGenerated.java
generated
Normal file
@@ -0,0 +1,445 @@
|
||||
/*
|
||||
* Copyright 2010-2018 JetBrains s.r.o. 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.jps.build;
|
||||
|
||||
import com.intellij.testFramework.TestDataPath;
|
||||
import org.jetbrains.kotlin.test.JUnit3RunnerWithInners;
|
||||
import org.jetbrains.kotlin.test.KotlinTestUtils;
|
||||
import org.jetbrains.kotlin.test.TargetBackend;
|
||||
import org.jetbrains.kotlin.test.TestMetadata;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
/** This class is generated by {@link org.jetbrains.kotlin.generators.tests.TestsPackage}. DO NOT MODIFY MANUALLY */
|
||||
@SuppressWarnings("all")
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class IncrementalJsJpsTestGenerated extends AbstractIncrementalJsJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInCommon() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
|
||||
@TestMetadata("classAdded")
|
||||
public void testClassAdded() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/classAdded/");
|
||||
}
|
||||
|
||||
@TestMetadata("classRemoved")
|
||||
public void testClassRemoved() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/classRemoved/");
|
||||
}
|
||||
|
||||
@TestMetadata("constantValueChanged")
|
||||
public void testConstantValueChanged() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/constantValueChanged/");
|
||||
}
|
||||
|
||||
@TestMetadata("copyFileToAnotherModule")
|
||||
public void testCopyFileToAnotherModule() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/copyFileToAnotherModule/");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultArgumentInConstructorRemoved")
|
||||
public void testDefaultArgumentInConstructorRemoved() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/defaultArgumentInConstructorRemoved/");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultParameterAdded")
|
||||
public void testDefaultParameterAdded() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/defaultParameterAdded/");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultParameterAddedForTopLevelFun")
|
||||
public void testDefaultParameterAddedForTopLevelFun() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/defaultParameterAddedForTopLevelFun/");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultParameterRemoved")
|
||||
public void testDefaultParameterRemoved() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/defaultParameterRemoved/");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultParameterRemovedForTopLevelFun")
|
||||
public void testDefaultParameterRemovedForTopLevelFun() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/defaultParameterRemovedForTopLevelFun/");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultValueInConstructorRemoved")
|
||||
public void testDefaultValueInConstructorRemoved() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/defaultValueInConstructorRemoved/");
|
||||
}
|
||||
|
||||
@TestMetadata("duplicatedClass")
|
||||
public void testDuplicatedClass() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/duplicatedClass/");
|
||||
}
|
||||
|
||||
@TestMetadata("exportedDependency")
|
||||
public void testExportedDependency() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/exportedDependency/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineFunctionInlined")
|
||||
public void testInlineFunctionInlined() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/inlineFunctionInlined/");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineFunctionTwoPackageParts")
|
||||
public void testInlineFunctionTwoPackageParts() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/inlineFunctionTwoPackageParts/");
|
||||
}
|
||||
|
||||
@TestMetadata("moveFileToAnotherModule")
|
||||
public void testMoveFileToAnotherModule() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/moveFileToAnotherModule/");
|
||||
}
|
||||
|
||||
@TestMetadata("simple")
|
||||
public void testSimple() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/simple/");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleDependency")
|
||||
public void testSimpleDependency() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/simpleDependency/");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleDependencyErrorOnAccessToInternal1")
|
||||
public void testSimpleDependencyErrorOnAccessToInternal1() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal1/");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleDependencyErrorOnAccessToInternal2")
|
||||
public void testSimpleDependencyErrorOnAccessToInternal2() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal2/");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleDependencyUnchanged")
|
||||
public void testSimpleDependencyUnchanged() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/simpleDependencyUnchanged/");
|
||||
}
|
||||
|
||||
@TestMetadata("transitiveDependency")
|
||||
public void testTransitiveDependency() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/transitiveDependency/");
|
||||
}
|
||||
|
||||
@TestMetadata("transitiveInlining")
|
||||
public void testTransitiveInlining() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/transitiveInlining/");
|
||||
}
|
||||
|
||||
@TestMetadata("twoDependants")
|
||||
public void testTwoDependants() throws Exception {
|
||||
runTest("jps-plugin/testData/incremental/multiModule/common/twoDependants/");
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/classAdded")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class ClassAdded extends AbstractIncrementalJsJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInClassAdded() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/classAdded"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/classRemoved")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class ClassRemoved extends AbstractIncrementalJsJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInClassRemoved() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/classRemoved"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/constantValueChanged")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class ConstantValueChanged extends AbstractIncrementalJsJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInConstantValueChanged() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/constantValueChanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/copyFileToAnotherModule")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class CopyFileToAnotherModule extends AbstractIncrementalJsJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInCopyFileToAnotherModule() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/copyFileToAnotherModule"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/defaultArgumentInConstructorRemoved")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultArgumentInConstructorRemoved extends AbstractIncrementalJsJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInDefaultArgumentInConstructorRemoved() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultArgumentInConstructorRemoved"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/defaultParameterAdded")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultParameterAdded extends AbstractIncrementalJsJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInDefaultParameterAdded() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultParameterAdded"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/defaultParameterAddedForTopLevelFun")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultParameterAddedForTopLevelFun extends AbstractIncrementalJsJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInDefaultParameterAddedForTopLevelFun() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultParameterAddedForTopLevelFun"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/defaultParameterRemoved")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultParameterRemoved extends AbstractIncrementalJsJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInDefaultParameterRemoved() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultParameterRemoved"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/defaultParameterRemovedForTopLevelFun")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultParameterRemovedForTopLevelFun extends AbstractIncrementalJsJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInDefaultParameterRemovedForTopLevelFun() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultParameterRemovedForTopLevelFun"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/defaultValueInConstructorRemoved")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DefaultValueInConstructorRemoved extends AbstractIncrementalJsJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInDefaultValueInConstructorRemoved() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/defaultValueInConstructorRemoved"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/duplicatedClass")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class DuplicatedClass extends AbstractIncrementalJsJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInDuplicatedClass() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/duplicatedClass"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/exportedDependency")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class ExportedDependency extends AbstractIncrementalJsJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInExportedDependency() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/exportedDependency"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/inlineFunctionInlined")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class InlineFunctionInlined extends AbstractIncrementalJsJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInInlineFunctionInlined() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/inlineFunctionInlined"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/inlineFunctionTwoPackageParts")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class InlineFunctionTwoPackageParts extends AbstractIncrementalJsJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInInlineFunctionTwoPackageParts() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/inlineFunctionTwoPackageParts"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/moveFileToAnotherModule")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class MoveFileToAnotherModule extends AbstractIncrementalJsJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInMoveFileToAnotherModule() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/moveFileToAnotherModule"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/simple")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Simple extends AbstractIncrementalJsJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInSimple() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/simple"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/simpleDependency")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class SimpleDependency extends AbstractIncrementalJsJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInSimpleDependency() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/simpleDependency"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal1")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class SimpleDependencyErrorOnAccessToInternal1 extends AbstractIncrementalJsJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInSimpleDependencyErrorOnAccessToInternal1() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal1"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal2")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class SimpleDependencyErrorOnAccessToInternal2 extends AbstractIncrementalJsJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInSimpleDependencyErrorOnAccessToInternal2() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/simpleDependencyErrorOnAccessToInternal2"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/simpleDependencyUnchanged")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class SimpleDependencyUnchanged extends AbstractIncrementalJsJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInSimpleDependencyUnchanged() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/simpleDependencyUnchanged"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/transitiveDependency")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class TransitiveDependency extends AbstractIncrementalJsJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInTransitiveDependency() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/transitiveDependency"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/transitiveInlining")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class TransitiveInlining extends AbstractIncrementalJsJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInTransitiveInlining() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/transitiveInlining"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("jps-plugin/testData/incremental/multiModule/common/twoDependants")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class TwoDependants extends AbstractIncrementalJsJpsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInTwoDependants() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("jps-plugin/testData/incremental/multiModule/common/twoDependants"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
51
jps-plugin/testData/incremental/multiModule/common/classAdded/js-jps-build.log
vendored
Normal file
51
jps-plugin/testData/incremental/multiModule/common/classAdded/js-jps-build.log
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Building module1
|
||||
Exit code: NOTHING_DONE
|
||||
------------------------------------------
|
||||
Building module2
|
||||
Compiling files:
|
||||
module2/src/A.kt
|
||||
End of files
|
||||
Marked as dirty by Kotlin:
|
||||
module2/src/B.kt
|
||||
module2/src/createA.kt
|
||||
module2/src/createB.kt
|
||||
module2/src/useAfoo.kt
|
||||
module2/src/useBbar.kt
|
||||
Exit code: ADDITIONAL_PASS_REQUIRED
|
||||
------------------------------------------
|
||||
Cleaning output files:
|
||||
out/production/module2/module2.js
|
||||
out/production/module2/module2.meta.js
|
||||
out/production/module2/module2/foo/foo.kjsm
|
||||
out/production/module2/module2/use/use.kjsm
|
||||
End of files
|
||||
Compiling files:
|
||||
module2/src/B.kt
|
||||
module2/src/createA.kt
|
||||
module2/src/createB.kt
|
||||
module2/src/useAfoo.kt
|
||||
module2/src/useBbar.kt
|
||||
End of files
|
||||
Exit code: ABORT
|
||||
------------------------------------------
|
||||
COMPILATION FAILED
|
||||
Unresolved reference: foo
|
||||
|
||||
================ Step #2 =================
|
||||
|
||||
Building module1
|
||||
Exit code: NOTHING_DONE
|
||||
------------------------------------------
|
||||
Building module2
|
||||
Compiling files:
|
||||
module2/src/A.kt
|
||||
module2/src/B.kt
|
||||
module2/src/createA.kt
|
||||
module2/src/createB.kt
|
||||
module2/src/useAfoo.kt
|
||||
module2/src/useBbar.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
61
jps-plugin/testData/incremental/multiModule/common/classRemoved/js-jps-build.log
vendored
Normal file
61
jps-plugin/testData/incremental/multiModule/common/classRemoved/js-jps-build.log
vendored
Normal file
@@ -0,0 +1,61 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Building module1
|
||||
Exit code: NOTHING_DONE
|
||||
------------------------------------------
|
||||
Cleaning output files:
|
||||
out/production/module2/module2.js
|
||||
out/production/module2/module2.meta.js
|
||||
out/production/module2/module2/foo/foo.kjsm
|
||||
End of files
|
||||
Building module2
|
||||
Marked as dirty by Kotlin:
|
||||
module2/src/B.kt
|
||||
module2/src/createA.kt
|
||||
module2/src/createB.kt
|
||||
module2/src/useAfoo.kt
|
||||
module2/src/useBbar.kt
|
||||
Cleaning output files:
|
||||
out/production/module2/module2/use/use.kjsm
|
||||
End of files
|
||||
Compiling files:
|
||||
module2/src/B.kt
|
||||
module2/src/createA.kt
|
||||
module2/src/createB.kt
|
||||
module2/src/useAfoo.kt
|
||||
module2/src/useBbar.kt
|
||||
End of files
|
||||
Exit code: ABORT
|
||||
------------------------------------------
|
||||
COMPILATION FAILED
|
||||
Unresolved reference: boo
|
||||
|
||||
================ Step #2 =================
|
||||
|
||||
Building module1
|
||||
Exit code: NOTHING_DONE
|
||||
------------------------------------------
|
||||
Building module2
|
||||
Compiling files:
|
||||
module2/src/B.kt
|
||||
module2/src/createA.kt
|
||||
module2/src/createB.kt
|
||||
module2/src/useAfoo.kt
|
||||
module2/src/useBbar.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
|
||||
================ Step #3 =================
|
||||
|
||||
Building module1
|
||||
Exit code: NOTHING_DONE
|
||||
------------------------------------------
|
||||
Building module2
|
||||
Compiling files:
|
||||
module2/src/failCompilation.kt
|
||||
End of files
|
||||
Exit code: ABORT
|
||||
------------------------------------------
|
||||
COMPILATION FAILED
|
||||
Expecting a top level declaration
|
||||
28
jps-plugin/testData/incremental/multiModule/common/constantValueChanged/js-jps-build.log
vendored
Normal file
28
jps-plugin/testData/incremental/multiModule/common/constantValueChanged/js-jps-build.log
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Building module1
|
||||
Cleaning output files:
|
||||
out/production/module1/module1.js
|
||||
out/production/module1/module1.meta.js
|
||||
out/production/module1/module1/test/test.kjsm
|
||||
End of files
|
||||
Compiling files:
|
||||
module1/src/const.kt
|
||||
End of files
|
||||
Marked as dirty by Kotlin:
|
||||
module2/src/usage.kt
|
||||
Exit code: ADDITIONAL_PASS_REQUIRED
|
||||
------------------------------------------
|
||||
Exit code: NOTHING_DONE
|
||||
------------------------------------------
|
||||
Building module2
|
||||
Cleaning output files:
|
||||
out/production/module2/module2.js
|
||||
out/production/module2/module2.meta.js
|
||||
out/production/module2/module2/usage/usage.kjsm
|
||||
End of files
|
||||
Compiling files:
|
||||
module2/src/usage.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
39
jps-plugin/testData/incremental/multiModule/common/copyFileToAnotherModule/js-jps-build.log
vendored
Normal file
39
jps-plugin/testData/incremental/multiModule/common/copyFileToAnotherModule/js-jps-build.log
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Building module1
|
||||
Compiling files:
|
||||
module1/src/b.kt
|
||||
End of files
|
||||
Marked as dirty by Kotlin:
|
||||
module2/src/b.kt
|
||||
module2/src/useClassB.kt
|
||||
module2/src/useFunB.kt
|
||||
Exit code: ADDITIONAL_PASS_REQUIRED
|
||||
------------------------------------------
|
||||
Exit code: NOTHING_DONE
|
||||
------------------------------------------
|
||||
Building module2
|
||||
Cleaning output files:
|
||||
out/production/module2/module2.js
|
||||
out/production/module2/module2.meta.js
|
||||
out/production/module2/module2/b/b.kjsm
|
||||
out/production/module2/module2/usage/usage.kjsm
|
||||
End of files
|
||||
Compiling files:
|
||||
module2/src/b.kt
|
||||
module2/src/useClassB.kt
|
||||
module2/src/useFunB.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
|
||||
================ Step #2 =================
|
||||
|
||||
Building module1
|
||||
Compiling files:
|
||||
module1/src/failCompilation.kt
|
||||
End of files
|
||||
Exit code: ABORT
|
||||
------------------------------------------
|
||||
COMPILATION FAILED
|
||||
Expecting a top level declaration
|
||||
@@ -0,0 +1,44 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Building module1
|
||||
Cleaning output files:
|
||||
out/production/module1/module1.js
|
||||
out/production/module1/module1.meta.js
|
||||
out/production/module1/module1/foo/foo.kjsm
|
||||
End of files
|
||||
Compiling files:
|
||||
module1/src/A.kt
|
||||
End of files
|
||||
Marked as dirty by Kotlin:
|
||||
module2/src/createADefault.kt
|
||||
module2/src/createANonDefault.kt
|
||||
Exit code: ADDITIONAL_PASS_REQUIRED
|
||||
------------------------------------------
|
||||
Exit code: NOTHING_DONE
|
||||
------------------------------------------
|
||||
Building module2
|
||||
Cleaning output files:
|
||||
out/production/module2/module2.js
|
||||
out/production/module2/module2.meta.js
|
||||
out/production/module2/module2/foo/foo.kjsm
|
||||
End of files
|
||||
Compiling files:
|
||||
module2/src/createADefault.kt
|
||||
module2/src/createANonDefault.kt
|
||||
End of files
|
||||
Exit code: ABORT
|
||||
------------------------------------------
|
||||
COMPILATION FAILED
|
||||
Too many arguments for public constructor A() defined in foo.A
|
||||
|
||||
================ Step #2 =================
|
||||
|
||||
Building module1
|
||||
Exit code: NOTHING_DONE
|
||||
------------------------------------------
|
||||
Building module2
|
||||
Compiling files:
|
||||
module2/src/createADefault.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
28
jps-plugin/testData/incremental/multiModule/common/defaultParameterAdded/js-jps-build.log
vendored
Normal file
28
jps-plugin/testData/incremental/multiModule/common/defaultParameterAdded/js-jps-build.log
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Building module1
|
||||
Cleaning output files:
|
||||
out/production/module1/module1.js
|
||||
out/production/module1/module1.meta.js
|
||||
out/production/module1/module1/a/a.kjsm
|
||||
End of files
|
||||
Compiling files:
|
||||
module1/src/a.kt
|
||||
End of files
|
||||
Marked as dirty by Kotlin:
|
||||
module2/src/usage.kt
|
||||
Exit code: ADDITIONAL_PASS_REQUIRED
|
||||
------------------------------------------
|
||||
Exit code: NOTHING_DONE
|
||||
------------------------------------------
|
||||
Building module2
|
||||
Cleaning output files:
|
||||
out/production/module2/module2.js
|
||||
out/production/module2/module2.meta.js
|
||||
out/production/module2/module2/usage/usage.kjsm
|
||||
End of files
|
||||
Compiling files:
|
||||
module2/src/usage.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
@@ -0,0 +1,28 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Building module1
|
||||
Cleaning output files:
|
||||
out/production/module1/module1.js
|
||||
out/production/module1/module1.meta.js
|
||||
out/production/module1/module1/a/a.kjsm
|
||||
End of files
|
||||
Compiling files:
|
||||
module1/src/a.kt
|
||||
End of files
|
||||
Marked as dirty by Kotlin:
|
||||
module2/src/usage.kt
|
||||
Exit code: ADDITIONAL_PASS_REQUIRED
|
||||
------------------------------------------
|
||||
Exit code: NOTHING_DONE
|
||||
------------------------------------------
|
||||
Building module2
|
||||
Cleaning output files:
|
||||
out/production/module2/module2.js
|
||||
out/production/module2/module2.meta.js
|
||||
out/production/module2/module2/usage/usage.kjsm
|
||||
End of files
|
||||
Compiling files:
|
||||
module2/src/usage.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
28
jps-plugin/testData/incremental/multiModule/common/defaultParameterRemoved/js-jps-build.log
vendored
Normal file
28
jps-plugin/testData/incremental/multiModule/common/defaultParameterRemoved/js-jps-build.log
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Building module1
|
||||
Cleaning output files:
|
||||
out/production/module1/module1.js
|
||||
out/production/module1/module1.meta.js
|
||||
out/production/module1/module1/a/a.kjsm
|
||||
End of files
|
||||
Compiling files:
|
||||
module1/src/a.kt
|
||||
End of files
|
||||
Marked as dirty by Kotlin:
|
||||
module2/src/usage.kt
|
||||
Exit code: ADDITIONAL_PASS_REQUIRED
|
||||
------------------------------------------
|
||||
Exit code: NOTHING_DONE
|
||||
------------------------------------------
|
||||
Building module2
|
||||
Cleaning output files:
|
||||
out/production/module2/module2.js
|
||||
out/production/module2/module2.meta.js
|
||||
out/production/module2/module2/usage/usage.kjsm
|
||||
End of files
|
||||
Compiling files:
|
||||
module2/src/usage.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
@@ -0,0 +1,28 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Building module1
|
||||
Cleaning output files:
|
||||
out/production/module1/module1.js
|
||||
out/production/module1/module1.meta.js
|
||||
out/production/module1/module1/a/a.kjsm
|
||||
End of files
|
||||
Compiling files:
|
||||
module1/src/a.kt
|
||||
End of files
|
||||
Marked as dirty by Kotlin:
|
||||
module2/src/usage.kt
|
||||
Exit code: ADDITIONAL_PASS_REQUIRED
|
||||
------------------------------------------
|
||||
Exit code: NOTHING_DONE
|
||||
------------------------------------------
|
||||
Building module2
|
||||
Cleaning output files:
|
||||
out/production/module2/module2.js
|
||||
out/production/module2/module2.meta.js
|
||||
out/production/module2/module2/usage/usage.kjsm
|
||||
End of files
|
||||
Compiling files:
|
||||
module2/src/usage.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
@@ -0,0 +1,44 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Building module1
|
||||
Cleaning output files:
|
||||
out/production/module1/module1.js
|
||||
out/production/module1/module1.meta.js
|
||||
out/production/module1/module1/foo/foo.kjsm
|
||||
End of files
|
||||
Compiling files:
|
||||
module1/src/A.kt
|
||||
End of files
|
||||
Marked as dirty by Kotlin:
|
||||
module2/src/createADefault.kt
|
||||
module2/src/createANonDefault.kt
|
||||
Exit code: ADDITIONAL_PASS_REQUIRED
|
||||
------------------------------------------
|
||||
Exit code: NOTHING_DONE
|
||||
------------------------------------------
|
||||
Building module2
|
||||
Cleaning output files:
|
||||
out/production/module2/module2.js
|
||||
out/production/module2/module2.meta.js
|
||||
out/production/module2/module2/foo/foo.kjsm
|
||||
End of files
|
||||
Compiling files:
|
||||
module2/src/createADefault.kt
|
||||
module2/src/createANonDefault.kt
|
||||
End of files
|
||||
Exit code: ABORT
|
||||
------------------------------------------
|
||||
COMPILATION FAILED
|
||||
No value passed for parameter 'x'
|
||||
|
||||
================ Step #2 =================
|
||||
|
||||
Building module1
|
||||
Exit code: NOTHING_DONE
|
||||
------------------------------------------
|
||||
Building module2
|
||||
Compiling files:
|
||||
module2/src/createANonDefault.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
17
jps-plugin/testData/incremental/multiModule/common/duplicatedClass/js-jps-build.log
vendored
Normal file
17
jps-plugin/testData/incremental/multiModule/common/duplicatedClass/js-jps-build.log
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Building module1
|
||||
Exit code: NOTHING_DONE
|
||||
------------------------------------------
|
||||
Building module2
|
||||
Cleaning output files:
|
||||
out/production/module2/module2.js
|
||||
out/production/module2/module2.meta.js
|
||||
out/production/module2/module2/root-package.kjsm
|
||||
End of files
|
||||
Compiling files:
|
||||
module2/src/useA.kt
|
||||
module2/src/useUtils.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user