39 lines
1.1 KiB
Java
39 lines
1.1 KiB
Java
package org.jetbrains.jet.codegen;
|
|
|
|
/**
|
|
* @author max
|
|
*/
|
|
public class ClosuresGenTest extends CodegenTestCase {
|
|
public void testSimplestClosure() throws Exception {
|
|
blackBoxFile("classes/simplestClosure.jet");
|
|
}
|
|
|
|
public void testSimplestClosureAndBoxing() throws Exception {
|
|
blackBoxFile("classes/simplestClosureAndBoxing.jet");
|
|
}
|
|
|
|
public void testClosureWithParameter() throws Exception {
|
|
blackBoxFile("classes/closureWithParameter.jet");
|
|
}
|
|
|
|
public void testClosureWithParameterAndBoxing() throws Exception {
|
|
blackBoxFile("classes/closureWithParameterAndBoxing.jet");
|
|
}
|
|
|
|
public void testExtensionClosure() throws Exception {
|
|
blackBoxFile("classes/extensionClosure.jet");
|
|
}
|
|
|
|
public void testEnclosingLocalVariable() throws Exception {
|
|
blackBoxFile("classes/enclosingLocalVariable.jet");
|
|
}
|
|
|
|
public void testDoubleEnclosedLocalVariable() throws Exception {
|
|
blackBoxFile("classes/doubleEnclosedLocalVariable.jet");
|
|
}
|
|
|
|
public void testEnclosingThis() throws Exception {
|
|
blackBoxFile("classes/enclosingThis.jet");
|
|
}
|
|
}
|