You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/01/08 08:49:39 UTC

[camel] 04/06: moved test data out of resources

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 95d8f49c87044aff8df9359ead7afa121e395c1d
Author: fvaleri <fv...@localhost>
AuthorDate: Wed Jan 2 18:38:36 2019 +0100

    moved test data out of resources
---
 .../src/{test/resources => }/data/billboard_lyrics_1964-2015.csv        | 0
 .../test/java/org/apache/camel/example/billboard/BillboardAggrTest.java | 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/camel-example-billboard-aggr/src/test/resources/data/billboard_lyrics_1964-2015.csv b/examples/camel-example-billboard-aggr/src/data/billboard_lyrics_1964-2015.csv
similarity index 100%
rename from examples/camel-example-billboard-aggr/src/test/resources/data/billboard_lyrics_1964-2015.csv
rename to examples/camel-example-billboard-aggr/src/data/billboard_lyrics_1964-2015.csv
diff --git a/examples/camel-example-billboard-aggr/src/test/java/org/apache/camel/example/billboard/BillboardAggrTest.java b/examples/camel-example-billboard-aggr/src/test/java/org/apache/camel/example/billboard/BillboardAggrTest.java
index d628154..9d1ff4d 100644
--- a/examples/camel-example-billboard-aggr/src/test/java/org/apache/camel/example/billboard/BillboardAggrTest.java
+++ b/examples/camel-example-billboard-aggr/src/test/java/org/apache/camel/example/billboard/BillboardAggrTest.java
@@ -34,7 +34,7 @@ import org.junit.Test;
 
 public class BillboardAggrTest extends CamelTestSupport {
 
-    private final static String basePath = System.getProperty("user.dir") + "/target/test-classes/data";
+    private final static String basePath = System.getProperty("user.dir") + "/src/data";
 
     @Override
     protected CamelContext createCamelContext() throws Exception {