Strabon

changeset 1066:9228a4f5b773

Jenkins debug.
author Panayiotis Smeros <psmeros@di.uoa.gr>
date Mon Apr 22 16:24:30 2013 +0300 (2013-04-22)
parents 82a91860d76d
children 460c3eda76b0
files testsuite/src/test/java/eu/earthobservatory/testsuite/utils/TemplateTest.java
line diff
     1.1 --- a/testsuite/src/test/java/eu/earthobservatory/testsuite/utils/TemplateTest.java	Mon Apr 22 16:13:39 2013 +0300
     1.2 +++ b/testsuite/src/test/java/eu/earthobservatory/testsuite/utils/TemplateTest.java	Mon Apr 22 16:24:30 2013 +0300
     1.3 @@ -48,9 +48,15 @@
     1.4  		
     1.5  		String testname=this.getClass().getSimpleName();
     1.6  		
     1.7 -		String testpackage=this.getClass().getPackage().getName().substring(this.getClass().getPackage().getName().lastIndexOf('.')+1);		
     1.8 +		String testpackage=this.getClass().getPackage().getName().substring(this.getClass().getPackage().getName().lastIndexOf('.')+1);
     1.9  		File testfolder = new File(this.getClass().getResource(File.separator+testpackage+File.separator+testname+File.separator).getPath());
    1.10  		
    1.11 +		if(!testfolder.exists())
    1.12 +		{
    1.13 +			System.out.println("Path string: "+File.separator+testpackage+File.separator+testname+File.separator);
    1.14 +			System.out.println("Path: "+this.getClass().getResource(File.separator+testpackage+File.separator+testname+File.separator).getPath());
    1.15 +			System.out.println("Folder to string: "+testfolder.toString());
    1.16 +		}
    1.17  		String[] files = testfolder.list();
    1.18  		
    1.19  		for(String file : files)