All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.javacc.JavaCCTestCase Maven / Gradle / Ivy

There is a newer version: 7.0.13
Show newest version
/**
 *
 */
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/";
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy