You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by he...@apache.org on 2004/06/14 10:20:15 UTC

cvs commit: ws-axis/contrib/ews/test/org/apache/geronimo/ews AbstractTestCase.java

hemapani    2004/06/14 01:20:15

  Modified:    contrib/ews/test/org/apache/geronimo/ews
                        AbstractTestCase.java
  Log:
  fixed the testcases
  
  Revision  Changes    Path
  1.3       +25 -22    ws-axis/contrib/ews/test/org/apache/geronimo/ews/AbstractTestCase.java
  
  Index: AbstractTestCase.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/contrib/ews/test/org/apache/geronimo/ews/AbstractTestCase.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- AbstractTestCase.java	10 Feb 2004 05:08:48 -0000	1.2
  +++ AbstractTestCase.java	14 Jun 2004 08:20:15 -0000	1.3
  @@ -10,30 +10,33 @@
    * @author <a href="jason@zenplex.com">Jason van Zyl</a>
    */
   public abstract class AbstractTestCase
  -    extends TestCase 
  +	extends TestCase 
   {
  -    /** 
  -     * Basedir for all file I/O. Important when running tests from
  -     * the reactor.
  -     */
  -    public String basedir = System.getProperty("basedir");
  +	protected String testDir = "test/";
  +	protected String sampleDir = "samples/";
  +	protected String outDir = "target/generated/samples/";
  +	/** 
  +	 * Basedir for all file I/O. Important when running tests from
  +	 * the reactor.
  +	 */
  +	public String basedir = System.getProperty("basedir");
       
  -    /**
  -     * Constructor.
  -     */
  -    public AbstractTestCase(String testName)
  -    {
  -        super(testName);
  -    }
  +	/**
  +	 * Constructor.
  +	 */
  +	public AbstractTestCase(String testName)
  +	{
  +		super(testName);
  +	}
       
  -    /**
  -     * Get test input file.
  -     *
  -     * @param path Path to test input file.
  -     */
  -    public String getTestFile(String path)
  -    {
  -        return new File(basedir,path).getAbsolutePath();
  -    }
  +	/**
  +	 * Get test input file.
  +	 *
  +	 * @param path Path to test input file.
  +	 */
  +	public String getTestFile(String path)
  +	{
  +		return new File(basedir,path).getAbsolutePath();
  +	}
   }