@@ -0,0 +1,2216 @@
+package com.jayway.maven.plugins.android.standalonemojos;%0A%0Aimport com.jayway.maven.plugins.android.*;%0Aimport io.takari.maven.testing.TestResources;%0Aimport io.takari.maven.testing.executor.MavenExecutionResult;%0Aimport io.takari.maven.testing.executor.MavenInstallations;%0Aimport io.takari.maven.testing.executor.MavenRuntime;%0Aimport io.takari.maven.testing.executor.MavenVersions;%0Aimport io.takari.maven.testing.executor.junit.MavenJUnitTestRunner;%0Aimport org.junit.Rule;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0A%0Aimport java.io.File;%0A%0A/**%0A * Test the lint mojo. Tests options' default values and parsing. Tests the parameters passed to lint.%0A * %0A * @author St%C3%A9phane Nicolas %3Csnicolas@octo.com%3E%0A * @author Benoit Billington%0A * %0A */%0A@RunWith( MavenJUnitTestRunner.class )%0A@MavenInstallations( %7B%22target/maven-installation/apache-maven-3.2.3%22%7D )%0A@MavenVersions( %7B%223.0.5%22, %223.2.3%22%7D )%0Apublic class LintMojoIntegrationTest%0A%7B%0A    @Rule%0A    public final TestResources resources = new TestResources();%0A%0A    public final MavenRuntime verifier;%0A%0A    public LintMojoIntegrationTest(MavenRuntime.MavenRuntimeBuilder builder)%0A    throws Exception%0A    %7B%0A        this.verifier = builder.withCliOptions( %22-X%22 ).build();%0A    %7D%0A%0A    /**%0A     * Test project with skip lint flag to true%0A     * %0A     * @throws Exception%0A     */%0A    @Test%0A    public void testSkipConfig() throws Exception%0A    %7B%0A        File basedir = resources.getBasedir( %22lint-config-project0%22 );%0A        MavenExecutionResult result = verifier%0A                .forProject(basedir)%0A                .execute( PluginInfo.getQualifiedGoal( %22lint%22 ) );%0A%0A        result.assertErrorFreeLog();%0A%0A        result.assertLogText( %22Skipping lint analysis%22 );%0A    %7D%0A%0A    /**%0A     * Tests execution of Lint%0A     * %0A     * @throws Exception%0A     */%0A    @Test%0A    public void testDefaultUnskippedLintConfig() throws Exception%0A    %7B%0A        File basedir = resources.getBasedir( %22lint-config-project1%22 );%0A        MavenExecutionResult result = verifier%0A                .forProject(basedir)%0A                .execute( PluginInfo.getQualifiedGoal( %22lint%22 ) );%0A%0A        result.assertErrorFreeLog();%0A%0A        result.assertLogText( %22Lint analysis completed successfully%22 );%0A    %7D%0A%0A%7D%0A

Add basic Lint integration tests