KT-1973 added tests.

#KT-1973 Fixed
This commit is contained in:
Evgeny Gerashchenko
2012-10-03 23:08:50 +04:00
parent f33669bc83
commit 22e62c5723
6 changed files with 51 additions and 0 deletions
@@ -135,6 +135,16 @@ public class LoadCompiledKotlinTestGenerated extends AbstractLoadCompiledKotlinT
doTest("compiler/testData/loadKotlin/class/InnerClassExtendInnerClass.kt");
}
@TestMetadata("NamedObject.kt")
public void testNamedObject() throws Exception {
doTest("compiler/testData/loadKotlin/class/NamedObject.kt");
}
@TestMetadata("NamedObjectWithAnotherTopLevelProperty.kt")
public void testNamedObjectWithAnotherTopLevelProperty() throws Exception {
doTest("compiler/testData/loadKotlin/class/NamedObjectWithAnotherTopLevelProperty.kt");
}
@TestMetadata("Trait.kt")
public void testTrait() throws Exception {
doTest("compiler/testData/loadKotlin/class/Trait.kt");
@@ -137,6 +137,16 @@ public class LazyResolveNamespaceComparingTestGenerated extends AbstractLazyReso
doTestSinglePackage("compiler/testData/loadKotlin/class/InnerClassExtendInnerClass.kt");
}
@TestMetadata("NamedObject.kt")
public void testNamedObject() throws Exception {
doTestSinglePackage("compiler/testData/loadKotlin/class/NamedObject.kt");
}
@TestMetadata("NamedObjectWithAnotherTopLevelProperty.kt")
public void testNamedObjectWithAnotherTopLevelProperty() throws Exception {
doTestSinglePackage("compiler/testData/loadKotlin/class/NamedObjectWithAnotherTopLevelProperty.kt");
}
@TestMetadata("Trait.kt")
public void testTrait() throws Exception {
doTestSinglePackage("compiler/testData/loadKotlin/class/Trait.kt");