[Lombok] Convert tests with compilation errors to diagnostic tests
This commit is contained in:
committed by
teamcity
parent
fb57e1ecd5
commit
430ea414a9
@@ -0,0 +1,25 @@
|
||||
// FILE: ConstructorExample.java
|
||||
|
||||
import lombok.*;
|
||||
|
||||
@AllArgsConstructor
|
||||
public class ConstructorExample {
|
||||
|
||||
@Getter @Setter private int age = 10;
|
||||
|
||||
@Getter(AccessLevel.PROTECTED) private String name;
|
||||
|
||||
private boolean otherField;
|
||||
|
||||
static void javaUsage() {
|
||||
val generated = new ConstructorExample(12, "sdf", true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// FILE: test.kt
|
||||
|
||||
fun box(): String {
|
||||
val generated = ConstructorExample(12, "sdf", true)
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user