Remove codegen tests with Java, move testData to boxWithJava/
There'll be a single generated test class like BlackBoxCodegenTestGenerated
This commit is contained in:
committed by
Alexander Udalov
parent
10c5949199
commit
86938f57b1
@@ -147,8 +147,4 @@ public class ClassGenTest extends CodegenTestCase {
|
||||
public void testKt1845() {
|
||||
blackBoxMultiFile("regressions/kt1845_1.kt", "regressions/kt1845_2.kt");
|
||||
}
|
||||
|
||||
public void testNoClassObjectForJavaClass() {
|
||||
blackBoxFileWithJava("stdlib/noClassObjectForJavaClass.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -64,22 +64,6 @@ public class EnumGenTest extends CodegenTestCase {
|
||||
final Method rgbMethod = colorClass.getMethod("getRgb");
|
||||
assertEquals(0xFF0000, rgbMethod.invoke(redValue));
|
||||
}
|
||||
|
||||
public void testSimpleJavaEnum() throws Exception {
|
||||
blackBoxFileWithJava("enum/simpleJavaEnum.kt");
|
||||
}
|
||||
|
||||
public void testSimpleJavaInnerEnum() throws Exception {
|
||||
blackBoxFileWithJava("enum/simpleJavaInnerEnum.kt");
|
||||
}
|
||||
|
||||
public void testSimpleJavaEnumWithStaticImport() throws Exception {
|
||||
blackBoxFileWithJava("enum/simpleJavaEnumWithStaticImport.kt");
|
||||
}
|
||||
|
||||
public void testSimpleJavaEnumWithFunction() throws Exception {
|
||||
blackBoxFileWithJava("enum/simpleJavaEnumWithFunction.kt");
|
||||
}
|
||||
|
||||
public void testNoClassForSimpleEnum()
|
||||
throws ClassNotFoundException, NoSuchMethodException, InvocationTargetException, IllegalAccessException, NoSuchFieldException {
|
||||
|
||||
@@ -55,18 +55,6 @@ public class FunctionGenTest extends CodegenTestCase {
|
||||
assertFalse((Boolean) foo.invoke(null, "mama"));
|
||||
}
|
||||
|
||||
public void testReferencesStaticInnerClassMethod() throws Exception {
|
||||
blackBoxFileWithJava("functions/referencesStaticInnerClassMethod.kt");
|
||||
}
|
||||
|
||||
public void testReferencesStaticInnerClassMethodTwoLevels() throws Exception {
|
||||
blackBoxFileWithJava("functions/referencesStaticInnerClassMethodL2.kt");
|
||||
}
|
||||
|
||||
public void testRemoveInIterator() throws Exception {
|
||||
blackBoxFileWithJava("functions/removeInIterator.kt");
|
||||
}
|
||||
|
||||
public void testPrivateDefaultArgs() throws Exception {
|
||||
loadFile("functions/privateDefaultArgs.kt");
|
||||
String text = generateToText();
|
||||
|
||||
Reference in New Issue
Block a user