aboutsummaryrefslogtreecommitdiffstats
path: root/application-preprocessor
diff options
context:
space:
mode:
Diffstat (limited to 'application-preprocessor')
-rw-r--r--application-preprocessor/src/test/java/com/yahoo/application/preprocessor/ApplicationPreprocessorTest.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/application-preprocessor/src/test/java/com/yahoo/application/preprocessor/ApplicationPreprocessorTest.java b/application-preprocessor/src/test/java/com/yahoo/application/preprocessor/ApplicationPreprocessorTest.java
index d3a39c3b701..ada52031863 100644
--- a/application-preprocessor/src/test/java/com/yahoo/application/preprocessor/ApplicationPreprocessorTest.java
+++ b/application-preprocessor/src/test/java/com/yahoo/application/preprocessor/ApplicationPreprocessorTest.java
@@ -17,12 +17,15 @@ import javax.xml.transform.TransformerException;
public class ApplicationPreprocessorTest {
@Rule
- public TemporaryFolder outputDir;
+ public TemporaryFolder outputDir = new TemporaryFolder();
// Basic test just to check that instantiation and run() works. Unit testing is in config-application-package
@Test
public void basic() throws ParserConfigurationException, TransformerException, SAXException, IOException {
- ApplicationPreprocessor preprocessor = new ApplicationPreprocessor(new File("src/test/resources/simple"), Optional.empty(), Optional.empty(), Optional.empty());
+ ApplicationPreprocessor preprocessor = new ApplicationPreprocessor(new File("src/test/resources/simple"),
+ Optional.of(outputDir.newFolder()),
+ Optional.empty(),
+ Optional.empty());
preprocessor.run();
}