Fixed loading integral constants from compiled classes.

This commit is contained in:
Evgeny Gerashchenko
2014-06-20 17:47:48 +04:00
parent 111feb2574
commit bf442a9700
9 changed files with 125 additions and 1 deletions
@@ -66,6 +66,11 @@ public class CompileKotlinAgainstKotlinTestGenerated extends AbstractCompileKotl
doTest("compiler/testData/compileKotlinAgainstKotlin/ImportObject.A.kt");
}
@TestMetadata("InlinedConstants.A.kt")
public void testInlinedConstants() throws Exception {
doTest("compiler/testData/compileKotlinAgainstKotlin/InlinedConstants.A.kt");
}
@TestMetadata("InnerClass.A.kt")
public void testInnerClass() throws Exception {
doTest("compiler/testData/compileKotlinAgainstKotlin/InnerClass.A.kt");
@@ -2593,6 +2593,11 @@ public class LoadJavaTestGenerated extends AbstractLoadJavaTest {
doTestCompiledKotlin("compiler/testData/loadJava/compiledKotlin/prop/CollectionSize.kt");
}
@TestMetadata("Constants.kt")
public void testConstants() throws Exception {
doTestCompiledKotlin("compiler/testData/loadJava/compiledKotlin/prop/Constants.kt");
}
@TestMetadata("ExtValClass.kt")
public void testExtValClass() throws Exception {
doTestCompiledKotlin("compiler/testData/loadJava/compiledKotlin/prop/ExtValClass.kt");
@@ -1061,6 +1061,11 @@ public class LazyResolveRecursiveComparingTestGenerated extends AbstractLazyReso
doTestCheckingPrimaryConstructorsAndAccessors("compiler/testData/loadJava/compiledKotlin/prop/CollectionSize.kt");
}
@TestMetadata("Constants.kt")
public void testConstants() throws Exception {
doTestCheckingPrimaryConstructorsAndAccessors("compiler/testData/loadJava/compiledKotlin/prop/Constants.kt");
}
@TestMetadata("ExtValClass.kt")
public void testExtValClass() throws Exception {
doTestCheckingPrimaryConstructorsAndAccessors("compiler/testData/loadJava/compiledKotlin/prop/ExtValClass.kt");