Add another package part with inline to multi-module inline test
Original commit: 44e13dd697
This commit is contained in:
@@ -61,18 +61,18 @@ public class IncrementalJpsTestGenerated extends AbstractIncrementalJpsTest {
|
|||||||
doTest(fileName);
|
doTest(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("inlineFunctionChanged")
|
|
||||||
public void testInlineFunctionChanged() throws Exception {
|
|
||||||
String fileName = JetTestUtils.navigationMetadata("jps-plugin/testData/incremental/multiModule/inlineFunctionChanged/");
|
|
||||||
doTest(fileName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("inlineFunctionInlined")
|
@TestMetadata("inlineFunctionInlined")
|
||||||
public void testInlineFunctionInlined() throws Exception {
|
public void testInlineFunctionInlined() throws Exception {
|
||||||
String fileName = JetTestUtils.navigationMetadata("jps-plugin/testData/incremental/multiModule/inlineFunctionInlined/");
|
String fileName = JetTestUtils.navigationMetadata("jps-plugin/testData/incremental/multiModule/inlineFunctionInlined/");
|
||||||
doTest(fileName);
|
doTest(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("inlineFunctionTwoPackageParts")
|
||||||
|
public void testInlineFunctionTwoPackageParts() throws Exception {
|
||||||
|
String fileName = JetTestUtils.navigationMetadata("jps-plugin/testData/incremental/multiModule/inlineFunctionTwoPackageParts/");
|
||||||
|
doTest(fileName);
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("simpleDependency")
|
@TestMetadata("simpleDependency")
|
||||||
public void testSimpleDependency() throws Exception {
|
public void testSimpleDependency() throws Exception {
|
||||||
String fileName = JetTestUtils.navigationMetadata("jps-plugin/testData/incremental/multiModule/simpleDependency/");
|
String fileName = JetTestUtils.navigationMetadata("jps-plugin/testData/incremental/multiModule/simpleDependency/");
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
package usage
|
|
||||||
|
|
||||||
fun other() {
|
|
||||||
}
|
|
||||||
+6
@@ -0,0 +1,6 @@
|
|||||||
|
package inline
|
||||||
|
|
||||||
|
inline fun g(body: () -> Unit) {
|
||||||
|
println("i'm inline function")
|
||||||
|
body()
|
||||||
|
}
|
||||||
+6
@@ -0,0 +1,6 @@
|
|||||||
|
package inline
|
||||||
|
|
||||||
|
inline fun g(body: () -> Unit) {
|
||||||
|
body()
|
||||||
|
println("i'm inline function")
|
||||||
|
}
|
||||||
+6
@@ -0,0 +1,6 @@
|
|||||||
|
package usage
|
||||||
|
|
||||||
|
fun main(args: Array<String>) {
|
||||||
|
useF()
|
||||||
|
useG()
|
||||||
|
}
|
||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
package usage
|
package usage
|
||||||
|
|
||||||
fun main(args: Array<String>) {
|
fun useF() {
|
||||||
inline.f { println("to be inlined") }
|
inline.f { println("to be inlined") }
|
||||||
}
|
}
|
||||||
+5
@@ -0,0 +1,5 @@
|
|||||||
|
package usage
|
||||||
|
|
||||||
|
fun useG() {
|
||||||
|
inline.g { println("to be inlined") }
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user