Add test on weakly incompatible actual in intermediate source-set
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
|||||||
|
MODULE top { platform=[JVM, JS, Native] }
|
||||||
|
MODULE middle { platform=[JVM, JS] }
|
||||||
|
MODULE bottom { platform=[JVM] }
|
||||||
|
|
||||||
|
middle -> top { kind=DEPENDS_ON }
|
||||||
|
bottom -> middle { kind=DEPENDS_ON }
|
||||||
+4
@@ -0,0 +1,4 @@
|
|||||||
|
package sample
|
||||||
|
|
||||||
|
actual class <!NO_ACTUAL_CLASS_MEMBER_FOR_EXPECTED_CLASS("A", " public final expect fun f(): Unit ")!>A<!> {
|
||||||
|
}
|
||||||
+5
@@ -0,0 +1,5 @@
|
|||||||
|
package sample
|
||||||
|
|
||||||
|
expect class <!AMBIGUOUS_ACTUALS("Class 'A'", "middle, middle")!>A<!> {
|
||||||
|
fun f()
|
||||||
|
}
|
||||||
Generated
+5
@@ -97,4 +97,9 @@ public class HierarchicalExpectActualTestGenerated extends AbstractHierarchicalE
|
|||||||
public void testIncompleteActualization() throws Exception {
|
public void testIncompleteActualization() throws Exception {
|
||||||
runTest("idea/testData/multiModuleHighlighting/hierarchicalExpectActualMatching/incompleteActualization/");
|
runTest("idea/testData/multiModuleHighlighting/hierarchicalExpectActualMatching/incompleteActualization/");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("weaklyIncompatibleActualInIntermediateModule")
|
||||||
|
public void testWeaklyIncompatibleActualInIntermediateModule() throws Exception {
|
||||||
|
runTest("idea/testData/multiModuleHighlighting/hierarchicalExpectActualMatching/weaklyIncompatibleActualInIntermediateModule/");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user