Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -206,12 +206,15 @@ under the License.
<artifactId>commons-lang3</artifactId>
<version>3.19.0</version>
</dependency>

<!-- test -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
8 changes: 0 additions & 8 deletions src/it/MCHECKSTYLE-129/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,6 @@ under the License.
<version>1.0-SNAPSHOT</version>
<name>checkstyle-new</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
Expand Down
33 changes: 1 addition & 32 deletions src/it/MCHECKSTYLE-129/src/test/java/com/example/AppTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,39 +19,8 @@
* under the License.
*/

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

/**
* Unit test for simple App.
*/

public class AppTest
extends TestCase
{
/**
* Create the test case
*
* @param testName name of the test case
*/
public AppTest( String testName )
{
super( testName );
}

/**
* @return the suite of tests being tested
*/
public static Test suite()
{
return new TestSuite( AppTest.class );
}

/**
* Rigourous Test :-)
*/
public void testApp()
{
assertTrue( true );
}
}
8 changes: 0 additions & 8 deletions src/it/MCHECKSTYLE-131/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,6 @@ under the License.
<version>1.0-SNAPSHOT</version>
<name>Example</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<modules>
<module>module</module>
</modules>
Expand Down
8 changes: 0 additions & 8 deletions src/it/MCHECKSTYLE-99-custom-xref-test-location/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,6 @@ under the License.
<version>1.0-SNAPSHOT</version>
<name>checkstyle-new</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,39 +19,6 @@
* under the License.
*/

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

/**
* Unit test for simple App.
*/
public class AppTest
extends TestCase
public class AppTest
{
/**
* Create the test case
*
* @param testName name of the test case
*/
public AppTest( String testName )
{
super( testName );
}

/**
* @return the suite of tests being tested
*/
public static Test suite()
{
return new TestSuite( AppTest.class );
}

/**
* Rigourous Test :-)
*/
public void testApp()
{
assertTrue( true );
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
report = new File( basedir, 'target/reports/checkstyle.html' )
assert report.exists();
assert report.text.contains( '<a href="./xref/com/example/App.html#L26">' )
assert report.text.contains( '<a href="./custom-xref-test-location/com/example/AppTest.html#L32">' )
assert report.text.contains( '<a href="./custom-xref-test-location/com/example/AppTest.html#L23">' )

return true;
8 changes: 0 additions & 8 deletions src/it/MCHECKSTYLE-99/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,6 @@ under the License.
<version>1.0-SNAPSHOT</version>
<name>checkstyle-new</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
Expand Down
35 changes: 1 addition & 34 deletions src/it/MCHECKSTYLE-99/src/test/java/com/example/AppTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,39 +19,6 @@
* under the License.
*/

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

/**
* Unit test for simple App.
*/
public class AppTest
extends TestCase
public class AppTest
{
/**
* Create the test case
*
* @param testName name of the test case
*/
public AppTest( String testName )
{
super( testName );
}

/**
* @return the suite of tests being tested
*/
public static Test suite()
{
return new TestSuite( AppTest.class );
}

/**
* Rigourous Test :-)
*/
public void testApp()
{
assertTrue( true );
}
}
2 changes: 1 addition & 1 deletion src/it/MCHECKSTYLE-99/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
report = new File( basedir, 'target/reports/checkstyle.html' )
assert report.exists();
assert report.text.contains( '<a href="./xref/com/example/App.html#L26">' )
assert report.text.contains( '<a href="./xref-test/com/example/AppTest.html#L32">' )
assert report.text.contains( '<a href="./xref-test/com/example/AppTest.html#L23">' )

return true;
13 changes: 7 additions & 6 deletions src/it/multi-modules-aggregate/child-b/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,13 @@ under the License.
<version>1.0-SNAPSHOT</version>
<name>multi-modules-child-nosource</name>
<url>http://maven.apache.org</url>

<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.13.4</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
@@ -1,36 +1,10 @@
package org.apache.maven.plugins.checkstyle.its;

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import org.junit.jupiter.api.Test;

/**
* Unit test for simple App.
*/
public class AppTest
extends TestCase
public class AppTest
{
/**
* Create the test case
*
* @param testName name of the test case
*/
public AppTest( String testName )
{
super( testName );
}

/* missing javadoc */
public static Test suite()
{
return new TestSuite( AppTest.class );
}

/**
* Rigourous Test :-)
*/
@Test
public void testApp()
{
assertTrue( true );
}
{}
}
8 changes: 0 additions & 8 deletions src/it/multi-modules/multi-modules-child-nosource/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,4 @@ under the License.
<version>1.0-SNAPSHOT</version>
<name>multi-modules-child-nosource</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -19,34 +19,6 @@
* under the License.
*/

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

/**
* Unit test for simple App.
*/
public class AppTest extends TestCase {
/**
* Create the test case
*
* @param testName name of the test case
*/
public AppTest(String testName) {
super(testName);
}

/**
* @return the suite of tests being tested
*/
public static Test suite() {
return new TestSuite(AppTest.class);
}

/**
* Rigourous Test :-)
*/
public void testApp() {
assertTrue(true);
}
}
public class AppTest
{
}
8 changes: 0 additions & 8 deletions src/it/multi-modules/multi-modules-child/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,6 @@ under the License.
<version>1.0-SNAPSHOT</version>
<name>multi-modules-child</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,34 +19,6 @@
* under the License.
*/

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

/**
* Unit test for simple App.
*/
public class AppTest extends TestCase {
/**
* Create the test case
*
* @param testName name of the test case
*/
public AppTest(String testName) {
super(testName);
}

/**
* @return the suite of tests being tested
*/
public static Test suite() {
return new TestSuite(AppTest.class);
}

/**
* Rigourous Test :-)
*/
public void testApp() {
assertTrue(true);
}
}
public class AppTest
{
}
Loading
Loading