<commit_before>package com.mysema.query.apt;

import static org.junit.Assert.assertTrue;

import java.io.File;
import java.io.IOException;
import java.net.URLClassLoader;
import java.util.ArrayList;
import java.util.List;

import javax.tools.JavaCompiler;

import junit.framework.Assert;

import org.apache.commons.io.FileUtils;
import org.eclipse.jdt.internal.compiler.tool.EclipseCompiler;
import org.junit.Ignore;
import org.junit.Test;

import com.mysema.codegen.SimpleCompiler;

public class EclipseCompilationTest {
    
    private static final String packagePath = "src/test/apt/com/mysema/query/eclipse/";
    
    @Test
//    @Ignore
    public void test() throws IOException{
        System.setProperty("jdt.compiler.useSingleThread", "true");
        // select classes
        List<String> classes = new ArrayList<String>();
        for (File file : new File(packagePath).listFiles()){
            if (file.getName().endsWith(".java")){
                classes.add(file.getPath());
            }
        }
        
        // prepare output<commit_msg>added tests<commit_after>package com.mysema.query.apt;

import static org.junit.Assert.assertTrue;

import java.io.File;
import java.io.IOException;
import java.net.URLClassLoader;
import java.util.ArrayList;
import java.util.List;

import javax.tools.JavaCompiler;

import junit.framework.Assert;

import org.apache.commons.io.FileUtils;
import org.eclipse.jdt.internal.compiler.tool.EclipseCompiler;
import org.junit.Ignore;
import org.junit.Test;

import com.mysema.codegen.SimpleCompiler;

public class EclipseCompilationTest {
    
    private static final String packagePath = "src/test/apt/com/mysema/query/eclipse/";
    
    @Test
    @Ignore
    public void test() throws IOException{
        System.setProperty("jdt.compiler.useSingleThread", "true");
        // select classes
        List<String> classes = new ArrayList<String>();
        for (File file : new File(packagePath).listFiles()){
            if (file.getName().endsWith(".java")){
                classes.add(file.getPath());
            }
        }
        
        // prepare output
{'fraction_non_alphanumeric': 0.11770244821092278, 'fraction_numerical': 0.0, 'mean_word_length': 3.1023166023166024, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6649829', 'n_tokens_mistral': 619, 'n_tokens_neox': 618, 'n_words': 126}