Do not include test data in classes as it will be included in the final 
camel-core JAR


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/af1dd3ab
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/af1dd3ab
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/af1dd3ab

Branch: refs/heads/json-simple
Commit: af1dd3abd9e5184aaa7eb2df9c32ae75c8c6673c
Parents: 9cc840b
Author: Claus Ibsen <davscl...@apache.org>
Authored: Sun Sep 24 12:23:09 2017 +0200
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Sun Sep 24 12:23:09 2017 +0200

----------------------------------------------------------------------
 .../component/xslt/XsltIncludeClasspathDotInDirectoryTest.java | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/af1dd3ab/camel-core/src/test/java/org/apache/camel/component/xslt/XsltIncludeClasspathDotInDirectoryTest.java
----------------------------------------------------------------------
diff --git 
a/camel-core/src/test/java/org/apache/camel/component/xslt/XsltIncludeClasspathDotInDirectoryTest.java
 
b/camel-core/src/test/java/org/apache/camel/component/xslt/XsltIncludeClasspathDotInDirectoryTest.java
index 3fc2019..48b1552 100644
--- 
a/camel-core/src/test/java/org/apache/camel/component/xslt/XsltIncludeClasspathDotInDirectoryTest.java
+++ 
b/camel-core/src/test/java/org/apache/camel/component/xslt/XsltIncludeClasspathDotInDirectoryTest.java
@@ -43,6 +43,12 @@ public class XsltIncludeClasspathDotInDirectoryTest extends 
ContextTestSupport {
         super.setUp();
     }
 
+    @Override
+    protected void tearDown() throws Exception {
+        deleteDirectory("target/classes/com.mycompany");
+        super.tearDown();
+    }
+
     public void testXsltIncludeClasspath() throws Exception {
         MockEndpoint mock = getMockEndpoint("mock:result");
         mock.expectedMessageCount(1);

Reply via email to