kapt: Add constructor collectToFile test
This commit is contained in:
+6
@@ -59,6 +59,12 @@ public class AnnotationProcessorBoxTestGenerated extends AbstractAnnotationProce
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("constructors")
|
||||
public void testConstructors() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("plugins/annotation-collector/testData/collectToFile/constructors/");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("defaultPackage")
|
||||
public void testDefaultPackage() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("plugins/annotation-collector/testData/collectToFile/defaultPackage/");
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
a java.lang.Deprecated 0
|
||||
p org.test 0
|
||||
m 0 0/SomeClass <init>
|
||||
m 0 0/SomeClass <init>
|
||||
@@ -0,0 +1,13 @@
|
||||
package org.test
|
||||
|
||||
public class SomeClass {
|
||||
|
||||
[Deprecated] constructor() {
|
||||
|
||||
}
|
||||
|
||||
[Deprecated] constructor(s: String) {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user