Add more tests in uncommonCases folder
1) dataClass.kt - test with data class 2) receiver.kt - test with Int extension receiver 3) delegation.kt - test with implementation by delegation
This commit is contained in:
committed by
Mikhail Glukhikh
parent
b8ef09a157
commit
262f57d938
+15
@@ -29,6 +29,16 @@ public class FirVisualizerForUncommonCasesGenerated extends AbstractFirVisualize
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/visualizer/testData/uncommonCases/testFiles"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.ANY, true);
|
||||
}
|
||||
|
||||
@TestMetadata("dataClass.kt")
|
||||
public void testDataClass() throws Exception {
|
||||
runTest("compiler/visualizer/testData/uncommonCases/testFiles/dataClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("delegation.kt")
|
||||
public void testDelegation() throws Exception {
|
||||
runTest("compiler/visualizer/testData/uncommonCases/testFiles/delegation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("innerWith.kt")
|
||||
public void testInnerWith() throws Exception {
|
||||
runTest("compiler/visualizer/testData/uncommonCases/testFiles/innerWith.kt");
|
||||
@@ -44,6 +54,11 @@ public class FirVisualizerForUncommonCasesGenerated extends AbstractFirVisualize
|
||||
runTest("compiler/visualizer/testData/uncommonCases/testFiles/properties.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("receiver.kt")
|
||||
public void testReceiver() throws Exception {
|
||||
runTest("compiler/visualizer/testData/uncommonCases/testFiles/receiver.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("superTypes.kt")
|
||||
public void testSuperTypes() throws Exception {
|
||||
runTest("compiler/visualizer/testData/uncommonCases/testFiles/superTypes.kt");
|
||||
|
||||
+15
@@ -29,6 +29,16 @@ public class PsiVisualizerForUncommonCasesGenerated extends AbstractPsiVisualize
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/visualizer/testData/uncommonCases/testFiles"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.ANY, true);
|
||||
}
|
||||
|
||||
@TestMetadata("dataClass.kt")
|
||||
public void testDataClass() throws Exception {
|
||||
runTest("compiler/visualizer/testData/uncommonCases/testFiles/dataClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("delegation.kt")
|
||||
public void testDelegation() throws Exception {
|
||||
runTest("compiler/visualizer/testData/uncommonCases/testFiles/delegation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("innerWith.kt")
|
||||
public void testInnerWith() throws Exception {
|
||||
runTest("compiler/visualizer/testData/uncommonCases/testFiles/innerWith.kt");
|
||||
@@ -44,6 +54,11 @@ public class PsiVisualizerForUncommonCasesGenerated extends AbstractPsiVisualize
|
||||
runTest("compiler/visualizer/testData/uncommonCases/testFiles/properties.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("receiver.kt")
|
||||
public void testReceiver() throws Exception {
|
||||
runTest("compiler/visualizer/testData/uncommonCases/testFiles/receiver.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("superTypes.kt")
|
||||
public void testSuperTypes() throws Exception {
|
||||
runTest("compiler/visualizer/testData/uncommonCases/testFiles/superTypes.kt");
|
||||
|
||||
Reference in New Issue
Block a user