Supported invoke on expressions on js backend

This commit is contained in:
Svetlana Isakova
2014-03-14 17:00:38 +04:00
parent f9ebf217a4
commit f311da3f8f
9 changed files with 147 additions and 40 deletions
@@ -23,11 +23,34 @@ public final class InvokeConventionTest extends AbstractExpressionTest {
}
public void testInvokeMethod() throws Exception {
// TODO uncomment this method to make the test case fail
// fooBoxIsValue("hello world!");
fooBoxIsValue("hello world!");
}
public void testExplicitInvokeLambda() throws Exception {
checkFooBoxIsOk();
}
public void testInvokeOnExprByConvention() throws Exception {
checkFooBoxIsOk();
}
public void testInvokeInExtensionFunctionLiteral() throws Exception {
fooBoxTest();
}
public void testInvokeInFunctionLiteral() throws Exception {
fooBoxTest();
}
public void testInvokeWithReceiverArgument() throws Exception {
fooBoxTest();
}
public void testInvokeWithThisObject() throws Exception {
fooBoxTest();
}
public void testInvokeWithThisObjectAndReceiver() throws Exception {
fooBoxTest();
}
}