Skip to content

Commit d33c386

Browse files
author
Ante Pocedulic
committed
- changed names of jUnit tests due to Baeldung name convenction
1 parent e260879 commit d33c386

3 files changed

Lines changed: 20 additions & 6 deletions

File tree

‎spring-apache-camel/pom.xml‎

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,20 @@
1616
</properties>
1717

1818
<dependencies>
19-
19+
2020
<dependency>
2121
<groupId>junit</groupId>
2222
<artifactId>junit</artifactId>
2323
<version>${junit.version}</version>
2424
<scope>test</scope>
2525
</dependency>
26-
26+
2727
<dependency>
2828
<groupId>org.apache.camel</groupId>
2929
<artifactId>camel-core</artifactId>
3030
<version>${env.camel.version}</version>
3131
</dependency>
32-
32+
3333
<dependency>
3434
<groupId>org.apache.camel</groupId>
3535
<artifactId>camel-spring</artifactId>
@@ -49,7 +49,7 @@
4949
</dependency>
5050

5151
</dependencies>
52-
52+
5353
<build>
5454
<plugins>
5555
<plugin>
@@ -62,6 +62,20 @@
6262
<target>${java.version}</target>
6363
</configuration>
6464
</plugin>
65+
66+
<plugin>
67+
<groupId>org.apache.maven.plugins</groupId>
68+
<artifactId>maven-surefire-plugin</artifactId>
69+
<version>${maven-surefire-plugin.version}</version>
70+
<configuration>
71+
<excludes>
72+
<exclude>**/*IntegrationTest.java</exclude>
73+
</excludes>
74+
<systemPropertyVariables>
75+
<!-- <provPersistenceTarget>h2</provPersistenceTarget> -->
76+
</systemPropertyVariables>
77+
</configuration>
78+
</plugin>
6579
</plugins>
6680
</build>
6781
</project>

spring-apache-camel/src/test/java/org/apache/camel/file/processor/FileProcessorTest.java renamed to spring-apache-camel/src/test/java/org/apache/camel/file/processor/FileProcessorIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import com.baeldung.camel.file.FileProcessor;
1313

1414

15-
public class FileProcessorTest {
15+
public class FileProcessorIntegrationTest {
1616

1717
private static final long DURATION_MILIS = 10000;
1818
private static final String SOURCE_FOLDER = "src/test/source-folder";

spring-apache-camel/src/test/java/org/apache/camel/main/AppTest.java renamed to spring-apache-camel/src/test/java/org/apache/camel/main/AppIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import java.nio.file.Files;
1616
import java.nio.file.Paths;
1717

18-
public class AppTest extends TestCase {
18+
public class AppIntegrationTest extends TestCase {
1919

2020
private static final String FILE_NAME = "file.txt";
2121
private static final String SAMPLE_INPUT_DIR = "src/test/data/sampleInputFile/";

0 commit comments

Comments
 (0)