1 17 package org.alfresco.util; 18 19 import java.io.File ; 20 21 import junit.framework.TestCase; 22 23 28 public abstract class BaseTest extends TestCase 29 { 30 private String resourcesDir; 31 32 public BaseTest() 33 { 34 this.resourcesDir = System.getProperty("user.dir") + File.separator + "source" + 35 File.separator + "test-resources" + File.separator; 36 } 37 38 public String getResourcesDir() 39 { 40 return this.resourcesDir; 41 } 42 } 43 | Popular Tags |