JS backend: fix KT-5603 (Multiple catch): add tests

This commit is contained in:
Michael Nedzelsky
2014-10-05 10:14:57 +04:00
parent 1ce3ddaa82
commit b15963d3fb
6 changed files with 168 additions and 0 deletions
@@ -25,4 +25,24 @@ public class TryCatchTest extends AbstractExpressionTest {
public void testTryCatchExpr() throws Exception {
checkFooBoxIsOk();
}
public void testTryCatchThrowable() throws Exception {
checkFooBoxIsOk();
}
public void testTryCatchCorrectForSubclasses() throws Exception {
checkFooBoxIsOk();
}
public void testMultipleCatchBlocks() throws Exception {
checkFooBoxIsOk();
}
public void testTryCatchWithDifferentParameterNames() throws Exception {
checkFooBoxIsOk();
}
public void testRethrowExceptionIfNotCaught() throws Exception {
checkFooBoxIsOk();
}
}