Move: Convert AbstractMoveTest to light fixture test case

Extract multi-module move test to a separate class
This commit is contained in:
Alexey Sedunov
2017-03-28 20:50:03 +03:00
parent 691322e406
commit 2eb912a30c
99 changed files with 269 additions and 147 deletions
@@ -2,6 +2,5 @@
"mainFile": "A/src/x/test.kt",
"type": "MOVE_DIRECTORY_WITH_CLASSES",
"sourceDir": "A/src/x",
"targetDir": "A/src/z",
"isMultiModule": "true"
"targetDir": "A/src/z"
}
@@ -3,7 +3,6 @@
"type": "MOVE_KOTLIN_TOP_LEVEL_DECLARATIONS",
"targetPackage": "packJvm",
"targetSourceRoot": "A/src",
"isMultiModule": "true",
"withRuntime": "true",
"modulesWithRuntime": ["A"],
"modulesWithJsRuntime": ["B"]
@@ -3,7 +3,6 @@
"type": "MOVE_KOTLIN_TOP_LEVEL_DECLARATIONS",
"targetPackage": "packJs",
"targetSourceRoot": "B/src",
"isMultiModule": "true",
"withRuntime": "true",
"modulesWithRuntime": ["A"],
"modulesWithJsRuntime": ["B"]
@@ -3,6 +3,5 @@
"type": "MOVE_KOTLIN_TOP_LEVEL_DECLARATIONS",
"targetPackage": "packB",
"targetSourceRoot": "B/src",
"isMultiModule": "true",
"withRuntime": "true"
}
@@ -2,7 +2,6 @@
"mainFile": "A/src/a/test.kt",
"type": "MOVE_FILES_WITH_DECLARATIONS",
"targetDirectory": "B/src/b",
"isMultiModule": "true",
"withRuntime": "true",
"modulesWithRuntime": ["A"]
}
@@ -3,6 +3,5 @@
"type": "MOVE_KOTLIN_TOP_LEVEL_DECLARATIONS",
"targetPackage": "target",
"targetSourceRoot": "B/src",
"isMultiModule": "true",
"withRuntime": "true"
}
@@ -2,6 +2,5 @@
"mainFile": "A/src/a1/internalTarget.kt",
"type": "MOVE_FILES_WITH_DECLARATIONS",
"targetDirectory": "B/src/b",
"isMultiModule": "true",
"withRuntime": "true"
}