Changeset 1606 for trunk


Ignore:
Timestamp:
07/11/14 16:17:31 (10 years ago)
Author:
sherbold
Message:
  • fixed test case; can now create result dir
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-plugin-uml-test/src/test/java/de/ugoe/cs/autoquest/plugin/uml/UMLUtilsTest.java

    r1603 r1606  
    5959public class UMLUtilsTest { 
    6060     
    61     private final static String OUTPUT_DIR = "target/tmp/outputs/"; 
     61    private final static String OUTPUT_DIR = "target/tmp/test-outputs/"; 
    6262     
    6363    /** 
     
    159159        resource.getContents().add(model); 
    160160        FileOutputStream fos; 
    161         fos = new FileOutputStream(filename); 
     161        File file = new File(filename); 
     162        file.getParentFile().mkdirs(); 
     163        fos = new FileOutputStream(file); 
    162164        resource.save(fos, null); 
    163165    } 
Note: See TracChangeset for help on using the changeset viewer.