Rename *.jet -> *.kt in codegen tests
This commit is contained in:
committed by
Alexander Udalov
parent
b0aa094cf8
commit
99827d10a8
@@ -29,16 +29,16 @@ public class ArrayGenTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testKt238() throws Exception {
|
||||
blackBoxFile("regressions/kt238.jet");
|
||||
blackBoxFile("regressions/kt238.kt");
|
||||
}
|
||||
|
||||
public void testKt326() throws Exception {
|
||||
// blackBoxFile("regressions/kt326.jet");
|
||||
// blackBoxFile("regressions/kt326.kt");
|
||||
// System.out.println(generateToText());
|
||||
}
|
||||
|
||||
public void testKt779() throws Exception {
|
||||
blackBoxFile("regressions/kt779.jet");
|
||||
blackBoxFile("regressions/kt779.kt");
|
||||
// System.out.println(generateToText());
|
||||
}
|
||||
|
||||
@@ -240,7 +240,7 @@ public class ArrayGenTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testCollectionPlusAssign() throws Exception {
|
||||
blackBoxFile("regressions/kt33.jet");
|
||||
blackBoxFile("regressions/kt33.kt");
|
||||
}
|
||||
|
||||
public void testArrayPlusAssign() throws Exception {
|
||||
@@ -310,26 +310,26 @@ public class ArrayGenTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testKt503() {
|
||||
blackBoxFile("regressions/kt503.jet");
|
||||
blackBoxFile("regressions/kt503.kt");
|
||||
}
|
||||
|
||||
public void testKt602() {
|
||||
blackBoxFile("regressions/kt602.jet");
|
||||
blackBoxFile("regressions/kt602.kt");
|
||||
// System.out.println(generateToText());
|
||||
}
|
||||
|
||||
public void testKt950() {
|
||||
blackBoxFile("regressions/kt950.jet");
|
||||
blackBoxFile("regressions/kt950.kt");
|
||||
}
|
||||
|
||||
public void testKt594() throws Exception {
|
||||
loadFile("regressions/kt594.jet");
|
||||
loadFile("regressions/kt594.kt");
|
||||
// System.out.println(generateToText());
|
||||
blackBox();
|
||||
}
|
||||
|
||||
public void testNonNullArray() throws Exception {
|
||||
blackBoxFile("classes/nonnullarray.jet");
|
||||
blackBoxFile("classes/nonnullarray.kt");
|
||||
// System.out.println(generateToText());
|
||||
}
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ public class BridgeMethodGenTest extends CodegenTestCase {
|
||||
|
||||
public void testBridgeMethod () throws Exception {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
blackBoxFile("bridge.jet");
|
||||
blackBoxFile("bridge.kt");
|
||||
}
|
||||
|
||||
public void testKt1959() {
|
||||
|
||||
@@ -34,7 +34,7 @@ public class ClassGenTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testPSVMClass() {
|
||||
loadFile("classes/simpleClass.jet");
|
||||
loadFile("classes/simpleClass.kt");
|
||||
|
||||
final Class aClass = loadClass("SimpleClass", generateClassesInFile());
|
||||
final Method[] methods = aClass.getDeclaredMethods();
|
||||
@@ -44,7 +44,7 @@ public class ClassGenTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testArrayListInheritance() throws Exception {
|
||||
loadFile("classes/inheritingFromArrayList.jet");
|
||||
loadFile("classes/inheritingFromArrayList.kt");
|
||||
final Class aClass = loadClass("Foo", generateClassesInFile());
|
||||
assertInstanceOf(aClass.newInstance(), List.class);
|
||||
}
|
||||
@@ -84,7 +84,7 @@ public class ClassGenTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testInheritanceAndDelegation_DelegatingDefaultConstructorProperties() {
|
||||
blackBoxFile("classes/inheritance.jet");
|
||||
blackBoxFile("classes/inheritance.kt");
|
||||
}
|
||||
|
||||
public void testInheritanceAndDelegation2() {
|
||||
@@ -120,34 +120,34 @@ public class ClassGenTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testFunDelegation() {
|
||||
blackBoxFile("classes/funDelegation.jet");
|
||||
blackBoxFile("classes/funDelegation.kt");
|
||||
}
|
||||
|
||||
public void testPropertyDelegation() {
|
||||
blackBoxFile("classes/propertyDelegation.jet");
|
||||
blackBoxFile("classes/propertyDelegation.kt");
|
||||
}
|
||||
|
||||
public void testDiamondInheritance() {
|
||||
blackBoxFile("classes/diamondInheritance.jet");
|
||||
blackBoxFile("classes/diamondInheritance.kt");
|
||||
}
|
||||
|
||||
public void testRightHandOverride() {
|
||||
blackBoxFile("classes/rightHandOverride.jet");
|
||||
blackBoxFile("classes/rightHandOverride.kt");
|
||||
}
|
||||
|
||||
public void testNewInstanceExplicitConstructor() throws Exception {
|
||||
loadFile("classes/newInstanceDefaultConstructor.jet");
|
||||
loadFile("classes/newInstanceDefaultConstructor.kt");
|
||||
final Method method = generateFunction("test");
|
||||
final Integer returnValue = (Integer) method.invoke(null);
|
||||
assertEquals(610, returnValue.intValue());
|
||||
}
|
||||
|
||||
public void testInnerClass() {
|
||||
blackBoxFile("classes/innerClass.jet");
|
||||
blackBoxFile("classes/innerClass.kt");
|
||||
}
|
||||
|
||||
public void testInheritedInnerClass() {
|
||||
blackBoxFile("classes/inheritedInnerClass.jet");
|
||||
blackBoxFile("classes/inheritedInnerClass.kt");
|
||||
}
|
||||
|
||||
public void testKt2532() {
|
||||
@@ -155,7 +155,7 @@ public class ClassGenTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testInitializerBlock() {
|
||||
blackBoxFile("classes/initializerBlock.jet");
|
||||
blackBoxFile("classes/initializerBlock.kt");
|
||||
}
|
||||
|
||||
public void testAbstractMethod() throws Exception {
|
||||
@@ -167,27 +167,27 @@ public class ClassGenTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testInheritedMethod() {
|
||||
blackBoxFile("classes/inheritedMethod.jet");
|
||||
blackBoxFile("classes/inheritedMethod.kt");
|
||||
}
|
||||
|
||||
public void testInitializerBlockDImpl() {
|
||||
blackBoxFile("classes/initializerBlockDImpl.jet");
|
||||
blackBoxFile("classes/initializerBlockDImpl.kt");
|
||||
}
|
||||
|
||||
public void testPropertyInInitializer() {
|
||||
blackBoxFile("classes/propertyInInitializer.jet");
|
||||
blackBoxFile("classes/propertyInInitializer.kt");
|
||||
}
|
||||
|
||||
public void testOuterThis() {
|
||||
blackBoxFile("classes/outerThis.jet");
|
||||
blackBoxFile("classes/outerThis.kt");
|
||||
}
|
||||
|
||||
public void testExceptionConstructor() {
|
||||
blackBoxFile("classes/exceptionConstructor.jet");
|
||||
blackBoxFile("classes/exceptionConstructor.kt");
|
||||
}
|
||||
|
||||
public void testSimpleBox() {
|
||||
blackBoxFile("classes/simpleBox.jet");
|
||||
blackBoxFile("classes/simpleBox.kt");
|
||||
}
|
||||
|
||||
public void testAbstractClass() throws Exception {
|
||||
@@ -197,45 +197,45 @@ public class ClassGenTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testClassObject() {
|
||||
blackBoxFile("classes/classObject.jet");
|
||||
blackBoxFile("classes/classObject.kt");
|
||||
}
|
||||
|
||||
public void testClassObjectInTrait() {
|
||||
blackBoxFile("classes/classObjectInTrait.jet");
|
||||
blackBoxFile("classes/classObjectInTrait.kt");
|
||||
}
|
||||
|
||||
/*
|
||||
public void testClassObjectMethod() {
|
||||
// todo to be implemented after removal of type info
|
||||
// blackBoxFile("classes/classObjectMethod.jet");
|
||||
// blackBoxFile("classes/classObjectMethod.kt");
|
||||
}
|
||||
*/
|
||||
|
||||
public void testClassObjectInterface() throws Exception {
|
||||
loadFile("classes/classObjectInterface.jet");
|
||||
loadFile("classes/classObjectInterface.kt");
|
||||
final Method method = generateFunction();
|
||||
Object result = method.invoke(null);
|
||||
assertInstanceOf(result, Runnable.class);
|
||||
}
|
||||
|
||||
public void testOverloadBinaryOperator() {
|
||||
blackBoxFile("classes/overloadBinaryOperator.jet");
|
||||
blackBoxFile("classes/overloadBinaryOperator.kt");
|
||||
}
|
||||
|
||||
public void testOverloadUnaryOperator() {
|
||||
blackBoxFile("classes/overloadUnaryOperator.jet");
|
||||
blackBoxFile("classes/overloadUnaryOperator.kt");
|
||||
}
|
||||
|
||||
public void testOverloadPlusAssign() {
|
||||
blackBoxFile("classes/overloadPlusAssign.jet");
|
||||
blackBoxFile("classes/overloadPlusAssign.kt");
|
||||
}
|
||||
|
||||
public void testOverloadPlusAssignReturn() {
|
||||
blackBoxFile("classes/overloadPlusAssignReturn.jet");
|
||||
blackBoxFile("classes/overloadPlusAssignReturn.kt");
|
||||
}
|
||||
|
||||
public void testOverloadPlusToPlusAssign() {
|
||||
blackBoxFile("classes/overloadPlusToPlusAssign.jet");
|
||||
blackBoxFile("classes/overloadPlusToPlusAssign.kt");
|
||||
}
|
||||
|
||||
public void testEnumClass() throws Exception {
|
||||
@@ -270,11 +270,11 @@ public class ClassGenTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testKt249() {
|
||||
blackBoxFile("regressions/kt249.jet");
|
||||
blackBoxFile("regressions/kt249.kt");
|
||||
}
|
||||
|
||||
public void testKt48() {
|
||||
blackBoxFile("regressions/kt48.jet");
|
||||
blackBoxFile("regressions/kt48.kt");
|
||||
}
|
||||
|
||||
public void testKt309() {
|
||||
@@ -284,39 +284,39 @@ public class ClassGenTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testKt343() {
|
||||
blackBoxFile("regressions/kt343.jet");
|
||||
blackBoxFile("regressions/kt343.kt");
|
||||
}
|
||||
|
||||
public void testKt508() {
|
||||
blackBoxFile("regressions/kt508.jet");
|
||||
blackBoxFile("regressions/kt508.kt");
|
||||
}
|
||||
|
||||
public void testKt504() {
|
||||
blackBoxFile("regressions/kt504.jet");
|
||||
blackBoxFile("regressions/kt504.kt");
|
||||
}
|
||||
|
||||
public void testKt501() {
|
||||
blackBoxFile("regressions/kt501.jet");
|
||||
blackBoxFile("regressions/kt501.kt");
|
||||
}
|
||||
|
||||
public void testKt496() {
|
||||
blackBoxFile("regressions/kt496.jet");
|
||||
blackBoxFile("regressions/kt496.kt");
|
||||
}
|
||||
|
||||
public void testKt500() {
|
||||
blackBoxFile("regressions/kt500.jet");
|
||||
blackBoxFile("regressions/kt500.kt");
|
||||
}
|
||||
|
||||
public void testKt285() {
|
||||
blackBoxFile("regressions/kt285.jet");
|
||||
blackBoxFile("regressions/kt285.kt");
|
||||
}
|
||||
|
||||
public void testKt707() {
|
||||
blackBoxFile("regressions/kt707.jet");
|
||||
blackBoxFile("regressions/kt707.kt");
|
||||
}
|
||||
|
||||
public void testKt903() {
|
||||
blackBoxFile("regressions/kt903.jet");
|
||||
blackBoxFile("regressions/kt903.kt");
|
||||
}
|
||||
|
||||
public void testKt940() {
|
||||
@@ -378,7 +378,7 @@ public class ClassGenTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testResolveOrder() {
|
||||
blackBoxFile("classes/resolveOrder.jet");
|
||||
blackBoxFile("classes/resolveOrder.kt");
|
||||
}
|
||||
|
||||
public void testKt1918() {
|
||||
|
||||
@@ -27,37 +27,37 @@ public class ClosuresGenTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testSimplestClosure() throws Exception {
|
||||
blackBoxFile("classes/simplestClosure.jet");
|
||||
blackBoxFile("classes/simplestClosure.kt");
|
||||
// System.out.println(generateToText());
|
||||
}
|
||||
|
||||
public void testSimplestClosureAndBoxing() throws Exception {
|
||||
blackBoxFile("classes/simplestClosureAndBoxing.jet");
|
||||
blackBoxFile("classes/simplestClosureAndBoxing.kt");
|
||||
}
|
||||
|
||||
public void testClosureWithParameter() throws Exception {
|
||||
blackBoxFile("classes/closureWithParameter.jet");
|
||||
blackBoxFile("classes/closureWithParameter.kt");
|
||||
}
|
||||
|
||||
public void testClosureWithParameterAndBoxing() throws Exception {
|
||||
blackBoxFile("classes/closureWithParameterAndBoxing.jet");
|
||||
blackBoxFile("classes/closureWithParameterAndBoxing.kt");
|
||||
}
|
||||
|
||||
public void testExtensionClosure() throws Exception {
|
||||
blackBoxFile("classes/extensionClosure.jet");
|
||||
blackBoxFile("classes/extensionClosure.kt");
|
||||
}
|
||||
|
||||
public void testEnclosingLocalVariable() throws Exception {
|
||||
blackBoxFile("classes/enclosingLocalVariable.jet");
|
||||
blackBoxFile("classes/enclosingLocalVariable.kt");
|
||||
// System.out.println(generateToText());
|
||||
}
|
||||
|
||||
public void testDoubleEnclosedLocalVariable() throws Exception {
|
||||
blackBoxFile("classes/doubleEnclosedLocalVariable.jet");
|
||||
blackBoxFile("classes/doubleEnclosedLocalVariable.kt");
|
||||
}
|
||||
|
||||
public void testEnclosingThis() throws Exception {
|
||||
blackBoxFile("classes/enclosingThis.jet");
|
||||
blackBoxFile("classes/enclosingThis.kt");
|
||||
}
|
||||
|
||||
public void testKt2151() {
|
||||
|
||||
@@ -144,7 +144,7 @@ public abstract class CodegenTestCase extends UsefulTestCase {
|
||||
}
|
||||
|
||||
protected void loadFile() {
|
||||
loadFile(getPrefix() + "/" + getTestName(true) + ".jet");
|
||||
loadFile(getPrefix() + "/" + getTestName(true) + ".kt");
|
||||
}
|
||||
|
||||
protected String getPrefix() {
|
||||
|
||||
@@ -50,21 +50,21 @@ public class ControlStructuresTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testWhile() throws Exception {
|
||||
factorialTest("controlStructures/while.jet");
|
||||
factorialTest("controlStructures/while.kt");
|
||||
}
|
||||
|
||||
public void testDoWhile() throws Exception {
|
||||
factorialTest("controlStructures/doWhile.jet");
|
||||
factorialTest("controlStructures/doWhile.kt");
|
||||
}
|
||||
|
||||
public void testBreak() throws Exception {
|
||||
factorialTest("controlStructures/break.jet");
|
||||
factorialTest("controlStructures/break.kt");
|
||||
}
|
||||
|
||||
/*
|
||||
public void testInRangeConditionsInWhen() throws Exception {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
blackBoxFile("controlStructures/inRangeConditionsInWhen.jet");
|
||||
blackBoxFile("controlStructures/inRangeConditionsInWhen.kt");
|
||||
}
|
||||
*/
|
||||
|
||||
@@ -188,7 +188,7 @@ public class ControlStructuresTest extends CodegenTestCase {
|
||||
|
||||
public void testForUserType() throws Exception {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
blackBoxFile("controlStructures/forUserType.jet");
|
||||
blackBoxFile("controlStructures/forUserType.kt");
|
||||
}
|
||||
|
||||
public void testForLoopMemberExtensionNext() throws Exception {
|
||||
@@ -208,27 +208,27 @@ public class ControlStructuresTest extends CodegenTestCase {
|
||||
|
||||
public void testForIntArray() throws Exception {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
blackBoxFile("controlStructures/forIntArray.jet");
|
||||
blackBoxFile("controlStructures/forIntArray.kt");
|
||||
}
|
||||
|
||||
public void testForPrimitiveIntArray() throws Exception {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
blackBoxFile("controlStructures/forPrimitiveIntArray.jet");
|
||||
blackBoxFile("controlStructures/forPrimitiveIntArray.kt");
|
||||
}
|
||||
|
||||
public void testForNullableIntArray() throws Exception {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
blackBoxFile("controlStructures/forNullableIntArray.jet");
|
||||
blackBoxFile("controlStructures/forNullableIntArray.kt");
|
||||
}
|
||||
|
||||
public void testForIntRange() {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
blackBoxFile("controlStructures/forIntRange.jet");
|
||||
blackBoxFile("controlStructures/forIntRange.kt");
|
||||
}
|
||||
|
||||
public void testKt237() throws Exception {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
blackBoxFile("regressions/kt237.jet");
|
||||
blackBoxFile("regressions/kt237.kt");
|
||||
}
|
||||
|
||||
public void testCompareToZero() throws Exception {
|
||||
@@ -285,70 +285,70 @@ public class ControlStructuresTest extends CodegenTestCase {
|
||||
|
||||
public void testKt299() throws Exception {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
blackBoxFile("regressions/kt299.jet");
|
||||
blackBoxFile("regressions/kt299.kt");
|
||||
}
|
||||
|
||||
public void testKt416() throws Exception {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
blackBoxFile("regressions/kt416.jet");
|
||||
blackBoxFile("regressions/kt416.kt");
|
||||
// System.out.println(generateToText());
|
||||
}
|
||||
|
||||
public void testKt513() throws Exception {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
blackBoxFile("regressions/kt513.jet");
|
||||
blackBoxFile("regressions/kt513.kt");
|
||||
}
|
||||
|
||||
public void testKt434() throws Exception {
|
||||
createEnvironmentWithFullJdk();
|
||||
blackBoxFile("regressions/kt434.jet");
|
||||
blackBoxFile("regressions/kt434.kt");
|
||||
}
|
||||
|
||||
public void testKt769() throws Exception {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
blackBoxFile("regressions/kt769.jet");
|
||||
blackBoxFile("regressions/kt769.kt");
|
||||
// System.out.println(generateToText());
|
||||
}
|
||||
|
||||
public void testKt773() throws Exception {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
blackBoxFile("regressions/kt773.jet");
|
||||
blackBoxFile("regressions/kt773.kt");
|
||||
// System.out.println(generateToText());
|
||||
}
|
||||
|
||||
public void testKt772() throws Exception {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
blackBoxFile("regressions/kt772.jet");
|
||||
blackBoxFile("regressions/kt772.kt");
|
||||
// System.out.println(generateToText());
|
||||
}
|
||||
|
||||
public void testKt870() throws Exception {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
blackBoxFile("regressions/kt870.jet");
|
||||
blackBoxFile("regressions/kt870.kt");
|
||||
// System.out.println(generateToText());
|
||||
}
|
||||
|
||||
public void testKt958() throws Exception {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
blackBoxFile("regressions/kt958.jet");
|
||||
blackBoxFile("regressions/kt958.kt");
|
||||
// System.out.println(generateToText());
|
||||
}
|
||||
|
||||
public void testQuicksort() throws Exception {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
blackBoxFile("controlStructures/quicksort.jet");
|
||||
blackBoxFile("controlStructures/quicksort.kt");
|
||||
// System.out.println(generateToText());
|
||||
}
|
||||
|
||||
public void testSynchronized() throws Exception {
|
||||
createEnvironmentWithFullJdk();
|
||||
blackBoxFile("controlStructures/sync.jet");
|
||||
blackBoxFile("controlStructures/sync.kt");
|
||||
// System.out.println(generateToText());
|
||||
}
|
||||
|
||||
public void testIfInWhile() throws Exception {
|
||||
createEnvironmentWithFullJdk();
|
||||
blackBoxFile("controlStructures/ifInWhile.jet");
|
||||
blackBoxFile("controlStructures/ifInWhile.kt");
|
||||
// System.out.println(generateToText());
|
||||
}
|
||||
|
||||
@@ -454,7 +454,7 @@ public class ControlStructuresTest extends CodegenTestCase {
|
||||
|
||||
public void testLongRange() {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
blackBoxFile("controlStructures/longRange.jet");
|
||||
blackBoxFile("controlStructures/longRange.kt");
|
||||
}
|
||||
|
||||
public void testForInSmartCastedToArray() {
|
||||
|
||||
@@ -44,7 +44,7 @@ public class ExtensionFunctionsTest extends CodegenTestCase {
|
||||
|
||||
public void testVirtual() throws Exception {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
blackBoxFile("extensionFunctions/virtual.jet");
|
||||
blackBoxFile("extensionFunctions/virtual.kt");
|
||||
}
|
||||
|
||||
public void testShared() throws Exception {
|
||||
@@ -55,7 +55,7 @@ public class ExtensionFunctionsTest extends CodegenTestCase {
|
||||
|
||||
public void testKt475() throws Exception {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
blackBoxFile("regressions/kt475.jet");
|
||||
blackBoxFile("regressions/kt475.kt");
|
||||
}
|
||||
|
||||
public void testKtNested() throws Exception {
|
||||
@@ -65,7 +65,7 @@ public class ExtensionFunctionsTest extends CodegenTestCase {
|
||||
|
||||
public void testKt865() throws Exception {
|
||||
createEnvironmentWithFullJdk();
|
||||
blackBoxFile("regressions/kt865.jet");
|
||||
blackBoxFile("regressions/kt865.kt");
|
||||
}
|
||||
|
||||
public void testKtNested2() throws Exception {
|
||||
|
||||
@@ -35,32 +35,32 @@ public class FunctionGenTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testDefaultArgs() throws Exception {
|
||||
blackBoxFile("functions/defaultargs.jet");
|
||||
blackBoxFile("functions/defaultargs.kt");
|
||||
// System.out.println(generateToText());
|
||||
}
|
||||
|
||||
public void testDefaultArgs1() throws Exception {
|
||||
blackBoxFile("functions/defaultargs1.jet");
|
||||
blackBoxFile("functions/defaultargs1.kt");
|
||||
// System.out.println(generateToText());
|
||||
}
|
||||
|
||||
public void testDefaultArgs2() throws Exception {
|
||||
blackBoxFile("functions/defaultargs2.jet");
|
||||
blackBoxFile("functions/defaultargs2.kt");
|
||||
// System.out.println(generateToText());
|
||||
}
|
||||
|
||||
public void testDefaultArgs3() throws Exception {
|
||||
blackBoxFile("functions/defaultargs3.jet");
|
||||
blackBoxFile("functions/defaultargs3.kt");
|
||||
// System.out.println(generateToText());
|
||||
}
|
||||
|
||||
public void testDefaultArgs4() throws Exception {
|
||||
blackBoxFile("functions/defaultargs4.jet");
|
||||
blackBoxFile("functions/defaultargs4.kt");
|
||||
// System.out.println(generateToText());
|
||||
}
|
||||
|
||||
public void testDefaultArgs5() throws Exception {
|
||||
blackBoxFile("functions/defaultargs5.jet");
|
||||
blackBoxFile("functions/defaultargs5.kt");
|
||||
// System.out.println(generateToText());
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@ public class FunctionGenTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testNoThisNoClosure() throws Exception {
|
||||
blackBoxFile("functions/nothisnoclosure.jet");
|
||||
blackBoxFile("functions/nothisnoclosure.kt");
|
||||
// System.out.println(generateToText());
|
||||
}
|
||||
|
||||
@@ -107,11 +107,11 @@ public class FunctionGenTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testKt395() {
|
||||
blackBoxFile("regressions/kt395.jet");
|
||||
blackBoxFile("regressions/kt395.kt");
|
||||
}
|
||||
|
||||
public void testKt785() {
|
||||
blackBoxFile("regressions/kt785.jet");
|
||||
blackBoxFile("regressions/kt785.kt");
|
||||
}
|
||||
|
||||
public void testKt873() {
|
||||
@@ -128,7 +128,7 @@ public class FunctionGenTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testFunction() throws InvocationTargetException, IllegalAccessException {
|
||||
blackBoxFile("functions/functionExpression.jet");
|
||||
blackBoxFile("functions/functionExpression.kt");
|
||||
}
|
||||
|
||||
public void testLocalFunction() throws InvocationTargetException, IllegalAccessException {
|
||||
|
||||
@@ -33,7 +33,7 @@ public class NamespaceGenTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testPSVM() throws Exception {
|
||||
loadFile("PSVM.jet");
|
||||
loadFile("PSVM.kt");
|
||||
// System.out.println(generateToText());
|
||||
|
||||
final Method main = generateFunction();
|
||||
@@ -60,7 +60,7 @@ public class NamespaceGenTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testLocalProperty() throws Exception {
|
||||
loadFile("localProperty.jet");
|
||||
loadFile("localProperty.kt");
|
||||
// System.out.println(generateToText());
|
||||
|
||||
final Method main = generateFunction();
|
||||
@@ -86,14 +86,14 @@ public class NamespaceGenTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testSystemOut() throws Exception {
|
||||
loadFile("systemOut.jet");
|
||||
loadFile("systemOut.kt");
|
||||
final Method main = generateFunction();
|
||||
final Object returnValue = main.invoke(null);
|
||||
assertEquals(returnValue, System.out);
|
||||
}
|
||||
|
||||
public void testHelloWorld() throws Exception {
|
||||
loadFile("helloWorld.jet");
|
||||
loadFile("helloWorld.kt");
|
||||
|
||||
// System.out.println(generateToText());
|
||||
|
||||
@@ -101,7 +101,7 @@ public class NamespaceGenTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testAssign() throws Exception {
|
||||
loadFile("assign.jet");
|
||||
loadFile("assign.kt");
|
||||
|
||||
// System.out.println(generateToText());
|
||||
final Method main = generateFunction();
|
||||
@@ -185,7 +185,7 @@ public class NamespaceGenTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testBottles2() throws Exception {
|
||||
loadFile("bottles2.jet");
|
||||
loadFile("bottles2.kt");
|
||||
// System.out.println(generateToText());
|
||||
final Method main = generateFunction();
|
||||
main.invoke(null); // ensure no exception
|
||||
@@ -257,7 +257,7 @@ public class NamespaceGenTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testFunctionCall() throws Exception {
|
||||
loadFile("functionCall.jet");
|
||||
loadFile("functionCall.kt");
|
||||
// System.out.println(generateToText());
|
||||
final Method main = generateFunction("f");
|
||||
assertEquals("foo", main.invoke(null));
|
||||
@@ -467,15 +467,15 @@ public class NamespaceGenTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testNamespaceQualifiedMethod() throws Exception {
|
||||
blackBoxFile("namespaceQualifiedMethod.jet");
|
||||
blackBoxFile("namespaceQualifiedMethod.kt");
|
||||
}
|
||||
|
||||
public void testCheckCast() throws Exception {
|
||||
blackBoxFile("checkCast.jet");
|
||||
blackBoxFile("checkCast.kt");
|
||||
}
|
||||
|
||||
public void testTypeCastException() throws Exception {
|
||||
blackBoxFile("typeCastException.jet");
|
||||
blackBoxFile("typeCastException.kt");
|
||||
}
|
||||
|
||||
public void testPutBooleanAsVoid() throws Exception {
|
||||
@@ -485,7 +485,7 @@ public class NamespaceGenTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testIncrementProperty() throws Exception {
|
||||
blackBoxFile("incrementProperty.jet");
|
||||
blackBoxFile("incrementProperty.kt");
|
||||
}
|
||||
|
||||
public void testJavaInterfaceMethod() throws Exception {
|
||||
|
||||
@@ -26,34 +26,34 @@ public class ObjectGenTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testSimpleObject() {
|
||||
blackBoxFile("objects/simpleObject.jet");
|
||||
blackBoxFile("objects/simpleObject.kt");
|
||||
// System.out.println(generateToText());
|
||||
}
|
||||
|
||||
public void testObjectLiteral() {
|
||||
blackBoxFile("objects/objectLiteral.jet");
|
||||
blackBoxFile("objects/objectLiteral.kt");
|
||||
// System.out.println(generateToText());
|
||||
}
|
||||
|
||||
public void testObjectLiteralInClosure() {
|
||||
blackBoxFile("objects/objectLiteralInClosure.jet");
|
||||
blackBoxFile("objects/objectLiteralInClosure.kt");
|
||||
// System.out.println(generateToText());
|
||||
}
|
||||
|
||||
public void testMethodOnObject() {
|
||||
blackBoxFile("objects/methodOnObject.jet");
|
||||
blackBoxFile("objects/methodOnObject.kt");
|
||||
}
|
||||
|
||||
public void testKt535() {
|
||||
blackBoxFile("regressions/kt535.jet");
|
||||
blackBoxFile("regressions/kt535.kt");
|
||||
}
|
||||
|
||||
public void testKt560() {
|
||||
blackBoxFile("regressions/kt560.jet");
|
||||
blackBoxFile("regressions/kt560.kt");
|
||||
}
|
||||
|
||||
public void testKt640() {
|
||||
blackBoxFile("regressions/kt640.jet");
|
||||
blackBoxFile("regressions/kt640.kt");
|
||||
}
|
||||
|
||||
public void testKt1136() {
|
||||
|
||||
@@ -73,11 +73,11 @@ public class PatternMatchingTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testRange() throws Exception {
|
||||
blackBoxFile("patternMatching/range.jet");
|
||||
blackBoxFile("patternMatching/range.kt");
|
||||
}
|
||||
|
||||
public void testLongInRange() throws Exception {
|
||||
blackBoxFile("patternMatching/longInRange.jet");
|
||||
blackBoxFile("patternMatching/longInRange.kt");
|
||||
}
|
||||
|
||||
public void testWhenArgumentIsEvaluatedOnlyOnce() throws Exception {
|
||||
@@ -112,7 +112,7 @@ public class PatternMatchingTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testCallProperty() throws Exception {
|
||||
blackBoxFile("patternMatching/callProperty.jet");
|
||||
blackBoxFile("patternMatching/callProperty.kt");
|
||||
}
|
||||
|
||||
public void testMultipleConditions() throws Exception {
|
||||
|
||||
@@ -269,7 +269,7 @@ public class PrimitiveTypesTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testDecrementAsStatement() throws Exception {
|
||||
loadFile("bottles.jet");
|
||||
loadFile("bottles.kt");
|
||||
// System.out.println(generateToText());
|
||||
final Method main = generateFunction();
|
||||
main.invoke(null); // ensure no exception
|
||||
@@ -283,31 +283,31 @@ public class PrimitiveTypesTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testEa35963() {
|
||||
blackBoxFile("regressions/ea35963.jet");
|
||||
blackBoxFile("regressions/ea35963.kt");
|
||||
}
|
||||
|
||||
public void testKt242 () throws Exception {
|
||||
blackBoxFile("regressions/kt242.jet");
|
||||
blackBoxFile("regressions/kt242.kt");
|
||||
}
|
||||
|
||||
public void testKt239 () throws Exception {
|
||||
blackBoxFile("regressions/kt239.jet");
|
||||
blackBoxFile("regressions/kt239.kt");
|
||||
}
|
||||
|
||||
public void testKt243 () throws Exception {
|
||||
blackBoxFile("regressions/kt243.jet");
|
||||
blackBoxFile("regressions/kt243.kt");
|
||||
}
|
||||
|
||||
public void testKt248 () throws Exception {
|
||||
blackBoxFile("regressions/kt248.jet");
|
||||
blackBoxFile("regressions/kt248.kt");
|
||||
}
|
||||
|
||||
public void testKt446 () throws Exception {
|
||||
blackBoxFile("regressions/kt446.jet");
|
||||
blackBoxFile("regressions/kt446.kt");
|
||||
}
|
||||
|
||||
public void testKt518 () throws Exception {
|
||||
blackBoxFile("regressions/kt518.jet");
|
||||
blackBoxFile("regressions/kt518.kt");
|
||||
}
|
||||
|
||||
public void testKt711 () throws Exception {
|
||||
@@ -357,36 +357,36 @@ public class PrimitiveTypesTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testKt752 () {
|
||||
blackBoxFile("regressions/kt752.jet");
|
||||
blackBoxFile("regressions/kt752.kt");
|
||||
}
|
||||
|
||||
public void testKt753 () {
|
||||
blackBoxFile("regressions/kt753.jet");
|
||||
blackBoxFile("regressions/kt753.kt");
|
||||
}
|
||||
|
||||
public void testKt684 () {
|
||||
blackBoxFile("regressions/kt684.jet");
|
||||
blackBoxFile("regressions/kt684.kt");
|
||||
}
|
||||
|
||||
public void testKt756 () {
|
||||
blackBoxFile("regressions/kt756.jet");
|
||||
blackBoxFile("regressions/kt756.kt");
|
||||
//System.out.println(generateToText());
|
||||
}
|
||||
|
||||
public void testKt757 () {
|
||||
blackBoxFile("regressions/kt757.jet");
|
||||
blackBoxFile("regressions/kt757.kt");
|
||||
}
|
||||
|
||||
public void testKt877 () {
|
||||
blackBoxFile("regressions/kt877.jet");
|
||||
blackBoxFile("regressions/kt877.kt");
|
||||
}
|
||||
|
||||
public void testKt882 () {
|
||||
blackBoxFile("regressions/kt882.jet");
|
||||
blackBoxFile("regressions/kt882.kt");
|
||||
}
|
||||
|
||||
public void testKt887 () {
|
||||
blackBoxFile("regressions/kt887.jet");
|
||||
blackBoxFile("regressions/kt887.kt");
|
||||
}
|
||||
|
||||
public void testKt821 () {
|
||||
@@ -406,7 +406,7 @@ public class PrimitiveTypesTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testKt945 () {
|
||||
blackBoxFile("regressions/kt945.jet");
|
||||
blackBoxFile("regressions/kt945.kt");
|
||||
}
|
||||
|
||||
public void testKt935 () {
|
||||
|
||||
@@ -82,7 +82,7 @@ public class PropertyGenTest extends CodegenTestCase {
|
||||
|
||||
public void testFieldPropertyAccess() throws Exception {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
loadFile("properties/fieldPropertyAccess.jet");
|
||||
loadFile("properties/fieldPropertyAccess.kt");
|
||||
// System.out.println(generateToText());
|
||||
final Method method = generateFunction("increment");
|
||||
assertEquals(1, method.invoke(null));
|
||||
@@ -175,13 +175,13 @@ public class PropertyGenTest extends CodegenTestCase {
|
||||
|
||||
public void testKt257 () throws Exception {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
blackBoxFile("regressions/kt257.jet");
|
||||
blackBoxFile("regressions/kt257.kt");
|
||||
// System.out.println(generateToText());
|
||||
}
|
||||
|
||||
public void testKt613 () throws Exception {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
blackBoxFile("regressions/kt613.jet");
|
||||
blackBoxFile("regressions/kt613.kt");
|
||||
}
|
||||
|
||||
public void testKt160() throws Exception {
|
||||
|
||||
@@ -26,18 +26,18 @@ public class SafeRefTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void test247 () throws Exception {
|
||||
blackBoxFile("regressions/kt247.jet");
|
||||
blackBoxFile("regressions/kt247.kt");
|
||||
}
|
||||
|
||||
public void test245 () throws Exception {
|
||||
blackBoxFile("regressions/kt245.jet");
|
||||
blackBoxFile("regressions/kt245.kt");
|
||||
}
|
||||
|
||||
public void test232 () throws Exception {
|
||||
blackBoxFile("regressions/kt232.jet");
|
||||
blackBoxFile("regressions/kt232.kt");
|
||||
}
|
||||
|
||||
public void test1572 () throws Exception {
|
||||
blackBoxFile("regressions/kt1572.jet");
|
||||
blackBoxFile("regressions/kt1572.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@ public class StdlibTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testKt789 () {
|
||||
blackBoxFile("regressions/kt789.jet");
|
||||
blackBoxFile("regressions/kt789.kt");
|
||||
}
|
||||
|
||||
public void testKt828 () {
|
||||
@@ -86,7 +86,7 @@ public class StdlibTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testKt864 () {
|
||||
blackBoxFile("regressions/kt864.jet");
|
||||
blackBoxFile("regressions/kt864.kt");
|
||||
}
|
||||
|
||||
public void testKt274 () {
|
||||
@@ -95,14 +95,14 @@ public class StdlibTest extends CodegenTestCase {
|
||||
|
||||
//from ClassGenTest
|
||||
public void testKt344 () throws Exception {
|
||||
loadFile("regressions/kt344.jet");
|
||||
loadFile("regressions/kt344.kt");
|
||||
// System.out.println(generateToText());
|
||||
blackBox();
|
||||
}
|
||||
|
||||
//from ExtensionFunctionsTest
|
||||
public void testGeneric() throws Exception {
|
||||
blackBoxFile("extensionFunctions/generic.jet");
|
||||
blackBoxFile("extensionFunctions/generic.kt");
|
||||
}
|
||||
|
||||
//from NamespaceGenTest
|
||||
|
||||
@@ -70,23 +70,23 @@ public class StringsTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testRawStrings() throws Exception {
|
||||
blackBoxFile("rawStrings.jet");
|
||||
blackBoxFile("rawStrings.kt");
|
||||
}
|
||||
|
||||
public void testMultilineStringsWithTemplates() throws Exception {
|
||||
blackBoxFile("multilineStringsWithTemplates.jet");
|
||||
blackBoxFile("multilineStringsWithTemplates.kt");
|
||||
}
|
||||
|
||||
public void testKt881() throws Exception {
|
||||
blackBoxFile("regressions/kt881.jet");
|
||||
blackBoxFile("regressions/kt881.kt");
|
||||
}
|
||||
|
||||
public void testKt894() throws Exception {
|
||||
blackBoxFile("regressions/kt894.jet");
|
||||
blackBoxFile("regressions/kt894.kt");
|
||||
}
|
||||
|
||||
public void testKt889() throws Exception {
|
||||
blackBoxFile("regressions/kt889.jet");
|
||||
blackBoxFile("regressions/kt889.kt");
|
||||
}
|
||||
|
||||
public void testEa35743() {
|
||||
|
||||
@@ -28,19 +28,19 @@ public class SuperGenTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testBasicProperty () {
|
||||
blackBoxFile("/super/basicproperty.jet");
|
||||
blackBoxFile("/super/basicproperty.kt");
|
||||
}
|
||||
|
||||
public void testTraitProperty () {
|
||||
blackBoxFile("/super/traitproperty.jet");
|
||||
blackBoxFile("/super/traitproperty.kt");
|
||||
}
|
||||
|
||||
public void testBasicMethodSuperTrait () {
|
||||
blackBoxFile("/super/basicmethodSuperTrait.jet");
|
||||
blackBoxFile("/super/basicmethodSuperTrait.kt");
|
||||
}
|
||||
|
||||
public void testBasicMethodSuperClass () {
|
||||
blackBoxFile("/super/basicmethodSuperClass.jet");
|
||||
blackBoxFile("/super/basicmethodSuperClass.kt");
|
||||
}
|
||||
|
||||
public void testInnerClassLabeledSuper() {
|
||||
@@ -56,11 +56,11 @@ public class SuperGenTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testEnclosedFun () {
|
||||
blackBoxFile("/super/enclosedFun.jet");
|
||||
blackBoxFile("/super/enclosedFun.kt");
|
||||
}
|
||||
|
||||
public void testEnclosedVar () {
|
||||
blackBoxFile("/super/enclosedVar.jet");
|
||||
blackBoxFile("/super/enclosedVar.kt");
|
||||
}
|
||||
|
||||
public void testKt2887() {
|
||||
|
||||
@@ -32,29 +32,29 @@ public class TraitsTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testSimple () {
|
||||
blackBoxFile("traits/simple.jet");
|
||||
blackBoxFile("traits/simple.kt");
|
||||
// System.out.println(generateToText());
|
||||
}
|
||||
|
||||
public void testWithRequired () {
|
||||
blackBoxFile("traits/withRequired.jet");
|
||||
blackBoxFile("traits/withRequired.kt");
|
||||
// System.out.println(generateToText());
|
||||
}
|
||||
|
||||
public void testMultiple () {
|
||||
blackBoxFile("traits/multiple.jet");
|
||||
blackBoxFile("traits/multiple.kt");
|
||||
}
|
||||
|
||||
public void testStdlib () {
|
||||
blackBoxFile("traits/stdlib.jet");
|
||||
blackBoxFile("traits/stdlib.kt");
|
||||
}
|
||||
|
||||
public void testInheritedFun() {
|
||||
blackBoxFile("traits/inheritedFun.jet");
|
||||
blackBoxFile("traits/inheritedFun.kt");
|
||||
}
|
||||
|
||||
public void testInheritedVar() {
|
||||
blackBoxFile("traits/inheritedVar.jet");
|
||||
blackBoxFile("traits/inheritedVar.kt");
|
||||
}
|
||||
|
||||
public void testKt2399() {
|
||||
@@ -74,7 +74,7 @@ public class TraitsTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testFinalMethod() throws Exception {
|
||||
blackBoxFile("traits/finalMethod.jet");
|
||||
blackBoxFile("traits/finalMethod.kt");
|
||||
}
|
||||
|
||||
public void testKt1936_1() throws Exception {
|
||||
|
||||
@@ -82,7 +82,7 @@ public class TypeInfoTest extends CodegenTestCase {
|
||||
|
||||
public void testIsTypeParameter() throws Exception {
|
||||
// todo: obsolete with typeinfo removal
|
||||
// blackBoxFile("typeInfo/isTypeParameter.jet");
|
||||
// blackBoxFile("typeInfo/isTypeParameter.kt");
|
||||
}
|
||||
|
||||
public void testAsSafeWithGenerics() throws Exception {
|
||||
@@ -98,22 +98,22 @@ public class TypeInfoTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testPrimitiveTypeInfo() throws Exception {
|
||||
blackBoxFile("typeInfo/primitiveTypeInfo.jet");
|
||||
blackBoxFile("typeInfo/primitiveTypeInfo.kt");
|
||||
}
|
||||
|
||||
public void testNullability() throws Exception {
|
||||
// todo: obsolete with typeinfo removal
|
||||
// blackBoxFile("typeInfo/nullability.jet");
|
||||
// blackBoxFile("typeInfo/nullability.kt");
|
||||
}
|
||||
|
||||
public void testGenericFunction() throws Exception {
|
||||
// todo: obsolete with typeinfo removal
|
||||
// blackBoxFile("typeInfo/genericFunction.jet");
|
||||
// blackBoxFile("typeInfo/genericFunction.kt");
|
||||
}
|
||||
|
||||
public void testForwardTypeParameter() throws Exception {
|
||||
// todo: obsolete with typeinfo removal
|
||||
// blackBoxFile("typeInfo/forwardTypeParameter.jet");
|
||||
// blackBoxFile("typeInfo/forwardTypeParameter.kt");
|
||||
}
|
||||
|
||||
public void testClassObjectInTypeInfo() throws Exception {
|
||||
@@ -139,17 +139,17 @@ public class TypeInfoTest extends CodegenTestCase {
|
||||
|
||||
public void testKt259() throws Exception {
|
||||
// todo: obsolete with typeinfo removal
|
||||
// blackBoxFile("regressions/kt259.jet");
|
||||
// blackBoxFile("regressions/kt259.kt");
|
||||
// System.out.println(generateToText());
|
||||
}
|
||||
|
||||
public void testKt511() throws Exception {
|
||||
blackBoxFile("regressions/kt511.jet");
|
||||
blackBoxFile("regressions/kt511.kt");
|
||||
// System.out.println(generateToText());
|
||||
}
|
||||
|
||||
public void testInner() throws Exception {
|
||||
blackBoxFile("typeInfo/inner.jet");
|
||||
blackBoxFile("typeInfo/inner.kt");
|
||||
// System.out.println(generateToText());
|
||||
}
|
||||
|
||||
@@ -158,7 +158,7 @@ public class TypeInfoTest extends CodegenTestCase {
|
||||
}
|
||||
|
||||
public void testInheritance() throws Exception {
|
||||
blackBoxFile("typeInfo/inheritance.jet");
|
||||
blackBoxFile("typeInfo/inheritance.kt");
|
||||
// System.out.println(generateToText());
|
||||
}
|
||||
|
||||
|
||||
@@ -95,12 +95,12 @@ public class VarArgTest extends CodegenTestCase {
|
||||
|
||||
public void testKt581() {
|
||||
createEnvironmentWithFullJdk();
|
||||
blackBoxFile("regressions/kt581.jet");
|
||||
blackBoxFile("regressions/kt581.kt");
|
||||
}
|
||||
|
||||
public void testKt797() {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
blackBoxFile("regressions/kt796_797.jet");
|
||||
blackBoxFile("regressions/kt796_797.kt");
|
||||
}
|
||||
|
||||
public void testArrayAsVararg () throws InvocationTargetException, IllegalAccessException {
|
||||
|
||||
Reference in New Issue
Block a user