1 17 18 19 20 package org.apache.lenya.cms; 21 22 import java.io.InputStream ; 23 24 import org.apache.avalon.excalibur.testcase.ExcaliburTestCase; 25 26 public abstract class ExcaliburTest extends ExcaliburTestCase { 27 28 31 public ExcaliburTest(String test) { 32 super(test); 33 } 34 35 public static final String CONFIGURATION = "/" + 36 ExcaliburTest.class.getPackage().getName().replace('.', '/') + "/lenya.xtest"; 37 38 41 protected void prepare() throws Exception { 42 System.out.println(CONFIGURATION); 43 InputStream stream = ExcaliburTest.class.getResourceAsStream(CONFIGURATION); 44 prepare(stream); 45 } 46 47 } 48 | Popular Tags |