<commit_before>/*
 * Copyright Red Hat Inc. and/or its affiliates and other contributors
 * as indicated by the authors tag. All rights reserved.
 *
 * This copyrighted material is made available to anyone wishing to use,
 * modify, copy, or redistribute it subject to the terms and conditions
 * of the GNU General Public License version 2.
 * 
 * This particular file is subject to the "Classpath" exception as provided in the 
 * LICENSE file that accompanied this code.
 * 
 * This program is distributed in the hope that it will be useful, but WITHOUT A
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 * PARTICULAR PURPOSE.  See the GNU General Public License for more details.
 * You should have received a copy of the GNU General Public License,
 * along with this distribution; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 * MA  02110-1301, USA.
 */
package org.eclipse.ceylon.compiler.java.test.issues;

import java.io.File;
import java.util.Arrays;

import org.eclipse.ceylon.compiler.java.test.CompilerError;
import org.eclipse.ceylon.compiler.java.test.CompilerTests;
import org.eclipse.ceylon.model.cmr.JDKUtils;
import org.junit.Assume;
import org.junit.Ignore;
import org.junit.Test;

public class IssuesTests_7000_7499 extends CompilerTests {

    @Override
    protected ModuleWithArtifact getDestModuleWithArtifact(String main){
        return new ModuleWithArtifact("org.eclipse.ceylon.compiler.java.test.issues", "1");
    }
    
    @Override
    protected String transformDestDir(String name) {
        return name + "-7000-7499";
    }

    @Ignore("Works locally, but not in CI, no idea why")
    @Test
    public void bug7015() throws Throwable{
        Assume.assumeTrue("Runs on JDK8", JDKUtils.jdk == JDKUtils.JDK.JDK8
                || JDKUtils.jdk == JDKUtils.JDK.JDK9);
        compileAndRun(defaultOptions,
                "org.eclipse.ceylon.compiler.java.test.issues.bug70xx.bug7015.run",
                new ModuleWithArtifact("org.eclipse.ceylon.compiler.java.test.issues.bug70xx.bug7015", "1"),
                "bug70xx/bug7015/run.ceylon",
                "bug70xx/bug7015/package.ceylon");
        runInJBossModules("org.eclipse.ceylon.compiler.java.test.issues.bug70xx.bug7015/1");
    }

    @Test
    public void bug7027(){
        compileAndRun("org.eclipse.ceylon.compiler.java.test.issues.bug70xx.bug7027",
                "bug70xx/bug7027.ceylon");
    }

    @Test
    public void bug7053(){
        compile("bug70xx/bug7053/run.ceylon");
    }

    @Test
    public void bug7072(){
        compile(Arrays.asList("-overrides", "test/src/org/eclipse/ceylon/compiler/java/test/issues/bug70xx/bug7072/overrides.xml"), 
                "bug70xx/bug7072/run.ceylon");
        assertErrors("bug70xx/bug7072/run", 
                Arrays.asList("-overrides", "test/src/org/eclipse/ceylon/compiler/java/test/issues/bug70xx/bug7072/overrides-bogus.xml"),
                null, 
                new CompilerError(-1, new File("").getAbsolutePath()+"/test/src/org/eclipse/ceylon/compiler/java/test/issues/bug70xx/bug7072/overrides-bogus.xml:9:36: Element 'module > replace' accepts no child element (seen 'with')."));
    }

    @Test
    public void bug7073(){
        compile("bug70xx/bug7073.ceylon");
    }

    @Test
    public void bug7083(){
        compile(Arrays.asList("-fully-export-maven-dependencies"), "bug70xx/bug7083/run.ceylon");
    }

    @Test
    public void bug7090(){
        compileAndRun("org.eclipse.ceylon.compiler.java.test.issues.bug70xx.bug7090",
                "bug70xx/bug7090.ceylon");
    }

    @Test
    public void bug7100(){
        compareWithJavaSource("bug71xx/bug7100");
    }

    @Test
    public void bug7105(){
        compile("bug71xx/bug7105/run.ceylon");
    }

    @Test
    public void bug7112(){
        Assume.assumeTrue("Runs on JDK8", JDKUtils.jdk == JDKUtils.JDK.JDK8
                || JDKUtils.jdk == JDKUtils.JDK.JDK9);
        compareWithJavaSource("bug71xx/bug7112");
        run("org.eclipse.ceylon.compiler.java.test.issues.bug71xx.bug7112");
    }

    @Test
    public void bug7121(){
        compile("bug71xx/bug7121.ceylon");
    }

    @Test
    public void bug7125(){
        compile("bug71xx/Bug7125Java.java", "bug71xx/bug7125.ceylon");
    }

    @Test
    public void bug7382(){
        compareWithJavaSource("bug71xx/Bug7382");
    }

    @Test
    public void bug7186(){
        compareWithJavaSource(Arrays.asList("-ee"), "bug71xx/bug7186.src", "bug71xx/bug7186.ceylon");
    }
}<commit_msg>Fixed filename issue wrt case<commit_after>/*
 * Copyright Red Hat Inc. and/or its affiliates and other contributors
 * as indicated by the authors tag. All rights reserved.
 *
 * This copyrighted material is made available to anyone wishing to use,
 * modify, copy, or redistribute it subject to the terms and conditions
 * of the GNU General Public License version 2.
 * 
 * This particular file is subject to the "Classpath" exception as provided in the 
 * LICENSE file that accompanied this code.
 * 
 * This program is distributed in the hope that it will be useful, but WITHOUT A
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 * PARTICULAR PURPOSE.  See the GNU General Public License for more details.
 * You should have received a copy of the GNU General Public License,
 * along with this distribution; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 * MA  02110-1301, USA.
 */
package org.eclipse.ceylon.compiler.java.test.issues;

import java.io.File;
import java.util.Arrays;

import org.eclipse.ceylon.compiler.java.test.CompilerError;
import org.eclipse.ceylon.compiler.java.test.CompilerTests;
import org.eclipse.ceylon.model.cmr.JDKUtils;
import org.junit.Assume;
import org.junit.Ignore;
import org.junit.Test;

public class IssuesTests_7000_7499 extends CompilerTests {

    @Override
    protected ModuleWithArtifact getDestModuleWithArtifact(String main){
        return new ModuleWithArtifact("org.eclipse.ceylon.compiler.java.test.issues", "1");
    }
    
    @Override
    protected String transformDestDir(String name) {
        return name + "-7000-7499";
    }

    @Ignore("Works locally, but not in CI, no idea why")
    @Test
    public void bug7015() throws Throwable{
        Assume.assumeTrue("Runs on JDK8", JDKUtils.jdk == JDKUtils.JDK.JDK8
                || JDKUtils.jdk == JDKUtils.JDK.JDK9);
        compileAndRun(defaultOptions,
                "org.eclipse.ceylon.compiler.java.test.issues.bug70xx.bug7015.run",
                new ModuleWithArtifact("org.eclipse.ceylon.compiler.java.test.issues.bug70xx.bug7015", "1"),
                "bug70xx/bug7015/run.ceylon",
                "bug70xx/bug7015/package.ceylon");
        runInJBossModules("org.eclipse.ceylon.compiler.java.test.issues.bug70xx.bug7015/1");
    }

    @Test
    public void bug7027(){
        compileAndRun("org.eclipse.ceylon.compiler.java.test.issues.bug70xx.bug7027",
                "bug70xx/bug7027.ceylon");
    }

    @Test
    public void bug7053(){
        compile("bug70xx/bug7053/run.ceylon");
    }

    @Test
    public void bug7072(){
        compile(Arrays.asList("-overrides", "test/src/org/eclipse/ceylon/compiler/java/test/issues/bug70xx/bug7072/overrides.xml"), 
                "bug70xx/bug7072/run.ceylon");
        assertErrors("bug70xx/bug7072/run", 
                Arrays.asList("-overrides", "test/src/org/eclipse/ceylon/compiler/java/test/issues/bug70xx/bug7072/overrides-bogus.xml"),
                null, 
                new CompilerError(-1, new File("").getAbsolutePath()+"/test/src/org/eclipse/ceylon/compiler/java/test/issues/bug70xx/bug7072/overrides-bogus.xml:9:36: Element 'module > replace' accepts no child element (seen 'with')."));
    }

    @Test
    public void bug7073(){
        compile("bug70xx/bug7073.ceylon");
    }

    @Test
    public void bug7083(){
        compile(Arrays.asList("-fully-export-maven-dependencies"), "bug70xx/bug7083/run.ceylon");
    }

    @Test
    public void bug7090(){
        compileAndRun("org.eclipse.ceylon.compiler.java.test.issues.bug70xx.bug7090",
                "bug70xx/bug7090.ceylon");
    }

    @Test
    public void bug7100(){
        compareWithJavaSource("bug71xx/bug7100");
    }

    @Test
    public void bug7105(){
        compile("bug71xx/bug7105/run.ceylon");
    }

    @Test
    public void bug7112(){
        Assume.assumeTrue("Runs on JDK8", JDKUtils.jdk == JDKUtils.JDK.JDK8
                || JDKUtils.jdk == JDKUtils.JDK.JDK9);
        compareWithJavaSource("bug71xx/bug7112");
        run("org.eclipse.ceylon.compiler.java.test.issues.bug71xx.bug7112");
    }

    @Test
    public void bug7121(){
        compile("bug71xx/bug7121.ceylon");
    }

    @Test
    public void bug7125(){
        compile("bug71xx/Bug7125Java.java", "bug71xx/bug7125.ceylon");
    }

    @Test
    public void bug7382(){
        compareWithJavaSource("bug71xx/bug7382");
    }

    @Test
    public void bug7186(){
        compareWithJavaSource(Arrays.asList("-ee"), "bug71xx/bug7186.src", "bug71xx/bug7186.ceylon");
    }
}
{'fraction_non_alphanumeric': 0.11820947414167753, 'fraction_numerical': 0.05627987831377662, 'mean_word_length': 2.9320803075608715, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '4632344', 'n_tokens_mistral': 3237, 'n_tokens_neox': 2885, 'n_words': 622}