package kalang.test;

import java.io.File;
import java.io.IOException;
import org.junit.Test;

/**
 *
 * @author Kason Yang
 */
public class DebugTest extends JointCompilerTestCase {
    
    public DebugTest() {
    }
    
    @Test
    public void test() throws IOException{
        File debugDir = new File("debug");
        if(debugDir.exists()){
            this.addKalangAndJavaSourceDir(debugDir);
            compile();
        }
    }
    
}

@@ -64,16 +64,58 @@
 eption;%0A
+import kalang.compiler.codegen.Ast2Class;%0A
 import o
@@ -440,16 +440,68 @@
 ugDir);%0A
+            this.setCodeGenerator(new Ast2Class());%0A
         

test ast2class