JS/RTTI: Added cast to Array test

This commit is contained in:
Alexey Tsvetkov
2015-06-24 17:31:57 +03:00
committed by Alexey Andreev
parent c99fd179e1
commit a9d5c74ff7
2 changed files with 21 additions and 0 deletions
@@ -41,6 +41,12 @@ public class CastTestGenerated extends AbstractCastTest {
doTest(fileName);
}
@TestMetadata("castToArray.kt")
public void testCastToArray() throws Exception {
String fileName = JetTestUtils.navigationMetadata("js/js.translator/testData/expression/cast/cases/castToArray.kt");
doTest(fileName);
}
@TestMetadata("castToFunction.kt")
public void testCastToFunction() throws Exception {
String fileName = JetTestUtils.navigationMetadata("js/js.translator/testData/expression/cast/cases/castToFunction.kt");