<commit_before>package me.gladwell.eclipse.m2e.android.test;

import java.io.File;

import org.eclipse.core.resources.IProject;

import com.android.ide.eclipse.adt.AdtConstants;

public class MultiModulePluginTest extends AndroidMavenPluginTestCase {

    private static final String PARENT_PROJECT_NAME = "android-multi-module";
    private static final String CHILD_PROJECT_NAME = "android-child";
    private static final String CHILD_LIBRARY_PROJECT_NAME = "android-child-library";

    @SuppressWarnings("unused")
	private IProject parentProject;
    private IProject childProject;
    private IProject childLibraryProject;

    @Override
    protected void setUp() throws Exception {
        super.setUp();

        parentProject = importAndroidProject(PARENT_PROJECT_NAME);
        childLibraryProject = importAndroidProject(PARENT_PROJECT_NAME + File.separator + CHILD_LIBRARY_PROJECT_NAME);
        childProject = importAndroidProject(PARENT_PROJECT_NAME + File.separator + CHILD_PROJECT_NAME);
    }

    public void testConfigure() throws Exception {
    	assertNoErrors(childLibraryProject);
    	assertNoErrors(childProject);
    }

    public void testConfigureAddsAndroidNature() throws Exception {
        assertTrue("failed to add android nature to child module", childProject.hasNature(AdtConstants.NATURE_DEFAULT));
    }

    @Override
    protected void tearDown() throws Exception {
        deleteAndroidProject(PARENT_PROJECT_NAME);

        parentProject = null;

        try {
            super.tearDown();
        } catch(Throwable t) {
            t.printStackTrace();
        }
    }

}
<commit_msg>Assert parent project has no errors too<commit_after>package me.gladwell.eclipse.m2e.android.test;

import java.io.File;

import org.eclipse.core.resources.IProject;

import com.android.ide.eclipse.adt.AdtConstants;

public class MultiModulePluginTest extends AndroidMavenPluginTestCase {

    private static final String PARENT_PROJECT_NAME = "android-multi-module";
    private static final String CHILD_PROJECT_NAME = "android-child";
    private static final String CHILD_LIBRARY_PROJECT_NAME = "android-child-library";

    @SuppressWarnings("unused")
	private IProject parentProject;
    private IProject childProject;
    private IProject childLibraryProject;

    @Override
    protected void setUp() throws Exception {
        super.setUp();

        parentProject = importAndroidProject(PARENT_PROJECT_NAME);
        childLibraryProject = importAndroidProject(PARENT_PROJECT_NAME + File.separator + CHILD_LIBRARY_PROJECT_NAME);
        childProject = importAndroidProject(PARENT_PROJECT_NAME + File.separator + CHILD_PROJECT_NAME);
    }

    public void testConfigure() throws Exception {
    	assertNoErrors(parentProject);
    	assertNoErrors(childLibraryProject);
    	assertNoErrors(childProject);
    }

    public void testConfigureAddsAndroidNature() throws Exception {
        assertTrue("failed to add android nature to child module", childProject.hasNature(AdtConstants.NATURE_DEFAULT));
    }

    @Override
    protected void tearDown() throws Exception {
        deleteAndroidProject(PARENT_PROJECT_NAME);

        parentProject = null;

        try {
            super.tearDown();
        } catch(Throwable t) {
            t.printStackTrace();
        }
    }

}

{'fraction_non_alphanumeric': 0.07629674306393244, 'fraction_numerical': 0.0006031363088057901, 'mean_word_length': 3.800289435600579, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2775819', 'n_tokens_mistral': 925, 'n_tokens_neox': 894, 'n_words': 193}