File tree Expand file tree Collapse file tree
src/test/java/org/apache/camel Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 >
4949 </dependency >
5050
5151 </dependencies >
52-
52+
5353 <build >
5454 <plugins >
5555 <plugin >
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 >
Original file line number Diff line number Diff line change 1212import 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" ;
Original file line number Diff line number Diff line change 1515import java .nio .file .Files ;
1616import 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/" ;
You can’t perform that action at this time.
0 commit comments