psi2ir: irText/.../types: NI vs OI

This commit is contained in:
Dmitry Petrov
2019-04-15 17:25:19 +03:00
parent 38ad56fb78
commit ab38430ded
23 changed files with 994 additions and 172 deletions
@@ -1606,24 +1606,39 @@ public class IrTextTestCaseGenerated extends AbstractIrTextTestCase {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/ir/irText/types"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("intersectionType1.kt")
public void testIntersectionType1() throws Exception {
runTest("compiler/testData/ir/irText/types/intersectionType1.kt");
@TestMetadata("intersectionType1_NI.kt")
public void testIntersectionType1_NI() throws Exception {
runTest("compiler/testData/ir/irText/types/intersectionType1_NI.kt");
}
@TestMetadata("intersectionType2.kt")
public void testIntersectionType2() throws Exception {
runTest("compiler/testData/ir/irText/types/intersectionType2.kt");
@TestMetadata("intersectionType1_OI.kt")
public void testIntersectionType1_OI() throws Exception {
runTest("compiler/testData/ir/irText/types/intersectionType1_OI.kt");
}
@TestMetadata("intersectionType3.kt")
public void testIntersectionType3() throws Exception {
runTest("compiler/testData/ir/irText/types/intersectionType3.kt");
@TestMetadata("intersectionType2_NI.kt")
public void testIntersectionType2_NI() throws Exception {
runTest("compiler/testData/ir/irText/types/intersectionType2_NI.kt");
}
@TestMetadata("localVariableOfIntersectionType.kt")
public void testLocalVariableOfIntersectionType() throws Exception {
runTest("compiler/testData/ir/irText/types/localVariableOfIntersectionType.kt");
@TestMetadata("intersectionType2_OI.kt")
public void testIntersectionType2_OI() throws Exception {
runTest("compiler/testData/ir/irText/types/intersectionType2_OI.kt");
}
@TestMetadata("intersectionType3_NI.kt")
public void testIntersectionType3_NI() throws Exception {
runTest("compiler/testData/ir/irText/types/intersectionType3_NI.kt");
}
@TestMetadata("intersectionType3_OI.kt")
public void testIntersectionType3_OI() throws Exception {
runTest("compiler/testData/ir/irText/types/intersectionType3_OI.kt");
}
@TestMetadata("localVariableOfIntersectionType_NI.kt")
public void testLocalVariableOfIntersectionType_NI() throws Exception {
runTest("compiler/testData/ir/irText/types/localVariableOfIntersectionType_NI.kt");
}
}
}