[LC] IDE LightClasses testdata update

Unfortunately, the same testdata is used in IDE, so we should change
testdata in compiler repo and this will affect IDE repo.
This commit is the cherry-pick of commits from IDE repo:
- 4310d730795a53a Fix UltraLightClassLoadingTestGenerated.testEnums():
       check by Java file as ULC produces a different but better result
       Yan Zhulanow 3/17/21, 8:57 AM
- fbe3c8ba0841f2d4 Disable comparison test for
       UltraLightClassSanityTestGenerated.
       testAnnotatedPropertyWithSites() Yan Zhulanow 3/18/21, 1:33 PM
- 8fc53027343b5b53 Ignore known (for ages) broken behaviour
       of LC Vladimir Dolzhenko 3/19/21, 11:17 PM
This commit is contained in:
Stanislav Erokhin
2021-10-30 04:04:53 +02:00
committed by Space
parent f455141ade
commit c591601274
7 changed files with 36 additions and 26 deletions
+24 -21
View File
@@ -26,17 +26,17 @@ public enum Color /* Color*/ {
public enum ProtocolState /* ProtocolState*/ {
WAITING {
WAITING();// .ctor()
@org.jetbrains.annotations.NotNull()
public ProtocolState signal();// signal()
},
TALKING {
TALKING();// .ctor()
@org.jetbrains.annotations.NotNull()
public ProtocolState signal();// signal()
};
@org.jetbrains.annotations.NotNull()
@@ -47,9 +47,9 @@ public enum ProtocolState /* ProtocolState*/ {
class TALKING ...
class WAITING ...
}
public static final class WAITING /* ProtocolState.WAITING*/ extends ProtocolState {
@@ -68,44 +68,47 @@ public static final class TALKING /* ProtocolState.TALKING*/ extends ProtocolSta
}
public enum IntArithmetics /* IntArithmetics*/ {
public enum IntArithmetics /* IntArithmetics*/ implements java.util.function.BinaryOperator<java.lang.Integer>, java.util.function.IntBinaryOperator {
PLUS {
PLUS();// .ctor()
public int apply(int, int);// apply(int, int)
@org.jetbrains.annotations.NotNull()
public java.lang.Integer apply(int, int);// apply(int, int)
},
TIMES {
TIMES();// .ctor()
public int apply(int, int);// apply(int, int)
@org.jetbrains.annotations.NotNull()
public java.lang.Integer apply(int, int);// apply(int, int)
};
@org.jetbrains.annotations.NotNull()
public IntArithmetics applyAsInt(int, int);// applyAsInt(int, int)
private IntArithmetics();// .ctor()
public int applyAsInt(int, int);// applyAsInt(int, int)
class PLUS ...
class TIMES ...
}
public static final class PLUS /* IntArithmetics.PLUS*/ extends IntArithmetics {
PLUS();// .ctor()
public int apply(int, int);// apply(int, int)
@org.jetbrains.annotations.NotNull()
public java.lang.Integer apply(int, int);// apply(int, int)
}
public static final class TIMES /* IntArithmetics.TIMES*/ extends IntArithmetics {
TIMES();// .ctor()
public int apply(int, int);// apply(int, int)
@org.jetbrains.annotations.NotNull()
public java.lang.Integer apply(int, int);// apply(int, int)
}
@@ -118,4 +121,4 @@ public final class C /* C*/ {
public C();// .ctor()
}
}