From 46c4f643b41020cd5bf301345f9636cbc9b5fbf1 Mon Sep 17 00:00:00 2001 From: Martin Monperrus Date: Sat, 11 May 2019 09:00:36 +0200 Subject: [PATCH] test: don't save temporary files in ./src --- src/test/java/spoon/test/serializable/SourcePositionTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/spoon/test/serializable/SourcePositionTest.java b/src/test/java/spoon/test/serializable/SourcePositionTest.java index 3dfe6d96f77..b4c35cdb5a9 100644 --- a/src/test/java/spoon/test/serializable/SourcePositionTest.java +++ b/src/test/java/spoon/test/serializable/SourcePositionTest.java @@ -48,7 +48,7 @@ private static void saveFactory(Factory factory, File file) throws IOException { @Test public void testSourcePosition() throws IOException { - File modelFile = new File("./src/test/resources/serialization/model"); + File modelFile = new File("./target/SourcePositionTest-model"); Launcher launcher = new Launcher(); launcher.addInputResource("./src/test/resources/serialization/SomeClass.java"); launcher.buildModel();