JavaCCTestCase.java :  » Parser » javacc » org » javacc » Java Open Source

Java Open Source » Parser » javacc 
javacc » org » javacc » JavaCCTestCase.java
/**
 *
 */
package org.javacc;

import junit.framework.TestCase;

/**
 * An ancestor class to enable transition to a different directory structure.
 *
 * @author timp
 * @since 2 Nov 2007
 *
 */
public abstract class JavaCCTestCase extends TestCase {

  /**
   *
   */
  public JavaCCTestCase() {
    super();
  }

  /**
   * @param name the test name
   */
  public JavaCCTestCase(String name) {
    super(name);
  }

  /**
   * @return the documentation output directory name String relative to the root
   */
  public String getJJDocOutputDirectory() {
    return "www/doc/";
    //return "src/site/resources/";
  }

  /**
   * Where the input jj files are located
   * @return the directory name String relative to the root
   */
  public String getJJInputDirectory() {
    return "src/org/javacc/parser/";
    //return "src/main/javacc/org/javacc/parser/";
  }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.